Re: Problem escaping ampersands in HTTP GET

2013-08-13 Thread John Randall
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

Re: Problem escaping ampersands in HTTP GET

2013-08-12 Thread Erik Hatcher
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

Re: Problem escaping ampersands in HTTP GET

2013-08-12 Thread John Randall
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

Re: Problem escaping ampersands in HTTP GET

2013-08-12 Thread Shawn Heisey
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

Problem escaping ampersands in HTTP GET

2013-08-12 Thread John Randall
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.