Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Threaded View
Solr, mail # user - Ampersand issue


Copy link to this message
-
Re: Ampersand issue
Ryan McKinley 2012-05-02, 00:59
If your json value is & the proper xml value is &

What is the value you are setting on the stored field?  is is & or &?
On Mon, Apr 30, 2012 at 12:57 PM, William Bell <[EMAIL PROTECTED]> wrote:
> One idea was to wrap the field with CDATA. Or base64 encode it.
>
>
>
> On Fri, Apr 27, 2012 at 7:50 PM, Bill Bell <[EMAIL PROTECTED]> wrote:
>> We are indexing a simple XML field from SQL Server into Solr as a stored field. We have noticed that the & is outputed as &amp; when using wt=XML. When using wt=JSON we get the normal &. If there a way to indicate that we don't want to encode the field since it is already XML when using wt=XML ?
>>
>> Bill Bell
>> Sent from mobile
>>
>
>
>
> --
> Bill Bell
> [EMAIL PROTECTED]
> cell 720-256-8076