public class ScoreOrderFragmentsBuilder extends BaseFragmentsBuilder
Modifier and Type | Class and Description |
---|---|
static class |
ScoreOrderFragmentsBuilder.ScoreComparator |
COLORED_POST_TAGS, COLORED_PRE_TAGS, postTags, preTags
Constructor and Description |
---|
ScoreOrderFragmentsBuilder()
a constructor.
|
ScoreOrderFragmentsBuilder(String[] preTags,
String[] postTags)
a constructor.
|
Modifier and Type | Method and Description |
---|---|
List<FieldFragList.WeightedFragInfo> |
getWeightedFragInfoList(List<FieldFragList.WeightedFragInfo> src)
Sort by score the list of WeightedFragInfo
|
createFragment, createFragments, getFields, getFieldValues, getFragmentSource, getFragmentSource, getPostTag, getPreTag, makeFragment, makeFragment
public List<FieldFragList.WeightedFragInfo> getWeightedFragInfoList(List<FieldFragList.WeightedFragInfo> src)
getWeightedFragInfoList
in class BaseFragmentsBuilder
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.