lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From karl wettin <karl.wet...@gmail.com>
Subject Re: Hierarchical classified documents
Date Sat, 25 Nov 2006 05:11:04 GMT

25 nov 2006 kl. 04.19 skrev Chris Hostetter:

>
> : This is the simplest thing I could think of:
> :
> :   * store full namespace path as one term: "1/2/3"
> :   * store each namespace identity as on term: "1", "2", "3"
>
> I use the second approach for finding all Docs at a given node or  
> below in
> the tree ... instead of the first appraoch, have a field which just
> contains the specific node (not it's parents)) a Document is  
> located at
> for doing the first type of query you described (at a node, but not  
> below
> it)

Excellent, thank you. I'll go for that.

There is however virtually no cost for me to calculate the full path,  
so I might just experiment with the span query thingy.

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


Mime
View raw message