If I understand it right, you want the json to only the new fields and not the field that has already been indexed/stored.
Check out Solr Atomic updates. Below are some links which might help. http://wiki.apache.org/solr/Atomic_Updates http://yonik.com/solr/atomic-updates/ Remember, it requires the fields to be stored. On Tue, Feb 5, 2013 at 12:35 PM, anurag.jain <anurag.k...@gmail.com> wrote: > i already indexing 1800000 data in solr index. all files were in json > format. > > so data was like - > > [ > { > "id":1, > "first_name":"anurag", > "last_name":"jain", > ... > }, > > { > "id":2, > "first_name":"abhishek", > "last_name":"jain", > ... > }, ... > ] > > > now i have to add a field in data like > > > > [ > { > "id":1, > "first_name":"anurag", > "last_name":"jain", > "new_field":"xvz", > ... > }, > > { > "id":2, > "first_name":"abhishek", > "last_name":"jain", > "new_field":"xvz", > ... > }, ... > ] > > > but i want that : > my json file like that > [ > { > "id":1, > "new_field":"xvz" > }, > { > "id":2, > "new_field":"xvz" > } > ] > > so it automatically update in solr like this file is doing. > > [ > { > "id":1, > "first_name":"anurag", > "last_name":"jain", > "new_field":"xvz", > ... > }, > > { > "id":2, > "first_name":"abhishek", > "last_name":"jain", > "new_field":"xvz", > ... > }, ... > ] > > > > any solutions ? please reply > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Updating-data-tp4038492.html > Sent from the Solr - User mailing list archive at Nabble.com. >