lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <>
Subject Re: Associating Page Numbers in large documents
Date Sat, 24 Apr 2004 02:23:10 GMT
The "Document" is the granularity of search results, so if you want 
results by page, then a page should correspond to a Document instance.  
I'm not sure you'd need the parent concept except as a field to 
represent the actual document the page comes from if you are indexing 
several multi-page documents.  Unfortunately "document" is far too 
overloaded in the previous sentences.  I think you are onto the right 
approach though.


On Apr 23, 2004, at 12:37 PM, David Black wrote:

> I have a multiple page document and I would like to be able to provide 
> the page number(s) where the "hit" was found.
> I'm thinking that I could index each page separately and have a field 
> that indicates if it's a child (member) of a larger "parent" document 
> and then let manipulate the results to return a single result with the 
> page number(s).
> Is there a better way to approach this?
> Thank You.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message