/[Apache-SVN]
ViewVC logotype

Revision 389888


Jump to revision: Previous Next
Author: mharwood
Date: Wed Mar 29 21:01:40 2006 UTC (18 years, 7 months ago)
Changed paths: 3
Log Message:
Simplified QueryTermExtractor.java to make use of Query.extractTerms method (especially now that all the SpanQuery classes implement this correctly).
Added tests in Junit test to demonstrate new support for other Queries (FilteredQuery) now that we use the standard extractTerms feature of Query objects.
Also deprecated highlighter getBestFragments method that hard-coded choice of fieldname and introduced new variation that takes an additional fieldName argument

Changed paths

Path Details
Directorylucene/java/trunk/contrib/highlighter/src/java/org/apache/lucene/search/highlight/Highlighter.java modified , text changed
Directorylucene/java/trunk/contrib/highlighter/src/java/org/apache/lucene/search/highlight/QueryTermExtractor.java modified , text changed
Directorylucene/java/trunk/contrib/highlighter/src/test/org/apache/lucene/search/highlight/HighlighterTest.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26