AnsweredAssumed Answered

Another Lucene searching question...

Question asked by greglenain on Nov 22, 2005
Latest reply on Nov 24, 2005 by andy
To look for a specific document through a given path, I use a query of the form:

PATH:"/app:company_home/cm:someStandardDirectory/cm:*"

where "someStandardDirectory" is the name of a standard folder node (whose namespace has prefix "cm").

But, if I want to drill a user directory, I have to write:

PATH:"/app:company_home/sys:someUserDirectory/cm:*"

where "someUserDirectory" is a user home directory (whose namespace has prefix "sys").

How to get rid of these namespace prefixes?

I tried things such as:
- PATH:"/app:company_home/someDirectory/cm:*"
- PATH:"/app:company_home/*:someDirectory/cm:*"
- PATH:"/app:company_home/*[@alf:name='someDirectory']/cm:*"
But nothing works.

Thanks.

Outcomes