You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Benson Margulies (Issue Comment Edited) (JIRA)" <ji...@apache.org> on 2012/04/14 20:31:18 UTC

[jira] [Issue Comment Edited] (LUCENE-1999) Match spotter for all query types

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

Benson Margulies edited comment on LUCENE-1999 at 4/14/12 6:29 PM:
-------------------------------------------------------------------

Robert, Thanks. How do you all handle JIRAs like this? Would it make sense to close it as obviated by those other things?

I also have to work out how to exploit this in Solr.

                
      was (Author: bmargulies):
    Robert, Thanks. How do you all handle JIRAs like this? Would it make sense to close it as obviated by those other things?

                  
> Match spotter for all query types
> ---------------------------------
>
>                 Key: LUCENE-1999
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1999
>             Project: Lucene - Java
>          Issue Type: New Feature
>          Components: core/search
>    Affects Versions: 2.9
>            Reporter: Mark Harwood
>         Attachments: matchflagger.patch
>
>
> Related to LUCENE-1929 and the current inability to highlight NumericRangeQuery, spatial, cached term filters and other exotica.
> This patch provides the ability to wrap *any* Query objects and record match info as flags encoded in the overall document score.
> Using this approach it would be possible to understand (and therefore highlight) which fields matched clauses in a query.
> The match encoding approach loses some precision in scores as noted here: http://tinyurl.com/ykt8nx7
> Avoiding these precision issues would require a change to Lucene core to record docId, score AND a matchFlag byte in ScoreDoc objects and collector APIs.
> This may be something we should consider.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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