lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Quail <m...@ctx.com.au>
Subject Re: PrefixQuery and hieracical queries problem
Date Fri, 19 Mar 2004 12:40:10 GMT
Dennis Thrys√łe wrote:
> The only alternative I can think of would be to store a whitespace 
> seperated list of all ancestors along with a document:
> 
> /foo /foo/bar /foo/bar/baz

I think you will find that this kind of approach works very well (as it 
has for me). But instead of adding one field named "path" with 
space-seperated values, just add multiple "path" fields to the one document.

=Matt

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-user-help@jakarta.apache.org


Mime
View raw message