RE: Query.toString printing binary in the output...

2013-03-20 Thread Andrew Lundgren
riginal Message- From: Jack Krupansky [mailto:j...@basetechnology.com] Sent: Tuesday, March 19, 2013 5:20 PM To: solr-user@lucene.apache.org Subject: Re: Query.toString printing binary in the output... Did you try QueryParsing.toString? As in: logger.info("db retrieve time=" +

Re: Query.toString printing binary in the output...

2013-03-19 Thread Jack Krupansky
nal Message- From: Andrew Lundgren Sent: Tuesday, March 19, 2013 11:52 AM To: solr-user@lucene.apache.org Subject: RE: Query.toString printing binary in the output... Thank you for clarifying. The logging line is this: logger.info("db retrieve time=" + (System.currentTimeMillis() - st

Re: Query.toString printing binary in the output...

2013-03-19 Thread Jack Krupansky
Lundgren Sent: Tuesday, March 19, 2013 12:08 PM To: solr-user@lucene.apache.org Subject: RE: Query.toString printing binary in the output... This is perhaps more clear: Assuming you have a schema where: required="true" omitTermFreqAndPositions="true"/

Re: Query.toString printing binary in the output...

2013-03-19 Thread Erick Erickson
uery. > > So some clarification would be helpful... > > Best > Erick > > > On Mon, Mar 18, 2013 at 12:01 PM, Andrew Lundgren < > lundg...@familysearch.org > > wrote: > > > I am sorry, I don't follow what you mean by debug=query. Can you > > elabor

RE: Query.toString printing binary in the output...

2013-03-19 Thread Andrew Lundgren
k Erickson [mailto:erickerick...@gmail.com] Sent: Monday, March 18, 2013 7:55 PM To: solr-user@lucene.apache.org Subject: Re: Query.toString printing binary in the output... If you simply attach &debug=all to your URL, you should see the query come back in your response, XML, JSON, whatever. If that

RE: Query.toString printing binary in the output...

2013-03-19 Thread Andrew Lundgren
in in the non-readable format when toString is called. (Perhaps we should be using something other than readableToIndexed?) Thanks! -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: Monday, March 18, 2013 7:55 PM To: solr-user@lucene.apache.org Subject: Re: Q

Re: Query.toString printing binary in the output...

2013-03-18 Thread Erick Erickson
, March 17, 2013 8:09 AM > To: solr-user@lucene.apache.org > Subject: Re: Query.toString printing binary in the output... > > Hmmm, without looking at the code, somehow when you specify debug=query > you get readable results, maybe that code would be a place to start? > > And are

RE: Query.toString printing binary in the output...

2013-03-18 Thread Andrew Lundgren
I am sorry, I don't follow what you mean by debug=query. Can you elaborate on that a bit? Thanks! -Original Message- From: Erick Erickson [mailto:erickerick...@gmail.com] Sent: Sunday, March 17, 2013 8:09 AM To: solr-user@lucene.apache.org Subject: Re: Query.toString printing b

Re: Query.toString printing binary in the output...

2013-03-17 Thread Erick Erickson
Hmmm, without looking at the code, somehow when you specify debug=query you get readable results, maybe that code would be a place to start? And are you looking for the parsed output? Otherwise you could print original query. Not much help Erick On Fri, Mar 15, 2013 at 3:24 PM, Andrew Lundg