lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jimi Hullegård <>
Subject RE: Frequently updated fields
Date Fri, 12 Sep 2008 12:28:09 GMT
> -----Original Message-----
> From: Wojciech Strzałka []
> Sent: den 12 september 2008 13:58
> To:
> Subject: Frequently updated fields
> Hi.
>    I'm new to Lucene and I would like to get a few answers (they can
>    be lame)
>    I want to index large amount of emails using Lucene (maybe
> SOLR), not only
>    the contents but also some metadata like state or flags. The
>    problem is that the metadata will change during mail lifecycle,
>    although much smaller updating this information will require
>    reindex the whole mail content which I see performance bottleneck.
>    I have the data in DB also so my first question is:
>    - are there any best practices to implement my needs (querying both
>    lucene & DB and then merging in memory?, close one eye and re-index
>    the whole content on every metadata change? others?)

Maybe two separate Lucene indexes? Then you can have the data not changed often in one index,
and all other data in the other index.
Or splitting one single mail into multiple documents, in the same regard.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message