[ http://issues.apache.org/jira/browse/LUCENE-126?page=comments#action_12330228 ]

Mark Harwood commented on LUCENE-126:

Suggest we reject this one.

query.rewrite is now the standard way of resolving such queries into simpler TermQueries that can be examined. This technique is documented as part of the highlighter package.
[PATCH] Modifications for retrieval of terms

Key: LUCENE-126
URL: http://issues.apache.org/jira/browse/LUCENE-126
Project: Lucene - Java
Type: Improvement
Components: Other
Versions: unspecified
Environment: Operating System: All
Platform: All
Reporter: Kelvin Tan
Assignee: Lucene Developers
Priority: Minor
Attachments: TermRetrieval-bug21921.patch

Add a getPrefix method to PrefixQuery and to make getEnum(IndexReader reader) in MultiTermQuery a public method.
These minor changes allow client code to retrieve matched terms in the index, which consequently makes search term highlighting for prefix and fuzzy queries possible.
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

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

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupdev @
postedSep 22, '05 at 8:13p
activeSep 22, '05 at 8:13p

1 user in discussion

Mark Harwood (JIRA): 1 post



site design / logo © 2021 Grokbase