lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <ian....@gmail.com>
Subject Re: Holding and changing index wide information
Date Thu, 22 Jul 2010 12:35:49 GMT
Just add/update a dedicated document in the index.

k=updatenumber
v=whatever.

Retrieve it with a search for k:updatenumber, update with
iw.updateDocument(whatever).


--
Ian.


On Thu, Jul 22, 2010 at 12:55 PM,  <jan.kurella@nokia.com> wrote:
> Hi,
>
> When using incremental updating via Solr, we want to know, which update is in the current
index. Each update has a number.
> How can we store/change/retrieve this number with the index. We want to store it in the
index to replicate it to any slaves as well.
>
> So basically can I store/change/retrieve a number index wide in lucen/Solr?
>
> Jan
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message