[hibernate-issues] [Hibernate-JIRA] Created: (HSEARCH-147) Allow projection of Lucene DocId

Christian Wiedmann (JIRA) noreply at atlassian.com
Fri Jan 11 13:16:55 EST 2008


Allow projection of Lucene DocId
--------------------------------

                 Key: HSEARCH-147
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-147
             Project: Hibernate Search
          Issue Type: Improvement
    Affects Versions: 3.0.0.GA
            Reporter: Christian Wiedmann
            Priority: Minor


It would be nice if the Lucene docid could be projected from a query so that TokenSources.getAnyTokenStream(IndexReader reader, int docId, String field, Analyzer analyzer) can be used.

This function has the advantage that it extracts the token stream from Lucene without reparsing if it is able to.  If it is unable, it will reparse the stored field with the given analyzer.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list