Re: Date filter query

2012-02-22 Thread ku3ia
Hi, all Thanks for your responses. I'd tried [NOW/DAY-30DAY+TO+NOW/DAY-1DAY-1SECOND] and seems it works fine for me. Thanks a lot! -- View this message in context: http://lucene.472066.n3.nabble.com/Date-filter-query-tp3764349p3766139.html Sent from the Solr - User mailing list archive at Nabbl

Re: Date filter query

2012-02-21 Thread Erick Erickson
bq: How could I overlook it? Easy, the same way I did for a year and more Best Erick On Tue, Feb 21, 2012 at 6:50 PM, Em wrote: > Erick, > > damn! > > The NOW of now isn't the same NOW a second later. So obvisiously. How > could I overlook it? > > Kind regards, > Em > > Am 22.02.2012 00:17

Re: Date filter query

2012-02-21 Thread Em
Erick, damn! The NOW of now isn't the same NOW a second later. So obvisiously. How could I overlook it? Kind regards, Em Am 22.02.2012 00:17, schrieb Erick Erickson: > Be a little careful here. Any "fq" that references NOW will probably > NOT be effectively cached. Think of the fq cache as a ma

Re: Date filter query

2012-02-21 Thread Erick Erickson
Be a little careful here. Any "fq" that references NOW will probably NOT be effectively cached. Think of the fq cache as a map, with the key being the fq clause and the value being the set of documents that match that value. So something like NOW gives 2012-01-23T00:00:00Z but issuing that a secon

Re: Date filter query

2012-02-21 Thread Em
Hi, > But they [the cache configurations] are default for both tests, can it affect on > results? Yes, they affect both results. Try to increase the values for queryResultCache and documentCache from 512 to 1024 (provided that you got two distinct queries "bay" and "girl"). In general they should

Re: Date filter query

2012-02-21 Thread ku3ia
Hi, >>First: I am really surprised that the difference between explicit >>Date-Values and the more friendly date-keywords is that large. Maybe it is that I use shards. I have 11 shards, summary ~310M docs. >>Did you made a server restart between both tests? I tried to run these test one after a

Re: Date filter query

2012-02-21 Thread Em
Hi, your QTimes are somewhat slow! First: I am really surprised that the difference between explicit Date-Values and the more friendly date-keywords is that large. Did you made a server restart between both tests? Second: Could you show us your solrconfig to make sure that your caches are configu

Re: Date filter query

2012-02-21 Thread ku3ia
Hi, Em, thanks for your response. But seems a have a problem. I wrote a script, which sends a queries (curl based), with a certain delay. I had made a dictionary of matched words. I run my script with 500ms delay during 60 seconds. Take look at catalina logs: INFO: [] webapp=/solr path=/select par

Re: Date filter query

2012-02-21 Thread Em
Hi, 1) and 2) should have equal performance, given that several searches are performed with the same fq-param. Since the filters are cached, 1) and 2) perform better. Kind regards, Em Am 21.02.2012 19:06, schrieb ku3ia: > Hi all! > > Please advice me: > 1) q=test&fq=date:[NOW-30DAY+TO+NOW] > 2