lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ulrich Mayring <u...@denic.de>
Subject Re: Hierarchical document
Date Mon, 20 Oct 2003 14:50:06 GMT
Tom Howe wrote:
> Hi, 
> I have a very hierarchical document structure where each level of the
> hierarchy contains indexable information.  It looks like this:  
> 
> 		Study -> 
> 			Section -> 
> 				DataFile -> 
> 					Variable.  
> 
> The goal is to create a situation where a user can execute a search at
> any level and the search would include all of the information below it
> in the hierarchy and retrieve the proper aggregated document.

Say, you're on the level of Study/Section, then in indexing add the 
fields "study" and "section" and set them to, say, "true". When 
searching, just search where those two fields are "true".

Ulrich



---------------------------------------------------------------------
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