RE: Solr score manager
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.
Fwd: Solr score manager
-- Forwarded message -- From: Shay Sofer Date: Wed, Jul 16, 2014 at 6:55 PM That’s my question :-) How should I manage this scoring system. I guess that I need to add new field (my_score) and update him as I want. -Original Message- From: Alexandre Rafalovitch [mailto:arafa...@gmail.com] Sent: Wednesday, July 16, 2014 1:53 PM To: solr-user Subject: Re: Solr score manager How are you storing this information in your documents? Regards, Alex On 16/07/2014 5:03 pm, "Shay Sofer" wrote: > 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. > > > > > > Email secured by Check Point
Re: Solr score manager
How are you storing this information in your documents? Regards, Alex On 16/07/2014 5:03 pm, "Shay Sofer" wrote: > 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. > > > > > >
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.