On Mar 6, 2007, at 9:50 PM, Yonik Seeley wrote:

On 3/6/07, Kaan Erdener <[EMAIL PROTECTED]> wrote:
From what I can see in the logs, these are both invoked after the
commit. However, the query times after a commit are still slow
(around 20 seconds).

Your warming script didn't do any sorts.
Why don't you also show the part of the log with the slow query...
that would make it much easier for people to help.

-Yonik

Right, I had some initially, but Solr threw exceptions. I put them back in just now. Here's an example trying to warm using a sort on field name "subject". I tried query of "allMessageContent:trying;subject+asc" as well as "allMessageContent:trying;subject" (without "+asc") - either way throws an exception. Both are shown below. The generated exception isn't clear (not to me, anyway), and I didn't find any examples of this elsewhere for reference. What's the correct way to specify a sort and direction when setting up a listener?

thanks,
Kaan

<lst> <str name="q">allMessageContent:test;subject+asc</str> <str name="start">0</str> <str name="rows">50</str> </lst>

Mar 6, 2007 11:47:27 PM org.apache.solr.core.SolrCore execute
INFO: rows=50&start=0&q=allMessageContent:test;subject%2Basc 0 4
Mar 6, 2007 11:47:27 PM org.apache.solr.core.QuerySenderListener newSearcher
INFO: QuerySenderListener done.
Mar 6, 2007 11:47:27 PM org.apache.solr.core.SolrException log
SEVERE: java.lang.ArrayIndexOutOfBoundsException: 1
at org.apache.solr.search.QueryParsing.parseSort (QueryParsing.java:189) at org.apache.solr.request.StandardRequestHandler.handleRequest (StandardRequestHandler.java:115)
        at org.apache.solr.core.SolrCore.execute(SolrCore.java:595)
at org.apache.solr.core.QuerySenderListener.newSearcher (QuerySenderListener.java:51)
        at org.apache.solr.core.SolrCore$3.call(SolrCore.java:451)
at java.util.concurrent.FutureTask$Sync.innerRun (FutureTask.java:269)
        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask (ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)

<lst> <str name="q">allMessageContent:test;subject+asc</str> <str name="start">0</str> <str name="rows">50</str> </lst>

Mar 6, 2007 11:51:57 PM org.apache.solr.core.SolrCore execute
INFO: rows=50&start=0&q=allMessageContent:test;subject 0 2
Mar 6, 2007 11:51:57 PM org.apache.solr.core.QuerySenderListener newSearcher
INFO: QuerySenderListener done.
Mar 6, 2007 11:51:57 PM org.apache.solr.core.SolrException log
SEVERE: java.lang.ArrayIndexOutOfBoundsException: 1
at org.apache.solr.search.QueryParsing.parseSort (QueryParsing.java:189) at org.apache.solr.request.StandardRequestHandler.handleRequest (StandardRequestHandler.java:115)
        at org.apache.solr.core.SolrCore.execute(SolrCore.java:595)
at org.apache.solr.core.QuerySenderListener.newSearcher (QuerySenderListener.java:51)
        at org.apache.solr.core.SolrCore$3.call(SolrCore.java:451)
at java.util.concurrent.FutureTask$Sync.innerRun (FutureTask.java:269)
        at java.util.concurrent.FutureTask.run(FutureTask.java:123)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask (ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)



Confidentiality Notice: This e-mail message (including any attached or
embedded documents) is intended for the exclusive and confidential use of the
individual or entity to which this message is addressed, and unless otherwise
expressly indicated, is confidential and privileged information of Rackspace
Managed Hosting. Any dissemination, distribution or copying of the enclosed
material is prohibited. If you receive this transmission in error, please
notify us immediately by e-mail at [EMAIL PROTECTED], and delete the
original message. Your cooperation is appreciated.

Reply via email to