aesthetic/javadoc fixups

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150988 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2004-06-03 03:04:10 +00:00
parent 281ccaa902
commit a2871ae443
4 changed files with 3 additions and 11 deletions

View File

@ -33,7 +33,7 @@ public interface Fragmenter
/**
* Test to see if this token from the stream should be held in a new TextFragment
* @param token
* @param nextToken
* @return
*/
public boolean isNewFragment(Token nextToken);

View File

@ -83,7 +83,7 @@ public class QueryScorer implements Scorer
//not a query term - return
return 0;
}
//found a query term - is it unique in this doc?
//found a query term - is it unique in this fragment?
if(!uniqueTermsInFragment.contains(termText))
{
totalScore+=queryTerm.getWeight();

View File

@ -32,7 +32,7 @@ public interface Scorer
/**
* Called for each token in the current fragment
* @param token The token to be scored
* @return a score which is passed to the TermHighlighter class to influence the mark-up of the text
* @return a score which is passed to the Highlighter class to influence the mark-up of the text
* (this return value is NOT used to score the fragment)
*/
public float getTokenScore(Token token);

View File

@ -60,14 +60,6 @@ public class HighlighterTest extends TestCase implements Formatter
"John Kennedy has been shot",
"This text has a typo in referring to Keneddy" };
/**
* Constructor for HighlightExtractorTest.
* @param arg0
*/
public HighlighterTest(String arg0)
{
super(arg0);
}
public void testSimpleHighlighter() throws Exception
{