cancel
Showing results for 
Search instead for 
Did you mean: 

Lucene Search...help!

ajv
Champ in-the-making
Champ in-the-making
Hello,

I try to find all group's with the usr:authorityName property starting with "A".

For this, I go to the Admin Node Browser and my lucene search is:

TYPE:usr\:authorityContainer AND @\usr\:authorityName:GROUP_A*

It retrieves 0 nodes instead of 2. (I have 3 groups: GROUP_Administrator, GROUP_Academy and GROUP_Finance).


If I searching for:
TYPE:usr\:authorityContainer AND @\usr\:authorityName:GROUP_
It retrieves the 3 groups.

Is it wrong? Why?
Thanks a lot,
Adrian.
2 REPLIES 2

andy
Champ on-the-rise
Champ on-the-rise
Hi

This is a bug which was fixed after  the 2.0 release.

Group names are tokenised in your case.

TYPE:usr\:authorityContainer AND @\usr\:authorityName:GROUP and  @\usr\:authorityName:a*

Note the "GROUP" will get tokenised to lower case "group" for the query.

After the bug fix there is one token. It will be case sensitive and it will work as you describe.

If the query parser finds a * it does not do any lower case stuff.

Cheers

Andy

ajv
Champ in-the-making
Champ in-the-making
thanks for your reply!