I suspect Martijn really wants that snippet dynamically generated, with
KWIC, as on the lucenebook.com screen shot.  Thus, he can't generate
and store the snippet at index time, and has to construct it at search
time.

Otis

--- Mike Snare <[EMAIL PROTECTED]> wrote:

> > But for the other issue on 'store lucene' vs 'store db'. Does
> anyone can
> > provide me with some field experience on size?
> > The system I'm developing will provide searching through some 2000
> > pdf's, say some 200 pages each. I feed the plain text into Lucene
> on a
> > Field.UnStored bases. I also store this plain text in the database
> for
> > the sole purpose of presenting a context snippet.
> 
> Why not store the snippet in another field that is stored, but not
> indexed?  You could then immediately retrieve the snippet from the
> doc.  This would only increase your index by num_docs * size_snippet
> and would save the db access time and complexity.
> 
> -Mike
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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

Reply via email to