You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jon Stewart (JIRA)" <ji...@apache.org> on 2013/08/19 19:41:49 UTC

[jira] [Created] (LUCENE-5181) Passage knows its own docID

Jon Stewart created LUCENE-5181:
-----------------------------------

             Summary: Passage knows its own docID
                 Key: LUCENE-5181
                 URL: https://issues.apache.org/jira/browse/LUCENE-5181
             Project: Lucene - Core
          Issue Type: Improvement
    Affects Versions: 4.4
            Reporter: Jon Stewart
            Priority: Minor


The new PostingsHighlight package allows for retrieval of term matches from a query if one creates a class that extends PassageFormatter and overrides format(). However, class Passage does not have a docID field, nor is this provided via PassageFormatter.format(). Therefore, it's very difficult to know which Document contains a given Passage.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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