AnsweredAssumed Answered

lucene query not work

Question asked by scot84 on Apr 22, 2013
Latest reply on Apr 23, 2013 by scot84
I made a query to search a space that have a custom attribute named "office".
I want to made a 'like' query.

The value of attribute of the node in the repository is "SALES DEPARTMENT".

If I search with this query:
PATH:"/app:company_home/cm:Prat/*/*" AND TYPE:"{custom.model}prat" AND @custom\:office:*SAL*

RETURN  1 ROW

PATH:"/app:company_home/cm:Prat/*/*" AND TYPE:"{custom.model}prat" AND @custom\:office:*SALES*

RETURN 0 ROW

PATH:"/app:company_home/cm:Prat/*/*" AND TYPE:"{custom.model}prat" AND @custom\:office:*SALES DEPARTMENT*

RETURN 0 ROW

I have tried also without '*' but with no luck.
What i'm wrong !!!!

Outcomes