> -----Original Message-----
> From: Erick Erickson [mailto:[EMAIL PROTECTED] 
> Sent: Freitag, 11. Januar 2008 16:16
> To: java-user@lucene.apache.org
> Subject: Re: Design questions

> But you could also vary this scheme by simply storing in your document
> the offsets for the beginning of each page.

Well, this is the best for my app I think, but...

How do I find out these offsets?

I'm adding the content field with:

IndexWriter#add(new Field("content", myContentReader));

I have no clue how find out the offsets in this reader. Must be something
with an analyzer and a TokenStream?

Thank you


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to