lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <>
Subject Re: Adding documents in Solr plugin
Date Wed, 19 Jun 2013 22:35:21 GMT
I think this makes sense.  Timothy asked about "update by query" in
the last 24 hours and this sounds like the same thing.

Solr & ElasticSearch Support

On Wed, Jun 19, 2013 at 3:52 AM, Avner Levy <> wrote:
> I have a core with millions of records.
> I want to add a custom handler which scan the existing documents and update one of the
field  (delete and add document) based on a condition (age>12 for example).
> All fields are stored so there is no problem to recreate the document from the search
> I prefer doing it on the Solr server side for avoiding sending millions of documents
to the client and back.
> I'm thinking of writing a solr plugin which will receive a query and update some fields
on the query documents (like the delete by query handler).
> Are existing solutions or better alternatives?
> I couldn't find any examples of Solr plugins which update / add / delete documents (I
don't need to extend the update handler).
> If someone has an example it will be great help.
> Thanks in advance

View raw message