Searched refs:orig (Results 1 - 13 of 13) sorted by relevance

/lucene-3.6.0/solr/core/src/test/org/apache/solr/analysis/
H A DTestSlowSynonymFilter.java79 boolean orig = false;
81 map.add(strings("a b"), tokens("ab"), orig, merge);
82 map.add(strings("a c"), tokens("ac"), orig, merge);
83 map.add(strings("a"), tokens("aa"), orig, merge);
84 map.add(strings("b"), tokens("bb"), orig, merge);
85 map.add(strings("z x c v"), tokens("zxcv"), orig, merge);
86 map.add(strings("x c"), tokens("xc"), orig, merge);
98 map.add(strings("a b"), tokens("ab"), orig, merge);
99 map.add(strings("a b"), tokens("ab"), orig, merge);
105 map.add(strings("zoo"), tokens("zoo"), orig, merg
[all...]
/lucene-3.6.0/lucene/contrib/analyzers/stempel/src/java/org/egothor/stemmer/
H A DGener.java75 * @param orig the Trie to optimize
79 public Trie optimize(Trie orig) { argument
80 List<CharSequence> cmds = orig.cmds;
82 List<Row> orows = orig.rows;
93 rows = removeGaps(orig.root, orows, new ArrayList<Row>(), remap);
95 return new Trie(orig.forward, remap[orig.root], cmds, rows);
H A DLift.java85 * @param orig the Trie to optimized
89 public Trie optimize(Trie orig) { argument
90 List<CharSequence> cmds = orig.cmds;
92 List<Row> orows = orig.rows;
100 rows = removeGaps(orig.root, orows, new ArrayList<Row>(), remap);
102 return new Trie(orig.forward, remap[orig.root], cmds, rows);
H A DReduce.java76 * @param orig the Trie to optimize
79 public Trie optimize(Trie orig) { argument
80 List<CharSequence> cmds = orig.cmds;
82 List<Row> orows = orig.rows;
86 rows = removeGaps(orig.root, rows, new ArrayList<Row>(), remap);
88 return new Trie(orig.forward, remap[orig.root], cmds, rows);
H A DOptimizer.java78 * @param orig the Trie to consolidate
82 public Trie optimize(Trie orig) { argument
83 List<CharSequence> cmds = orig.cmds;
85 List<Row> orows = orig.rows;
108 int root = remap[orig.root];
112 return new Trie(orig.forward, remap[root], cmds, rows);
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/search/sampling/
H A DSampler.java169 FacetRequest origFrq = sampledFreq.orig;
202 final FacetRequest orig; field in class:Sampler.OverSampledFacetRequest
203 public OverSampledFacetRequest(FacetRequest orig, int num) { argument
204 super(orig.getCategoryPath(), num);
205 this.orig = orig;
212 return orig.createAggregator(useComplements, arrays, indexReader,
218 return orig.getValueOf(arrays, idx);
223 return orig.requireDocumentScore();
/lucene-3.6.0/lucene/contrib/pruning/src/java/org/apache/lucene/index/
H A DPruningReader.java73 IndexReader[] orig = super.getSequentialSubReaders();
74 if (orig == null) {
77 IndexReader[] res = new IndexReader[orig.length];
79 res[i] = new PruningReader(orig[i], storePolicy, termPolicy);
/lucene-3.6.0/solr/core/src/test/org/apache/solr/search/function/
H A DTestFunctionQuery.java210 Object orig = FileFloatSource.onlyForTesting;
213 assertTrue(orig == FileFloatSource.onlyForTesting);
215 assertTrue(orig == FileFloatSource.onlyForTesting);
220 assertTrue(orig != FileFloatSource.onlyForTesting);
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestIndexReaderClone.java426 IndexReader orig = IndexReader.open(dir1, false);
427 orig.setNorm(1, "field1", 17.0f);
429 assertEquals(encoded, orig.norms("field1")[1]);
433 IndexReader clonedReader = (IndexReader) orig.clone();
434 orig.close();
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/
H A DTestIndexReaderClone.java426 IndexReader orig = IndexReader.open(dir1, false);
427 orig.setNorm(1, "field1", 17.0f);
429 assertEquals(encoded, orig.norms("field1")[1]);
433 IndexReader clonedReader = (IndexReader) orig.clone();
434 orig.close();
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/function/distance/
H A DHaversineConstFunction.java125 private static VectorValueSource makeMV(List<ValueSource> sources, List<ValueSource> orig) throws ParseException { argument
130 throw new ParseException("geodist - invalid parameters:" + orig);
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DSegmentReader.java710 TermVectorsReader orig = core.getTermVectorsReaderOrig();
711 if (orig == null) {
715 tvReader = (TermVectorsReader) orig.clone();
/lucene-3.6.0/solr/core/src/java/org/apache/solr/schema/
H A DIndexSchema.java882 private static Object[] append(Object[] orig, Object item) { argument
883 Object[] newArr = (Object[])java.lang.reflect.Array.newInstance(orig.getClass().getComponentType(), orig.length+1);
884 System.arraycopy(orig, 0, newArr, 0, orig.length);
885 newArr[orig.length] = item;

Completed in 295 milliseconds