What about using PhraseQuery, and store the path with all but first path separator replaced by whitespace (i.e. "/foo bar baz one two three"). Then you could query for "/foo bar", "/foo bar baz", and so on...
Hi,
It doesn't seem to work though - unless I'm missing something.
I've tried to index the field both as Keyword and as UnStored.
I'm constructing a PhraseQuery myself (no query parser used), so I don't know if I should add a single or multiple terms to the PhraseQuery.
The following (simplified) debug output gives no hits:
ADDING: Document<[EMAIL PROTECTED] Keyword<name:art> Keyword<uri:/dt art>>
SEARCHING: +(name:art) +uri:"/dt "
-dennis
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
