Hi Yonik, thanks for the fast feedback.
Well, as far as I can see there is no possibility to get the original query from the similarity-class... Let me ask differently: I know there are some distributed idf-implementations out there. One approach is to ask every shard for its idf for a term and than aggregate those values at the "master" wo queried them all. Afterwards they use it for their similarity etc. How do they "store" these idfs for the current request so that the similarity is aware of them? I do not want to reimplement distributed idf, but I want to figure out how they make it accessible for the similarity that is in use. Thank you! Regards Yonik Seeley-2-2 wrote: > > On Wed, Feb 9, 2011 at 12:16 PM, Em <mailformailingli...@yahoo.de> wrote: >> For the current usecase we want to experiment with different values for >> the >> idf based on different algorithms and how they affect the scoring. > > For tf, idf, lengthNorm, coord, etc, see Similarity. > Solr already alows you to specify one in the schema, and work is > underway to make it per-field: > https://issues.apache.org/jira/browse/SOLR-2338 > > -Yonik > http://lucidimagination.com > > -- View this message in context: http://lucene.472066.n3.nabble.com/QueryWeight-for-Solr-tp2459933p2460386.html Sent from the Solr - User mailing list archive at Nabble.com.