Class WeightedSpanTermExtractor.PositionCheckingMap<K>

java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,WeightedSpanTerm>
org.apache.lucene.search.highlight.WeightedSpanTermExtractor.PositionCheckingMap<K>
All Implemented Interfaces:
Serializable, Cloneable, Map<K,WeightedSpanTerm>
Enclosing class:
WeightedSpanTermExtractor

protected static class WeightedSpanTermExtractor.PositionCheckingMap<K> extends HashMap<K,WeightedSpanTerm>
This class makes sure that if both position sensitive and insensitive versions of the same term are added, the position insensitive one wins.
See Also: