I solved this:

https://issues.apache.org/jira/browse/SOLR-4685

To get the field in there from XMl to JSON:

https://issues.apache.org/jira/browse/SOLR-4692

EnjoY!


On Wed, May 22, 2013 at 6:03 PM, Karthick Duraisamy Soundararaj <
karthick.soundara...@gmail.com> wrote:

> Hello all,
>                 I am facing a need to store and retrieve json string in a
> field.
>
> eg.  Imagine a schema like below.
> [Please note that this is just an example but not actual specification.]
>
>  <str name="carName" type="string" indexed="true" stored="false">
>  <str name="carDescription" type="string" indexed="false" stored="false">
>
> carDescription is a json string . An example would be
>    { "model":1988 "type":"manual"}
>
> I dont need to search on the carDescription. I want to store some json data
> and retreive. When i feed json data to carDescription field through DIH,
>  the response for the query is like below
>
>    {\ "model\":1988 \"type\":\"manual\"}
>
> All the quotes are escaped. I dont want this. I want the original
> unmodified data. Is there a way to do this?
>
> Thanks,
> Karthick
>



-- 
Bill Bell
billnb...@gmail.com
cell 720-256-8076

Reply via email to