lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhys J <rhyssha...@gmail.com>
Subject Re: updating documents via csv
Date Tue, 17 Dec 2019 18:59:27 GMT
On Mon, Dec 16, 2019 at 11:58 PM Paras Lehana <paras.lehana@indiamart.com>
wrote:

> Hi Rhys,
>
> I use CDATA for XMLs:
>
> <field name1="title" update="set">   <![CDATA[NORTH AMERICAN INT'L]]>
>  </field>
>
> There should be a similar solution for JSON though I couldn't find the
> specific one on the internet. If you are okay to use XMLs for indexing, you
> can use this.
>
>
We are set on using json, but I figured out how to handle the single quote.

If i use curl " and then single quotes inside, I can escape the single
quote in the field with no problem.

Thanks for the help!

Rhys

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message