Re: zkState changes too often
On 16-Apr-2013, at 11:16 PM, Mark Miller markrmil...@gmail.com wrote: Are you using a the concurrent low pause garbage collector or perhaps G1? I use the default one which comes in jdk 1.7. Are you able to use something like visualvm to pinpoint what the bottleneck might be? Unfortunately.. it is prod machine and i could not replicate it locally. Otherwise, keep raising the timeout. Thats what i did now.. will see if it comes in the next run.. ./zahoor
Re: CloudSolrServer vs ConcurrentUpdateSolrServer for indexing
Sorry.. i didn't understand that... did you mean to configure CloudSolrServer with general hash algorithm? ./zahoor On 17-Apr-2013, at 1:06 PM, rulinma ruli...@gmail.com wrote: you also can cal(general hash algrothim) solrserver to add docs.
Re: retrieving latest document **only**
What do you want? 'the most recent ones' or '**only** the latest' ? Perhaps a range query q=timestamp:[refdate TO NOW] will match your needs. Uwe I need **only** the latest documents... in the above query , refdate can vary based on the query. ./zahoor
Re: retrieving latest document **only**
one crude way is first query and pick the latest date from the result then issue a query with q=timestamp[latestDate TO latestDate] But i dont want to execute two queries... ./zahoor On 11-Jan-2013, at 6:37 PM, jmozah jmo...@gmail.com wrote: What do you want? 'the most recent ones' or '**only** the latest' ? Perhaps a range query q=timestamp:[refdate TO NOW] will match your needs. Uwe I need **only** the latest documents... in the above query , refdate can vary based on the query. ./zahoor
retrieving latest document **only**
HI I use solr 4.0 and have documents which have a timestamp field. For a given query i know how to boost the latest documents and show them up first. But I have a requirement to show **only** the latest documents and the stats along with it.. If i use boosting..the older documents still make it to the query and therefore contribute to the stats... Can anyone tell me how to get **only** the latest dated document? PS: the latest date can be Today, yesterday.. anything int eh past.. so date based range filter would not help here.. ./zahoor
Re: retrieving latest document **only**
I need a query that matches only the most recent ones... Because my stats depend on it.. ./Zahoor HBase Musings On 10-Jan-2013, at 3:37 PM, Naresh nnar...@gmail.com wrote: Hi, Can you sort on the timestamp field (descending) and take only the top most row (rows=1)? Or are you saying that you want a query such that it matches only the most recent one? On Thu, Jan 10, 2013 at 5:27 PM, jmozah jmo...@gmail.com wrote: HI I use solr 4.0 and have documents which have a timestamp field. For a given query i know how to boost the latest documents and show them up first. But I have a requirement to show **only** the latest documents and the stats along with it.. If i use boosting..the older documents still make it to the query and therefore contribute to the stats... Can anyone tell me how to get **only** the latest dated document? PS: the latest date can be Today, yesterday.. anything int eh past.. so date based range filter would not help here.. ./zahoor -- Regards Naresh
Re: wildcard faceting in solr cloud
I am testing it.. and i will upload it after that.. ./Zahoor HBase Musings On 09-Jan-2013, at 2:55 AM, Upayavira u...@odoko.co.uk wrote: Have you uploaded a patch to JIRA??? Upayavira On Tue, Jan 8, 2013, at 07:57 PM, jmozah wrote: Hmm. Fixed it. Did similar thing as SOLR-247 for distributed search. Basically modified the FacetInfo method of the FacetComponent.java to make it work.. :-) ./zahoor On 08-Jan-2013, at 9:35 PM, jmozah jmo...@gmail.com wrote: I can try to bump it for distributed search... Some pointer where to start will be helpful... Can SOLR-2894 be a good start to look at this? ./Zahoor On 08-Jan-2013, at 9:27 PM, Michael Ryan mr...@moreover.com wrote: I'd guess that the patch simply doesn't implement it for distributed searches. The code for distributed facets is quite a bit more complicated, and I don't see it touched in this patch. -Michael -Original Message- From: jmozah [mailto:jmo...@gmail.com] Sent: Tuesday, January 08, 2013 10:51 AM To: solr-user@lucene.apache.org Subject: wildcard faceting in solr cloud Hi I am performing wildcard faceting using the patch in SOLR-247 on solr 4.0. It works like a charm in a single instance... But it does not work in a distributed mode... Am i missing something? ./zahoor
wildcard faceting in solr cloud
Hi I am performing wildcard faceting using the patch in SOLR-247 on solr 4.0. It works like a charm in a single instance... But it does not work in a distributed mode... Am i missing something? ./zahoor
Re: wildcard faceting in solr cloud
I can try to bump it for distributed search... Some pointer where to start will be helpful... Can SOLR-2894 be a good start to look at this? ./Zahoor On 08-Jan-2013, at 9:27 PM, Michael Ryan mr...@moreover.com wrote: I'd guess that the patch simply doesn't implement it for distributed searches. The code for distributed facets is quite a bit more complicated, and I don't see it touched in this patch. -Michael -Original Message- From: jmozah [mailto:jmo...@gmail.com] Sent: Tuesday, January 08, 2013 10:51 AM To: solr-user@lucene.apache.org Subject: wildcard faceting in solr cloud Hi I am performing wildcard faceting using the patch in SOLR-247 on solr 4.0. It works like a charm in a single instance... But it does not work in a distributed mode... Am i missing something? ./zahoor
Re: wildcard faceting in solr cloud
Hmm. Fixed it. Did similar thing as SOLR-247 for distributed search. Basically modified the FacetInfo method of the FacetComponent.java to make it work.. :-) ./zahoor On 08-Jan-2013, at 9:35 PM, jmozah jmo...@gmail.com wrote: I can try to bump it for distributed search... Some pointer where to start will be helpful... Can SOLR-2894 be a good start to look at this? ./Zahoor On 08-Jan-2013, at 9:27 PM, Michael Ryan mr...@moreover.com wrote: I'd guess that the patch simply doesn't implement it for distributed searches. The code for distributed facets is quite a bit more complicated, and I don't see it touched in this patch. -Michael -Original Message- From: jmozah [mailto:jmo...@gmail.com] Sent: Tuesday, January 08, 2013 10:51 AM To: solr-user@lucene.apache.org Subject: wildcard faceting in solr cloud Hi I am performing wildcard faceting using the patch in SOLR-247 on solr 4.0. It works like a charm in a single instance... But it does not work in a distributed mode... Am i missing something? ./zahoor