Re: CloudSolrServer vs ConcurrentUpdateSolrServer for indexing

2013-04-17 Thread jmozah
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 wrote: > you also can cal(general hash algrothim) solrserver to add docs.

Re: zkState changes too often

2013-04-18 Thread jmozah
On 16-Apr-2013, at 11:16 PM, Mark Miller 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 pro

wildcard faceting in solr cloud

2013-01-08 Thread jmozah
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

2013-01-08 Thread jmozah
arches. 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@luce

Re: wildcard faceting in solr cloud

2013-01-08 Thread jmozah
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 wrote: > > I can try to bump it for distributed search... > Some pointer where

Re: wildcard faceting in solr cloud

2013-01-09 Thread jmozah
I am testing it.. and i will upload it after that.. ./Zahoor HBase Musings On 09-Jan-2013, at 2:55 AM, Upayavira wrote: > Have you uploaded a patch to JIRA??? > > Upayavira > > On Tue, Jan 8, 2013, at 07:57 PM, jmozah wrote: >> Hmm. Fixed it. >> >>

retrieving latest document **only**

2013-01-10 Thread jmozah
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 ma

Re: retrieving latest document **only**

2013-01-10 Thread jmozah
g that you want a query such that it matches only the most > recent one? > > On Thu, Jan 10, 2013 at 5:27 PM, jmozah wrote: > >> >> HI >> >> I use solr 4.0 and have documents which have a timestamp field. >> >> For a given query i know how to boo

Re: retrieving latest document **only**

2013-01-11 Thread jmozah
> 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**

2013-01-11 Thread jmozah
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 wrote: > > > >> What do you want? >> 'the mo