Searched refs:remap (Results 1 - 5 of 5) sorted by relevance

/lucene-3.6.0/lucene/contrib/analyzers/stempel/src/java/org/egothor/stemmer/
H A DReduce.java83 int remap[] = new int[orows.size()];
85 Arrays.fill(remap, -1);
86 rows = removeGaps(orig.root, rows, new ArrayList<Row>(), remap);
88 return new Trie(orig.forward, remap[orig.root], cmds, rows);
91 List<Row> removeGaps(int ind, List<Row> old, List<Row> to, int remap[]) { argument
92 remap[ind] = to.size();
99 if (c.ref >= 0 && remap[c.ref] < 0) {
100 removeGaps(c.ref, old, to, remap);
103 to.set(remap[ind], new Remap(now, remap));
117 Remap(Row old, int remap[]) argument
[all...]
H A DGener.java83 int remap[] = new int[orows.size()];
85 Arrays.fill(remap, 1);
87 if (eat(orows.get(j), remap)) {
88 remap[j] = 0;
92 Arrays.fill(remap, -1);
93 rows = removeGaps(orig.root, orows, new ArrayList<Row>(), remap);
95 return new Trie(orig.forward, remap[orig.root], cmds, rows);
103 * @param remap Description of the Parameter
107 public boolean eat(Row in, int remap[]) { argument
113 if (remap[
[all...]
H A DOptimizer.java86 int remap[] = new int[orows.size()];
89 Row now = new Remap(orows.get(j), remap);
97 remap[j] = i;
103 remap[j] = rows.size();
108 int root = remap[orig.root];
109 Arrays.fill(remap, -1);
110 rows = removeGaps(root, rows, new ArrayList<Row>(), remap);
112 return new Trie(orig.forward, remap[root], cmds, rows);
H A DLift.java93 int remap[] = new int[orows.size()];
99 Arrays.fill(remap, -1);
100 rows = removeGaps(orig.root, orows, new ArrayList<Row>(), remap);
102 return new Trie(orig.forward, remap[orig.root], cmds, rows);
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DMergeDocIDRemapper.java75 public int remap(int oldDocID) { method in class:MergeDocIDRemapper

Completed in 39 milliseconds