lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-2011) Remove deprecated Scorer.explain(int) method
Date Tue, 27 Oct 2009 14:33:59 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-2011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Miller updated LUCENE-2011:
--------------------------------

    Attachment: LUCENE-2011.patch

Its because of the loss of whats going on in PayloadTermQuery - we also lose some custom info
from PayloadNearQuery - on first blush it seems best just to leave the exp in the scorer for
Span queries - its still gone from Scorer so I don't see it as much of a problem myself -
havn't thought on it much yet though.

> Remove deprecated Scorer.explain(int) method
> --------------------------------------------
>
>                 Key: LUCENE-2011
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2011
>             Project: Lucene - Java
>          Issue Type: Task
>          Components: Search
>            Reporter: Uwe Schindler
>             Fix For: 3.0
>
>         Attachments: LUCENE-2011.patch, LUCENE-2011.patch, LUCENE-2011.patch, LUCENE-2011.patch
>
>
> This is the only remaining deprecation in core, but is not so easy to handle, because
lot's of code in core still uses the explain() method in Scorer. So e.g. in PhraseQuery, the
explain method has to be moved from Scorer to the Weight.

-- 
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


Mime
View raw message