Already fixed thanks to Shawn Heisey. Had to URL encode the ampersand and 
semicolon in &



________________________________
From: Erik Hatcher <erik.hatc...@gmail.com>
To: "solr-user@lucene.apache.org" <solr-user@lucene.apache.org> 
Sent: Monday, August 12, 2013 9:06 PM
Subject: Re: Problem escaping ampersands in HTTP GET


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 <jmr...@yahoo.com> 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 normally?
>  
> Thanks in advance.

Reply via email to