Re: best load balancer for solr cloud

2014-10-14 Thread Apoorva Gaurav
Thanks Shawn, Amey, Any specific configuration needed for CloudSolrServer as I've seen increased latency on using it. Does ConcurrentUpdateSolrServer itself do discovery like CloudSolrServer. On Mon, Oct 13, 2014 at 7:53 PM, Shawn Heisey wrote: > On 10/13/2014 5:28 AM, Apoorva Gaur

best load balancer for solr cloud

2014-10-13 Thread Apoorva Gaurav
Hello All, Is it preferable to use CloudSolrServer or using an external load balancer like haproxy. We're currently channeling all our requests via haproxy but want to get rid of management hassles as well as additional network call but saw a significant degradation in latency on switching to Clou

Re: Help on custom sort

2014-09-21 Thread Apoorva Gaurav
Try using a custom value source parser and pass the "formula" of computing the price to solr; something like this http://java.dzone.com/articles/connecting-redis-solr-boosting On Mon, Sep 22, 2014 at 1:38 AM, Scott Smith wrote: > There are likely several hundred groups. Also, new groups will be

Disable caching in sort

2014-09-21 Thread Apoorva Gaurav
Hello All, We are trying to provide a personalized sort order for each user. We've a per-computed list of user to products and if it matches the solr result set those products need to be shown upfront. One way can be handling this in application but pagination becomes tricky. Another way we are ex

Re: wrong docFreq while executing query based on uniqueKey-field

2014-07-22 Thread Apoorva Gaurav
I faced the same issue sometime back, root cause is docs getting deleted and created again without getting optimized. Here is the discussion http://www.signaldump.org/solr/qpod/22731/docfreq-coming-to-be-more-than-1-for-unique-id-field On Tue, Jul 22, 2014 at 4:56 PM, Johannes Siegert < johannes.

Re: External File Field eating memory

2014-07-15 Thread Apoorva Gaurav
ion > files, the core gets reloaded by itself to reflect the changes. I am not > sure if you can disable this reloading. > > Finally, I thought of creating files on slaves in a different way. > > Thanks > Kamal > > > On Tue, Jul 15, 2014 at 11:00 AM, Apoorva Gaurav

Re: Sort not working in solr

2014-07-15 Thread Apoorva Gaurav
In fact its better using TrieIntField instead of IntField. http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201301.mbox/%3ccab_8yd9yp259kk4ciybbprjcpwqp6vd7yvrtjr1eubew_ky...@mail.gmail.com%3E http://stackoverflow.com/questions/13372323/what-is-the-correct-solr-fieldtype-to-use-for-sorting

Re: External File Field eating memory

2014-07-14 Thread Apoorva Gaurav
Hey Kamal, What all config changes have you done to establish replication of external files and how have you disabled role reloading? On Wed, Jul 9, 2014 at 11:30 AM, Kamal Kishore Aggarwal < kkroyal@gmail.com> wrote: > Hi All, > > It was found that external file, which was getting replicate

Re: docFreq coming to be more than 1 for unique id field

2014-06-23 Thread Apoorva Gaurav
Hello Markus, Ahmet, Forgot to update the thread; optimization works i.e. after optimizing all unique keys have docFreq as 1. On Wed, Jun 18, 2014 at 1:58 AM, Chris Hostetter wrote: > > : text in it, query is of the type "keywords:(word1 OR word2 ... OR > wordN)". > : The client is relying on d

Re: docFreq coming to be more than 1 for unique id field

2014-06-17 Thread Apoorva Gaurav
OK lets for a moment forget about this specific use case and consider a more general case. Lets say the field name is "keywords" are we are storing text in it, query is of the type "keywords:(word1 OR word2 ... OR wordN)". The client is relying on default relevancy based sort returned by solr. Some

Re: docFreq coming to be more than 1 for unique id field

2014-06-17 Thread Apoorva Gaurav
Currently we are not using SolrJ but are simply interacting with solr with json over http, this will change in a couple of months but currently not there. As of now we are putting all the logic in query building, using it to query solr and then passing on the json returned by it to front end. I kno

Re: docFreq coming to be more than 1 for unique id field

2014-06-17 Thread Apoorva Gaurav
we have updates on these. Didn't try optimizing will do. But isn't > the > > unique field supposed to be unique? > > > > > > On Tue, Jun 17, 2014 at 8:37 PM, Ahmet Arslan > > > wrote: > > > > > Hi, > > > > > > Just a guess,

Re: docFreq coming to be more than 1 for unique id field

2014-06-17 Thread Apoorva Gaurav
gt; On Tuesday, June 17, 2014 5:58 PM, Apoorva Gaurav < > apoorva.gau...@myntra.com> wrote: > Hello All, > > We are using solr 4.4.0. We have a uniqueKey of type solr.StrField. We need > to extract docs in a pre-defined order if they match a certain condition. > Our qu

docFreq coming to be more than 1 for unique id field

2014-06-17 Thread Apoorva Gaurav
Hello All, We are using solr 4.4.0. We have a uniqueKey of type solr.StrField. We need to extract docs in a pre-defined order if they match a certain condition. Our query is of the format uniqueField:(id1 ^ weight1 OR id2 ^ weight2 . OR idN ^ weightN) where weight1 > weight2 > > weig