lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dragon Fly <dragon-fly...@hotmail.com>
Subject RE: Read all the data from an index
Date Thu, 30 Oct 2008 20:25:26 GMT
I'll double check but I believe all the fields in my index are stored.  Should I just loop
using indexSearcher.doc() or is there a faster way? Thanks.

> Date: Thu, 30 Oct 2008 16:09:47 -0400
> From: erickerickson@gmail.com
> To: java-user@lucene.apache.org
> Subject: Re: Read all the data from an index
> 
> Well, that's trickier than you might think. You can easily get
> all the STORED data just by getting doc IDs 1-MaxDoc(). But
> reconstructing the data from data that is NOT stored is more
> difficult. Luke tries, but it may be a lossy process.
> 
> Best
> Erick
> 
> On Thu, Oct 30, 2008 at 3:24 PM, Dragon Fly <dragon-fly999@hotmail.com>wrote:
> 
> > Hi,
> >
> > I have an old index that was built a few months ago.  The data that I used
> > to build the index has been deleted from the database.  I'd like to read all
> > the data from the old index to build a new index.  Which Lucene API calls
> > should I use to read all the data from the old index? Thank you in advance
> > for your help.
> >
> > _________________________________________________________________
> > When your life is on the go—take your life with you.
> > http://clk.atdmt.com/MRT/go/115298558/direct/01/

_________________________________________________________________
Stay organized with simple drag and drop from Windows Live Hotmail.
http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_102008
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message