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

/lucene-3.6.0/lucene/contrib/grouping/src/java/org/apache/lucene/search/grouping/
H A DTermFirstPassGroupingCollector.java67 protected String copyDocGroupValue(String groupValue, String reuse) { argument
H A DAbstractFirstPassGroupingCollector.java223 // reuse the removed CollectedSearchGroup
346 * groupValue in the new instance. Or optionally the reuse argument can be used to copy the group value in.
349 * @param reuse Optionally a reuse instance to prevent a new instance creation
352 protected abstract GROUP_VALUE_TYPE copyDocGroupValue(GROUP_VALUE_TYPE groupValue, GROUP_VALUE_TYPE reuse); argument
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/synonym/
H A DWordnetSynonymParser.java83 private CharsRef parseSynonym(String line, CharsRef reuse) throws IOException { argument
84 if (reuse == null) {
85 reuse = new CharsRef(8);
92 return analyze(analyzer, text, reuse);
H A DSynonymMap.java88 * SynonymMap#WORD_SEPARATOR}. reuse and its chars
90 public static CharsRef join(String[] words, CharsRef reuse) { argument
92 char[] buffer = reuse.chars;
96 reuse.grow(upto);
97 buffer = reuse.chars;
105 reuse.grow(needed);
106 buffer = reuse.chars;
113 return reuse;
118 * reuse and its chars must not be null. */
119 public static CharsRef analyze(Analyzer analyzer, String text, CharsRef reuse) throw argument
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DTermInfosReaderIndex.java222 private int compareTo(Term term, BytesRef termBytesRef, int termIndex, PagedBytesDataInput input, BytesRef reuse) throws IOException { argument
227 reuse.length = input.readVInt();
228 reuse.grow(reuse.length);
229 input.readBytes(reuse.bytes, 0, reuse.length);
230 return comparator.compare(termBytesRef, reuse);

Completed in 40 milliseconds