Lucene Query String

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2008 01:32 AM
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 :
Which searches all files in the Company home , but when i add 'abc' to it :
it does not work !!! ..
Thanks for any help
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
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2008 03:38 AM
Try cm:abc
Mike
Mike

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2008 04:34 AM
Thanks Mike,
Now I changed it to :
but the results are still the same as my prev query … Did I make the corrections right ?
- ab
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2008 04:48 AM
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
