Java Mailing List Archive

http://www.java2.5341.com/

Home » java-user.lucene »

Access Scoring Values of Lucene for Post-Processing

excitingComm2

2008-10-08

Replies: Find Java Web Hosting

Author LoginPost Reply

Hi everybody,

I am using Lucene for searching items in a online shop. E.g. I search the
shop for "shirt" I get a resultset from lucene. Now I want to improve the
sort order by calculating the lucene score with my business data, e.g. sales
or margin. Is there any possibility to get the scoring value of lucene, so
that I can put it into my own formula and re-sort the products?

http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc//org/apache/lucene/search/Hit.html
The method getScore() sounds great, but is unfortunately marked as
deprecated.

Regards,
ExComm2
--
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@(protected)
For additional commands, e-mail: java-user-help@(protected)

©2008 java2.5341.com - Jax Systems, LLC, U.S.A.