lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: retrieve tokens
Date Wed, 22 Dec 2004 18:41:29 GMT
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 <mikesnare@gmail.com> 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: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
> 
> 


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