Re: Query formulation help

2016-11-05 Thread Erick Erickson
Assuming these are numerics, use function queries I should think, see: https://cwiki.apache.org/confluence/display/solr/Function+Queries#FunctionQueries-AvailableFunctions. You'll see lt, gt, etc. Best, Erick On Fri, Nov 4, 2016 at 11:23 PM, Prasanna S. Dhakephalkar wrote: > Hi John, > > I need

Re: Facets based on sampling

2016-11-05 Thread Toke Eskildsen
From: John Davis wrote: > Does there exist an option to compute facets by just looking at the top-n > results instead of all of them or a sample of results based on some query > parameters? Doing it for the top-n results does not play well with the current query flow in Solr (I might be wrong he

Re: Facets based on sampling

2016-11-05 Thread Mikhail Khludnev
Hello, John! You can try to do that manually by applying filter by random field. On Fri, Nov 4, 2016 at 10:02 PM, John Davis wrote: > Hi, > I am trying to improve the performance of queries with facets. I understand > that for queries with high facet cardinality and large number results the > c

Re: Parallelize Cursor approach

2016-11-05 Thread Chetas Joshi
Thanks Yonik for the explanation. Hi Erick, I was using the /xport functionality. But it hasn't been stable (Solr 5.5.0). I started running into run time Exceptions (JSON parsing exceptions) while reading the stream of Tuples. This started happening as the size of my collection increased 3 times a

Re: Parallelize Cursor approach

2016-11-05 Thread Erick Erickson
Hmmm, export is supposed to handle 10s of million result sets. I know of a situation where the Streaming Aggregation functionality back ported to Solr 4.10 processes on that scale. So do you have any clue what exactly is failing? Is there anything in the Solr logs? _How_ are you using /export, thr