Hi Dipti, If you are receiving the JSON within your Java code, you can try any library, like- GSON [1] to manipulate JSON before sending it to Solr.
- Anuj 1. http://code.google.com/p/google-gson/ On Mon, Dec 19, 2011 at 11:54 PM, Dipti Srivastava < dipti.srivast...@apollogrp.edu> wrote: > Hi, > I am using HTTP and json to add my documents to Solr. Now, I have defined > a special field in the Solr schema which defines what type of document that > is being added. This field needs to be inserted into the json doc that I > receive from my caller. Is there a way to do this? > > Thanks! > Dipti > > ________________________________ > This message is private and confidential. If you have received it in > error, please notify the sender and remove it from your system. > >