You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Peter Keegan (JIRA)" <ji...@apache.org> on 2008/07/19 17:03:31 UTC

[jira] Commented: (LUCENE-1341) BoostingNearQuery class (prototype)

    [ https://issues.apache.org/jira/browse/LUCENE-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615004#action_12615004 ] 

Peter Keegan commented on LUCENE-1341:
--------------------------------------

Note that this patch requires java 1.5 or later (easily modified to run on 1.4)

> 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
>            Priority: Minor
>             Fix For: 2.3.2
>
>         Attachments: bnq.patch, BoostingNearQuery.java
>
>
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Re: [jira] Commented: (LUCENE-1341) BoostingNearQuery class (prototype)

Posted by Grant Ingersoll <gs...@apache.org>.
Hmm, being 1.5 means waiting until 3.0-dev to commit, so your call...

-Grant

On Jul 19, 2008, at 11:03 AM, Peter Keegan (JIRA) wrote:

>
>    [ https://issues.apache.org/jira/browse/LUCENE-1341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12615004 
> #action_12615004 ]
>
> Peter Keegan commented on LUCENE-1341:
> --------------------------------------
>
> Note that this patch requires java 1.5 or later (easily modified to  
> run on 1.4)
>
>> 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
>>           Priority: Minor
>>            Fix For: 2.3.2
>>
>>        Attachments: bnq.patch, BoostingNearQuery.java
>>
>>
>> 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-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>

--------------------------
Grant Ingersoll
http://www.lucidimagination.com

Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ








---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org