cancel
Showing results for 
Search instead for 
Did you mean: 

FTS and Path query issue

jjacobwip
Champ in-the-making
Champ in-the-making
Hi,

Does anyone know why the below query is pulling documents outside the path specified?

(PATH:"/app:company_home/st:sites/cm:some-site//*" AND world compliance  ) AND -TYPE:"cm:thumbnail" AND -TYPE:"xxyy:raw_article"

I am expecting to get documents only from /app:company_home/st:sites/cm:some-site// but I am getting from other sites as well.

Anything wrong with the query?

Thanks
Jerry
2 REPLIES 2

mitpatoliya
Star Collaborator
Star Collaborator
You cannot put this directly "world compliance" like this do you want text search?
Alfresco do not use AND along with "-" instead of that use "NOT" clause.

Thanks.

I tried encoding the search term and that seems to be returning the expected results now. Never knew that the "search terms" need to be encoded.


(PATH:"/app:company_home/st:sites/cm:some-site//*" AND world_x0020_compliance) AND -TYPE:"cm:thumbnail" AND -TYPE:"xxx:raw_article"


Thanks
Jerry