Benson, it was in the Lucene world in May 2010: http://mail-archives.apache.org/mod_mbox/lucene-java-user/201005.mbox/%3c469705.48901...@web29016.mail.ird.yahoo.com%3E Mark Harwood pointed me to a "FlagQuery" which was exactly what I needed. His contribution sounds not to have been taken up, it worked for me in Lucene, 2.4.1. We used this to create an auto-completion popup which selected the right language by flagging the right sub-query that was most matched.
paul Le 14 avr. 2012 à 15:34, Benson Margulies a écrit : > yes please > > On Apr 14, 2012, at 2:40 AM, Paul Libbrecht <p...@hoplahup.net> wrote: > >> Benson, >> In mid 2009, I has such a question answered with a nifty score bitwise >> manipulation, and a little precision loss. For each result I could pick the >> language of a multilingual match. >> If interested, I can dig. >> Paul >> -- >> Envoyé de mon téléphone Android avec K-9 Mail. Excusez la brièveté. >> >> >> Benson Margulies <bimargul...@gmail.com> a écrit : >> >> Given a query including a subquery, is there any way for me to learn >> that subquery's contribution to the overall document score? >> >> I can provide 'why on earth would anyone ...' if someone wants to know. >>