Shay this presentation I gave at apachecon and dc solr exchange might
be useful to you:

http://www.slideshare.net/mobile/o19s/hacking-lucene-for-custom-search-results

Sent from my Windows Phone From: Shay Sofer
Sent: ‎7/‎16/‎2014 6:03 AM
To: solr-user@lucene.apache.org
Subject: Solr score manager
Hi All,

I need a specific score mechanism.

I would like to sort my results based on customize scoring field.
scoring for example -



1.       If this is a new object - 100

2.       Edited - 80

3.       Recent search - 50

4.       Opened - 40
and some more actions...

And then when execute a new search they sorted based on score field.

Example:
Object 1 : opened  = 40.
Object 2: New = 100
Object 3: edited X 2 + recent search X 1 = 210.

Result:

Object 3
Object 2
Object 1

Any good article for this? Examples?
I'm using Solr with Java.

Thanks in advance,
Shay.

Reply via email to