Re: Adding metadata to Lucene indexes?

2011-11-04 Thread Francisco A. Lozano
Thank you :) this is very useful. Until today I maintained a "metadata" key=>value text file inside the lucene directories, but this feature looks better. Francisco A. Lozano On Fri, Nov 4, 2011 at 08:39, Uwe Schindler wrote: > You can read the Map without opening an IndexReader just by a sta

RE: Adding metadata to Lucene indexes?

2011-11-04 Thread Uwe Schindler
-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: Uwe Schindler [mailto:u...@thetaphi.de] > Sent: Friday, November 04, 2011 8:31 AM > To: java-user@lucene.apache.org > Subject: RE: Adding metadata to Lucene indexes? > > It must be p

RE: Adding metadata to Lucene indexes?

2011-11-04 Thread Uwe Schindler
o: java-user@lucene.apache.org > Subject: Re: Adding metadata to Lucene indexes? > > This metadata Map needs to be written on every commit, or if I just use plain > commit() without the Map<> it keeps the old values? > > > Francisco A. Lozano > > > > On Thu, Nov 3, 201

Re: Adding metadata to Lucene indexes?

2011-11-03 Thread Francisco A. Lozano
ndexReader. >>> >>> - >>> Uwe Schindler >>> H.-H.-Meier-Allee 63, D-28213 Bremen >>> http://www.thetaphi.de >>> eMail: u...@thetaphi.de >>> >>>> -Original Message- >>>> From: Ian Lea [mailto:ian@

Re: Adding metadata to Lucene indexes?

2011-11-03 Thread Greg Bowyer
e 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de -Original Message- From: Ian Lea [mailto:ian@gmail.com] Sent: Thursday, November 03, 2011 4:05 PM To: java-user@lucene.apache.org Subject: Re: Adding metadata to Lucene indexes? You could add a dedicated document to the index storing

Re: Adding metadata to Lucene indexes?

2011-11-03 Thread Jochen
riginal Message- From: Ian Lea [mailto:ian@gmail.com] Sent: Thursday, November 03, 2011 4:05 PM To: java-user@lucene.apache.org Subject: Re: Adding metadata to Lucene indexes? You could add a dedicated document to the index storing whatever you want. There is no requirement for lucene doc

RE: Adding metadata to Lucene indexes?

2011-11-03 Thread Uwe Schindler
om: Ian Lea [mailto:ian@gmail.com] > Sent: Thursday, November 03, 2011 4:05 PM > To: java-user@lucene.apache.org > Subject: Re: Adding metadata to Lucene indexes? > > You could add a dedicated document to the index storing whatever you want. > There is no requirement for lucene docs

Re: Adding metadata to Lucene indexes?

2011-11-03 Thread Ian Lea
You could add a dedicated document to the index storing whatever you want. There is no requirement for lucene docs to bear any relation to each other. -- Ian. On Wed, Nov 2, 2011 at 10:09 AM, Jochen wrote: > Hi, > > is it possible to add metadata to a Lucene index (not to the indivudual > Fie