cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in combining more than two queries

hemantkpn
Champ in-the-making
Champ in-the-making
Hi,

I am facing problem in combining more than two queries using Lucene.
Actually I have to search for content in a particular folder. e. g. HOME/WORKING/ENGLISH.
This I am able to achieve using following query:
@cm\:name:"mobile" AND PATH:"/app:company_home/cm:HOME/cm:WORKING/cm:ENGLISH/*"

But additionally, I have to find articles which are tagged with a particular tag and are part of the same folder as above. So I tried something like this. 

PATH:"/cm:taggable/cm:MOBILEPHONE/member" OR @cm\:name:"mobile" AND PATH:"/app:company_home/cm:HOME/cm:WORKING/cm:ENGLISH/*"

This is throwing an AxisFault exception.

Any help in resolving this would be highly appreciated.
1 REPLY 1

mitpatoliya
Star Collaborator
Star Collaborator
You should not use the path query to search based on the tag.
For searching based on tag applied.
Please refer following links it will make things more clear to you.

http://wiki.alfresco.com/wiki/Tagging
http://dev.alfresco.com/resource/docs/java/repository/org/alfresco/repo/jscript/Search.html#tagSearc...