Here's blog describing the RankQuery API:
http://heliosearch.org/solrs-new-rankquery-feature/
Joel Bernstein
Search Engineer at Heliosearch
On Thu, Jul 24, 2014 at 6:22 PM, Joel Bernstein wrote:
> This is the kind of use case the RankQuery API was created for. It allows
> you to write your ow
This is the kind of use case the RankQuery API was created for. It allows
you to write your own Lucene ranking collector and plug it in. It's an
expert level java API so you'll need to program in Java and understand a
lot about how Lucene collectors work, but it's cool stuff to learn.
Joel Berns
Could you possibly elaborate on what that function could look like and how to
use it?
I have an ecommerce site with lots of products and some categories have 50
times more products than others, and i would like to "shuffle" resultset in
a way that if the search is conducted by parent category id t
On Mon, May 25, 2009 at 11:29 PM, yaymicro_bjorn
wrote:
> No, as I was trying to explain, I obviously don't want a totally random
> result. I just want to mix it up a "little". Is there a way to achieve this
> with solr?
It doesn't exist yet, but adding a random function would allow you to
combin
>
> I just want to mix it up a "little"
>
Sounds very subjective and open.
Give this a thought - You can try multi-field sort with first sort being on
the score (so that all the more relevant results ones appear first), and
second being a sort on the random field (which shuffles the order of resu
Hi Avlesh
No, as I was trying to explain, I obviously don't want a totally random
result. I just want to mix it up a "little". Is there a way to achieve this
with solr?
Bjorn
Avlesh Singh wrote:
>
> If simply getting random results (matching your query) from Solr is your
> requirement, then
If simply getting random results (matching your query) from Solr is your
requirement, then a dynamic RandomSortField is what you need. Details here
-
http://lucene.apache.org/solr/api/org/apache/solr/schema/RandomSortField.html
Cheers
Avlesh
On Tue, May 26, 2009 at 6:54 AM, yaymicro_bjorn
wrote: