lucene query issue

Posted by Sunil on Stack Overflow See other posts from Stack Overflow or by Sunil
Published on 2009-09-16T07:19:05Z Indexed on 2010/04/03 22:03 UTC
Read the original article Hit count: 343

Filed under:
|

I am using Lucene with Alfresco. Here is my query:

( TYPE:"{com.company.customised.content.model}test"  &&  (@\{com.company.customised.content.model\}testNo:111 && (@\{com.company.customised.content.model\}skill:or))

I have to search documents which are having property skill of value "or". The above query is not giving any results (I am getting failed to parse query).

If I use the query up until testNo (ignoring skill), I am getting proper results:

 ( TYPE:"{com.company.customised.content.model}test"  &&  (@\{com.company.customised.content.model\}testNo:111))

Can you please help me?

Thanks

© Stack Overflow or respective owner

Related posts about lucene

Related posts about alfresco