Clarification of Javadocs - code was missing Formatter implementation

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150984 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Harwood 2004-05-19 20:29:10 +00:00
parent ed9f594f27
commit 39e1b775dd
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ Fragmenter, FragmentScorer and Formatter classes.
query=query.rewrite(reader); //required to expand search terms
Hits hits = searcher.search(query);
Highlighter highlighter =new Highlighter(this,new QueryScorer(query));
Highlighter highlighter =new Highlighter(new QueryScorer(query));
for (int i = 0; i < hits.length(); i++)
{
String text = hits.doc(i).get(FIELD_NAME);