mirror of https://github.com/apache/lucene.git
patch from Mark, while his account creation is pending
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150975 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d9684c7065
commit
ac0f42f29a
|
@ -46,11 +46,12 @@ public class TextFragment
|
|||
/**
|
||||
* @param frag2 Fragment to be merged into this one
|
||||
*/
|
||||
public void merge(TextFragment frag2)
|
||||
{
|
||||
textEndPos = frag2.textEndPos;
|
||||
}
|
||||
/**
|
||||
public void merge(TextFragment frag2)
|
||||
{
|
||||
textEndPos = frag2.textEndPos;
|
||||
score=Math.max(score,frag2.score);
|
||||
}
|
||||
/**
|
||||
* @param fragment
|
||||
* @return true if this fragment follows the one passed
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue