Re: Interesting issue with "special characters" in a string field value

2013-02-24 Thread Jack Park
I did run attempt queries with and without escaping at the admin query browser; made no difference. I seem to recall that the system did not work without escaping, but it does seem worth blocking escaping and testing again. Many thanks Jack On Sun, Feb 24, 2013 at 1:16 PM, Michael Della Bitta wr

Re: Interesting issue with "special characters" in a string field value

2013-02-24 Thread Michael Della Bitta
Hello Jack, I'm not sure if this is an option for you, but if you submit and retrieve your documents using only SolrJ, you won't have to worry about escaping them for encoding into a particular document format. SolrJ would handle that for you. Michael Della Bitta

Re: Interesting issue with "special characters" in a string field value

2013-02-23 Thread Jack Park
Ok. I have revisited this issue as deeply as possible using simplistic unit tests, tossing out indexes, and starting fresh. A typical Solr document might have a label, e.g. the string inside the quotes: "Node Type". That would be queried, according to what I've been able to read, as a Phrase Quer

Re: Interesting issue with "special characters" in a string field value

2013-02-22 Thread Jack Park
Michael, I don't think you misunderstood. I will soon give a full response here, but am on the road at the moment. Many thanks Jack On Friday, February 22, 2013, Michael Della Bitta < michael.della.bi...@appinions.com> wrote: > My mistake, I misunderstood the problem. > > Michael Della Bitta > >

Re: Interesting issue with "special characters" in a string field value

2013-02-22 Thread Michael Della Bitta
My mistake, I misunderstood the problem. Michael Della Bitta Appinions 18 East 41st Street, 2nd Floor New York, NY 10017-6271 www.appinions.com Where Influence Isn’t a Game On Fri, Feb 22, 2013 at 3:55 PM, Chris Hostetter wrote: > > : If you'r

Re: Interesting issue with "special characters" in a string field value

2013-02-22 Thread Chris Hostetter
: If you're submitting documents as XML, you're always going to have to : escape meaningful XML characters going in. If you ask for them back as : XML, you should be prepared to unescape special XML characters as that still wouldn't explain the discrepency he's claiming to see between the json &

Re: Interesting issue with "special characters" in a string field value

2013-02-22 Thread Michael Della Bitta
Hi Jack, If you're submitting documents as XML, you're always going to have to escape meaningful XML characters going in. If you ask for them back as XML, you should be prepared to unescape special XML characters as output. Same goes for JSON, etc. There's really no way around this... it's just a

Interesting issue with "special characters" in a string field value

2013-02-22 Thread Jack Park
I have a multi-value stored field called "details" I've been deliberately sending it values like If I fetch a document with that field at the admin query console, using XML, I get: If I fetch with JSON, I get: "details": [ "" ], Even more curious, if I