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