Searched defs:TVPositionInfo (Results 1 - 1 of 1) sorted by relevance

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DPositionBasedTermVectorMapper.java30 private Map<String, Map<Integer,TVPositionInfo>> fieldToTerms;
34 * A Map of Integer and TVPositionInfo
36 private Map<Integer,TVPositionInfo> currentPositions;
75 TVPositionInfo pos = currentPositions.get(posVal);
77 pos = new TVPositionInfo(positions[i], storeOffsets);
101 fieldToTerms = new HashMap<String,Map<Integer,TVPositionInfo>>(numTerms);
104 currentPositions = new HashMap<Integer,TVPositionInfo>();
111 * @return A map between field names and a Map. The sub-Map key is the position as the integer, the value is {@link org.apache.lucene.index.PositionBasedTermVectorMapper.TVPositionInfo}.
113 public Map<String,Map<Integer,TVPositionInfo>> getFieldToTerms() {
120 public static class TVPositionInfo{ class in class:PositionBasedTermVectorMapper
128 public TVPositionInfo(int position, boolean storeOffsets) { method in class:PositionBasedTermVectorMapper.TVPositionInfo
[all...]

Completed in 11 milliseconds