Re: run filter queries after post filter

2013-10-09 Thread Rohit Harchandani
of ids that the post filter is receiving reduces. Thanks, Rohit On Tue, Oct 8, 2013 at 8:29 PM, Erick Erickson erickerick...@gmail.comwrote: Hmmm, seems like it should. What's our evidence that it isn't working? Best, Erick On Tue, Oct 8, 2013 at 4:10 PM, Rohit Harchandani rhar

Re: run filter queries after post filter

2013-10-09 Thread Rohit Harchandani
normal fq clauses, which are calculated on the entire corpus and can thus be cached. Best, Erick On Wed, Oct 9, 2013 at 11:59 AM, Rohit Harchandani rhar...@gmail.com wrote: Hey, so the post filter logs the number of ids that it receives. With the above filter having cost=200, the post filter

run filter queries after post filter

2013-10-08 Thread Rohit Harchandani
Hey, I am using solr 4.0 with my own PostFilter implementation which is executed after the normal solr query is done. This filter has a cost of 100. Is it possible to run filter queries on the index after the execution of the post filter? I tried adding the below line to the url but it did not

adding custom fields to solr response

2013-08-13 Thread Rohit Harchandani
Hi, I have created a custom component with some post filtering ability. Now I am trying to add certain fields to the solr response. I was able to add it as a separate response section, but i am having difficulty adding it to the docs themselves. Is there an example of any component which adds

Re: solr postfilter question

2013-08-01 Thread Rohit Harchandani
? Thanks, Rohit On Wed, Jul 10, 2013 at 6:10 PM, Yonik Seeley yo...@lucidworks.com wrote: On Wed, Jul 10, 2013 at 6:08 PM, Rohit Harchandani rhar...@gmail.com wrote: Hey, I am trying to create a plugin which makes use of postfilter. I know that the collect function is called for every

Re: replication getting stuck on a file

2013-08-01 Thread Rohit Harchandani
I am facing this problem in solr 4.0 too. Its definitely not related to autowarming. It just gets stuck while downloading a file and there is no way to abort the replication except restarting solr. On Wed, Jul 10, 2013 at 6:10 PM, adityab aditya_ba...@yahoo.com wrote: I have seen this in 4.2.1

Re: solr postfilter question

2013-08-01 Thread Rohit Harchandani
Basically i see it is looking up the cache and getting a hit, but it still seems to be collecting all the documents again. Thanks, Rohit On Thu, Aug 1, 2013 at 4:37 PM, Rohit Harchandani rhar...@gmail.com wrote: Hi, I did finally manage to this. I get all the documents in the post filter

solr postfilter question

2013-07-10 Thread Rohit Harchandani
Hey, I am trying to create a plugin which makes use of postfilter. I know that the collect function is called for every document matched, but is there a way i can access all the matched documents upto this point before collect is called on each of them? Thanks, Rohir

Re: My latest solr blog post on Solr's PostFiltering

2013-07-10 Thread Rohit Harchandani
Hi Amit, Great article. I tried it and it works well. I am new to developing in solr and had a question? do you know if there is a way to access all the matched ids before collect is called? Thanks, Rohit On Sat, Nov 10, 2012 at 1:12 PM, Erick Erickson erickerick...@gmail.comwrote: That'll

Problem with Solr replication in solr 4.2

2013-03-21 Thread Rohit Harchandani
Hey, Currently we are using solr 4.0 with a master slave setup. The data gets indexed on the master and then we issue a fetchindex command to replicate it on the slave. The slave has a postCommit listener which gets kicked off when replication finishes and we depend on this listener to know whn

Re: Run multiple instances of solr using single data directory

2012-11-14 Thread Rohit Harchandani
rate, running multiple instances of Solr on the same server doesn't typically make sense. I'd stop and rethink :) Otis -- Solr Performance Monitoring - http://sematext.com/spm/index.html On Tue, Nov 13, 2012 at 5:46 PM, Rohit Harchandani rhar...@gmail.com wrote: Hi All, I am

Re: Solr 4.0 simultaneous query problem

2012-11-06 Thread Rohit Harchandani
On Mon, Nov 5, 2012 at 4:02 PM, Walter Underwood wun...@wunderwood.orgwrote: Don't query for 5000 documents. That is going to be slow no matter how it is implemented. wunder On Nov 5, 2012, at 1:00 PM, Rohit Harchandani wrote: Hi, So it seems that when I query multiple shards

Re: Solr 4.0 simultaneous query problem

2012-11-05 Thread Rohit Harchandani
at 5:23 PM, Rohit Harchandani rhar...@gmail.comwrote: Hi, The same query is fired always for 500 rows. The only thing different is the start parameter. The 3 shards are in the same instance on the same server. They all have the same schema. But the inherent type of the documents is different

Retrieval of large number of documents

2012-09-12 Thread Rohit Harchandani
Hi all, I have a solr index with 5,000,000 documents and my index size is 38GB. But when I query for about 400,000 documents based on certain criteria, solr searches it really quickly but does not return data for close to 2 minutes. The unique key field is the only field i am requesting for. Also,

Re: Delete all documents in the index

2012-09-05 Thread Rohit Harchandani
://issues.apache.org/jira/browse/SOLR-3432 This could happen if you kept the new 4.0 solrconfig.xml, but copied in your pre-4.0 schema.xml. -- Jack Krupansky -Original Message- From: Rohit Harchandani Sent: Wednesday, September 05, 2012 12:48 PM To: solr-user@lucene.apache.org Subject

Update data directory at run time

2012-08-14 Thread Rohit Harchandani
. (org.apache.lucene.store.MMapDirectory:org.apache.lucene.store.MMapDirectory@/bb/mbigd/mbig2580/srchSolr/apache-solr-4.0.0-ALPHA/example/solr/data/index lockFactory=org.apache.lucene.store.NativeFSLockFactory@2447e380) Is there a way to update this dynamically? Thanks a lot Regards, Rohit Harchandani

Re: Update data directory at run time

2012-08-14 Thread Rohit Harchandani
...@wunderwood.orgwrote: Why are you not using the built-in replication? That works fine. You do not need to invent anything. wunder On Aug 14, 2012, at 2:57 PM, Rohit Harchandani wrote: Hi All, I am new to Solr and would really appreciate some help on this issue. I have a single core setup currently