I have a question about integrating custom functionality into Solr. What i want is the following scenario: 1. A query is issued to Solr 2. Solr uses my custom method to calculate the score (relevance) of each document with respect to the query. 3. the results are returned sorted by descending score.
I am unsure how to implement this. >From the lucene documentation i thought it would be enough to implement an extension of the Similarity class. Now im not so sure (i don't want to just override tf or idf i need a completely different scoring method, also i want the method to be applied to all documents and not only those that pass an initial boolean filter). Which classes would i have to implement to get this behaviour? Is this a good start? http://lucene.apache.org/core/old_versioned_docs/versions/3_5_0/api/core/org/apache/lucene/search/package-summary.html#scoring) Is there maybe a simpler way of achieving this? Thanks for any advice, Mladen -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-question-tp4017024.html Sent from the Solr - User mailing list archive at Nabble.com.