[ https://issues.apache.org/jira/browse/LUCENE-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12695370#action_12695370 ]
Grant Ingersoll commented on LUCENE-1341: ----------------------------------------- Hi Peter, This looks good, I think it just needs some unit tests and then it will be good. > BoostingNearQuery class (prototype) > ----------------------------------- > > Key: LUCENE-1341 > URL: https://issues.apache.org/jira/browse/LUCENE-1341 > Project: Lucene - Java > Issue Type: Improvement > Components: Query/Scoring > Affects Versions: 2.3.1 > Reporter: Peter Keegan > Assignee: Grant Ingersoll > Priority: Minor > Fix For: 3.0 > > Attachments: bnq.patch, bnq.patch, BoostingNearQuery.java, > BoostingNearQuery.java, LUCENE-1341-new.patch, LUCENE-1341.patch > > > This patch implements term boosting for SpanNearQuery. Refer to: > http://www.gossamer-threads.com/lists/lucene/java-user/62779 > This patch works but probably needs more work. I don't like the use of > 'instanceof', but I didn't want to touch Spans or TermSpans. Also, the > payload code is mostly a copy of what's in BoostingTermQuery and could be > common-sourced somewhere. Feel free to throw darts at it :) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscr...@lucene.apache.org For additional commands, e-mail: java-dev-h...@lucene.apache.org