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=" +
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
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"/
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
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
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
, 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
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
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
We use the toString call on the query in our logs. For some numeric types, the
encoded form of the number is being printed instead of the readable form.
This makes tail and some other tools very unhappy...
Here is a partial example of a query.toString() that would have had binary in
it. As a
10 matches
Mail list logo