lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shay Sofer <sha...@checkpoint.com>
Subject Solr score manager
Date Wed, 16 Jul 2014 10:02:48 GMT
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.






Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message