Already fixed thanks to Shawn Heisey. Had to URL encode the ampersand and
semicolon in &
From: Erik Hatcher
To: "solr-user@lucene.apache.org"
Sent: Monday, August 12, 2013 9:06 PM
Subject: Re: Problem escaping ampersands in HTTP GET
How ar
How are you indexing documents?
You need to either URL encode things or XML encode, sounds like.
Erik
On Aug 12, 2013, at 14:49, John Randall wrote:
> I am using an HTTP GET to add docs to Solr. All the docs load fine as long as
> none contain an ampersand. I get a syntax error when a doc
Beautiful! It worked. Thanks so much.
From: Shawn Heisey
To: solr-user@lucene.apache.org
Sent: Monday, August 12, 2013 3:12 PM
Subject: Re: Problem escaping ampersands in HTTP GET
On 8/12/2013 12:49 PM, John Randall wrote:
> I am using an HTTP GET to
On 8/12/2013 12:49 PM, John Randall wrote:
I am using an HTTP GET to add docs to Solr. All the docs load fine as long as none contain an
ampersand. I get a syntax error when a doc contains a field, for example, with the phrase
"Jack & Jill".
How can I escape the ampersand so that the doc loads
I am using an HTTP GET to add docs to Solr. All the docs load fine as long as
none contain an ampersand. I get a syntax error when a doc contains a field,
for example, with the phrase "Jack & Jill".
How can I escape the ampersand so that the doc loads normally?
Thanks in advance.