Hi, I am using pretty complex function queries to completely customize (not only boost) the score of my result documents that are retrieved from an index of approx 10e7 documents. To get to an acceptable level of performance I combine my query with filters in the following way (very short example):
q=_val_:"sum(termfreq(fieldname,`word`),termfreq(fieldname2,`word2`))"&fq=fieldname:`word`&fq=fieldname2:`word2` Although I always have (because of the filter) approx 50.000 docs in the result set, the search times vary (depending on the actual query) between 100ms and 6000ms. My understanding was that the scoring function is only applied to the result set from the filters. But based on what I am seeing it seems that a lot more documents are actually put through the _val_ function. Is there a way to fully compute the score of only the documents in the result set? Thanks, Nico -- View this message in context: http://lucene.472066.n3.nabble.com/Function-Query-performance-in-combination-with-filters-tp4056283.html Sent from the Solr - User mailing list archive at Nabble.com.