e 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 cont
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
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.
I'll probably move to Solr 4.x, so I'm going to try a plugin instead. Thanks
for you insights.
From: Shawn Heisey
To: solr-user@lucene.apache.org
Sent: Thursday, July 11, 2013 6:28 PM
Subject: Re: POST question
On 7/11/2013 4:12 PM, John Randall
I'll try the plugin. Thanks.
From: Roland Villemoes
To: "solr-user@lucene.apache.org" ; John Randall
Sent: Thursday, July 11, 2013 6:21 PM
Subject: RE: POST question
Hi John,
You can't make a browser to a HTTP POST by adding a URL i
I want to use a browser and use HTTP POST to add a single document (not a file)
to Solr. I don't want to use cURL. I've made several attempts, such as the
following:
http://localhost:8080/solr/update?commit=true&stream.type=text/xml&;61234567WAR OF THE
WORLDSdoc>
I get following message whi
n 7/8/2013 4:43 PM, John Randall wrote:
> I'm new to Solr, so I'm probably missing something. So far I've successfully
> indexed .xml docs with low Ascii chars. However when I try to add a doc that
> has Latin1 chars with diacritics, it fails. I've tried using the Jetty
I tried that. It didn't work. I forgot to mention in my first email that I'm
using Solr 3.6. Would that make a difference?
From: Jack Krupansky
To: solr-user@lucene.apache.org; John Randall
Sent: Monday, July 8, 2013 7:22 PM
Subject: Re: Indexing
I'm new to Solr, so I'm probably missing something. So far I've successfully
indexed .xml docs with low Ascii chars. However when I try to add a doc that
has Latin1 chars with diacritics, it fails. I've tried using the Jetty
exampledocs post.jar, as well as using curl and directly from a browser