Re: Partial results with not enough hits

2012-11-22 Thread Aleksey Vorona
the first result is high and then each additional document is a minimal increment in time. Do a query with rows=1 (or even 0) and see what the minimum query time is for your query, index, and environment. -- Jack Krupansky -Original Message- From: Aleksey Vorona Sent: Wednesday, November 21

Re: Partial results with not enough hits

2012-11-22 Thread Aleksey Vorona
Monitoring - http://sematext.com/spm On Nov 21, 2012 6:04 PM, Aleksey Vorona avor...@ea.com wrote: In all of my queries I have timeAllowed parameter. My application is ready for partial results. However, whenever Solr returns partial result it is a very bad result. For example, I have a test query

Partial results with not enough hits

2012-11-21 Thread Aleksey Vorona
In all of my queries I have timeAllowed parameter. My application is ready for partial results. However, whenever Solr returns partial result it is a very bad result. For example, I have a test query and here its execution log with the strict time allowed: WARNING: Query: omitted; Elapsed

All-wildcard query performance

2012-11-19 Thread Aleksey Vorona
Hi, Our application sometimes generates queries with one of the constraints: field:[* TO *] I expected this query performance to be the same as if we omitted the field constraint completely. However, I see the performance of the two queries to differ drastically (3ms without all-wildcard

Re: Solr Replication and Autocommit

2012-09-27 Thread Aleksey Vorona
Thank both of you for the responses! -- Aleksey On 12-09-27 03:51 AM, Erick Erickson wrote: I'll echo Otis, nothing comes to mind... Unless you were indexing stuff to the _slaves_, which you should never do, now or in the past Erick On Thu, Sep 27, 2012 at 12:00 AM, Aleksey Vorona avor

Solr Replication and Autocommit

2012-09-26 Thread Aleksey Vorona
Hi, I remember having some issues with replication and autocommit previously. But now we are using Solr 3.6.1. Are there any known issues or any other reasons to avoid autocommit while using replication? I guess not, just want confirmation from someone confident and competent. -- Aleksey

Search by field with the space in it

2012-09-19 Thread Aleksey Vorona
Hi, I have a field with space in its name (that is a dynamic field). How can I execute search on it? I tried q=aattr_box%20%type_sc:super and it did not work The field name is aattr_box type -- Aleksey

Re: Search by field with the space in it

2012-09-19 Thread Aleksey Vorona
On 12-09-19 11:04 AM, Ahmet Arslan wrote: I have a field with space in its name (that is a dynamic field). How can I execute search on it? I tried q=aattr_box%20%type_sc:super and it did not work The field name is aattr_box type How about q=aattr_box\ type_sc:super That works! Thank you!

Re: Search by field with the space in it

2012-09-19 Thread Aleksey Vorona
to, but I predict you'll regret if if you don't G. Best Erick On Wed, Sep 19, 2012 at 2:11 PM, Aleksey Vorona avor...@ea.com wrote: On 12-09-19 11:04 AM, Ahmet Arslan wrote: I have a field with space in its name (that is a dynamic field). How can I execute search on it? I tried q=aattr_box%20

Re: Solr not allowing persistent HTTP connections

2012-09-06 Thread Aleksey Vorona
Thank you. I did the test with curl the same way you did it and it works. I still can not get ab (apache benchmark) to reuse connections to solr. I'll investigate this further. $ ab -c 1 -n 100 -k 'http://localhost:8983/solr/select?q=*:*' | grep Alive Keep-Alive requests:0 -- Aleksey On

Solr not allowing persistent HTTP connections

2012-09-05 Thread Aleksey Vorona
Hi, Running example Solr from the 3.6.1 distribution I can not make it to keep persistent HTTP connections: $ ab -c 1 -n 100 -k 'http://localhost:8983/solr/select?q=*:*' | grep Keep-Alive Keep-Alive requests:0 What should I change to fix that? P.S. We have the same issue in production

Re: Solr not allowing persistent HTTP connections

2012-09-05 Thread Aleksey Vorona
. Assume close to signal end ?xml version=1.0 encoding=UTF-8? response ...removed the rest of the response body... -- Aleksey On 12-09-05 03:54 PM, Aleksey Vorona wrote: Hi, Running example Solr from the 3.6.1 distribution I can not make it to keep persistent HTTP connections: $ ab -c 1 -n 100

Re: Solr and query abortion

2012-08-31 Thread Aleksey Vorona
of the tuning knobs before jumping to a solution. Also be aware that the first time, for instance, a sort gets performed there's a lengthy hit for warming the caches so you should disregard the first few queries, or do appropriate autowarming. Best Erick On Wed, Aug 29, 2012 at 1:26 PM, Aleksey Vorona

Re: Null Pointer Exception on DIH with MySQL

2012-08-30 Thread Aleksey Vorona
of the previous binaries. -- Aleksey On 12-08-29 06:17 PM, Erick Erickson wrote: Not much information to go on here, have you tried the DIH debugging console? See: http://wiki.apache.org/solr/DataImportHandler#interactive Best Erick On Mon, Aug 27, 2012 at 7:22 PM, Aleksey Vorona avor...@ea.com

Solr and query abortion

2012-08-29 Thread Aleksey Vorona
Hi, we are running Solr 3.6.1 and see an issue in our load tests. Some of the queries our load test script produces result in huge number of hits. It may go as high as 90% of all documents we have (2.5M). Those are all range queries. I see in the log that those queries take much more time to

Re: Load Testing in Solr

2012-08-29 Thread Aleksey Vorona
On 12-08-29 11:44 AM, dhaivat dave wrote: Hello everyone . Can any one know any component or tool that can be used for testing the solr performance. People were recommending https://code.google.com/p/solrmeter/ earlier. -- Aleksey

Null Pointer Exception on DIH with MySQL

2012-08-27 Thread Aleksey Vorona
We have Solr 3.6.1 running on Jetty (7.x) and using DIH to get data from the MySQL database. On one of the environment the import always fails with an exception: http://pastebin.com/tG28cHPe It is a null pointer exception on connection being null. I've tested that I can connect from the Solr