cancel
Showing results for 
Search instead for 
Did you mean: 

Lucene Query String

abirb
Champ in-the-making
Champ in-the-making
I have created a workspace called 'abc' under Company home and have some docs uploaded to that space , I want a query string which will search in that specific location only.

Currently I have the following search query :

spath="'+PATH:\"/app:company_home//*\" '";‍

Which searches all files in the Company home , but when i add 'abc' to it :

spath="'+PATH:\"/app:company_home/abc/*\" '";‍


it does not work !!! ..



Thanks  for any help
3 REPLIES 3

mikeh
Star Contributor
Star Contributor
Try cm:abc

Mike

abirb
Champ in-the-making
Champ in-the-making
Thanks Mike,

Now I changed it to :
spath="'+PATH:\"/app:company_home/cm:abc" + "//*\" + ";‍‍

but the results are still the same as my prev query … Did I make the corrections right ?

- ab

mikeh
Star Contributor
Star Contributor
spath = "+PATH:\"/app:company_home/cm:abc//*\"";‍

You can always test the query in the node browser (by logging on as admin - but remember you don't need to escape the quotes).

Mike