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

/lucene-3.6.0/lucene/contrib/spellchecker/src/test/org/apache/lucene/search/suggest/
H A DTermFreqArrayIterator.java33 private TermFreq current; field in class:TermFreqArrayIterator
49 return current.v;
55 current = i.next();
56 spare.copyBytes(current.term);
/lucene-3.6.0/solr/client/ruby/flare/vendor/plugins/engines/lib/
H A Dengines.rb84 # A reference to the current Rails::Initializer instance
169 def self.current singleton method in class:Engines
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/
H A DNewAnalyzerTask.java34 private int current; field in class:NewAnalyzerTask
57 if (current >= analyzerClassNames.size())
59 current = 0;
61 className = analyzerClassNames.get(current++);
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/common/util/
H A DIteratorChain.java32 private Iterator<E> current; field in class:IteratorChain
44 /** test if current iterator hasNext(), and if not try the next
49 if(current==null) {
51 current=itit.next();
57 boolean result = current.hasNext();
59 current = null;
70 if(current==null) {
73 return current.next();
/lucene-3.6.0/lucene/contrib/icu/src/java/org/apache/lucene/analysis/icu/segmentation/
H A DBreakIteratorWrapper.java50 abstract int current(); method in class:BreakIteratorWrapper
89 int current() { method in class:BreakIteratorWrapper.RBBIWrapper
90 return rbbi.current();
125 int current() { method in class:BreakIteratorWrapper.BIWrapper
126 return bi.current();
136 int current = bi.current();
138 status = calcStatus(current, next);
142 private int calcStatus(int current, int next) { argument
143 if (current
[all...]
H A DCharArrayIterator.java60 public char current() { method in class:CharArrayIterator
66 return current();
83 return current();
91 return current();
100 return current();
108 return current();
H A DCompositeBreakIterator.java71 * Retrieve the current break position.
73 * @return the current break position or BreakIterator.DONE
75 int current() { method in class:CompositeBreakIterator
76 final int current = rbbi.current();
77 return (current == BreakIterator.DONE) ? BreakIterator.DONE : current
92 * Retrieve the UScript script code for the current token. This code can be
95 * @return UScript script code for the current token.
H A DLaoBreakIterator.java49 * <li>backtrack and remove the ດ from the last syllable, placing it on the current syllable.
51 * <li>verify the modified current syllable (ດອກ) is now legal.
52 * <li>If 2 or 3 fails, then restore the ດ to the last syllable and skip the current character.
82 public int current() { method in class:LaoBreakIterator
83 int current = rules.current();
84 return current == BreakIterator.DONE ? BreakIterator.DONE : workingOffset + current;
113 int current = current();
171 verifyPushBack(int current, int next) argument
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DCoalescedDeletes.java88 Term current;
98 sub.current = iterator.next();
127 current = null;
129 return current;
142 || !(queue.top()).current.equals(top[0].current)) {
146 current = top[0].current;
153 top[i].current = top[i].iterator.next();
157 top[i].current
167 Term current; field in class:CoalescedDeletes.SubIterator
[all...]
H A DDirectoryReader.java64 // > our current segmentInfos version in case we were
341 return clone(readOnly); // Preserve current readOnly
374 // Preserve current readOnly
1164 protected TermDocs current; // == readerTermDocs[pointer] field in class:DirectoryReader.MultiTermDocs
1168 SegmentMergeInfo smi; // current segment mere info... can be null
1179 return base + current.doc();
1182 return current.freq();
1189 this.current = null;
1206 if (current!=null && current
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/
H A DReferenceManager.java43 protected volatile G current; field in class:ReferenceManager
48 if (current == null) {
55 final G oldReference = current;
56 current = newReference;
76 * Obtain the current reference. You must match every call to acquire with one
84 if ((ref = current) == null) {
98 if (current != null) {
H A DBooleanScorer.java110 // current score. This is required since Collector exposes a setScorer method
202 private Bucket current; field in class:BooleanScorer
233 // firstDocID is ignored since nextDoc() initializes 'current'
247 while (current != null) { // more queued
250 if ((current.bits & PROHIBITED_MASK) == 0) {
254 //&& (current.bits & requiredMask) == requiredMask) {
257 if (current.doc >= max){
258 tmp = current;
259 current = current
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/fst/
H A DBytesRefFSTEnum.java31 private final BytesRef current = new BytesRef(10); field in class:BytesRefFSTEnum
46 result.input = current;
47 current.offset = 1;
50 public InputOutput<T> current() { method in class:BytesRefFSTEnum
102 // current.offset fixed at 1
103 return current.bytes[upto] & 0xFF;
108 current.bytes[upto] = (byte) label;
113 current.grow(upto+1);
120 current.length = upto-1;
H A DIntsRefFSTEnum.java31 private final IntsRef current = new IntsRef(10); field in class:IntsRefFSTEnum
46 result.input = current;
47 current.offset = 1;
50 public InputOutput<T> current() { method in class:IntsRefFSTEnum
102 // current.offset fixed at 1
103 return current.ints[upto];
108 current.ints[upto] = label;
113 current.grow(upto+1);
120 current.length = upto-1;
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/packed/
H A DGrowableWriter.java30 private PackedInts.Mutable current; field in class:GrowableWriter
35 current = PackedInts.getMutable(valueCount, getSize(startBitsPerValue));
36 currentMaxValue = PackedInts.maxValue(current.getBitsPerValue());
48 return current.get(index);
52 return current.size();
56 return current.getBitsPerValue();
60 return current;
65 return current.getArray();
70 return current.hasArray();
83 next.set(i, current
[all...]
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/taxonomy/writercache/cl2o/
H A DCharBlockArray.java54 Block current; field in class:CharBlockArray
69 this.current = new Block(this.blockSize);
70 this.blocks.add(this.current);
86 if (this.current.length == this.blockSize) {
89 this.current.chars[this.current.length++] = c;
107 if (this.current.length == this.blockSize) {
111 int remainingInBlock = this.blockSize - this.current.length;
115 System.arraycopy(chars, offset, this.current.chars, this.current
[all...]
/lucene-3.6.0/solr/core/src/java/org/apache/solr/analysis/
H A DWordDelimiterIterator.java42 int current; field in class:WordDelimiterIterator
117 current = end;
118 if (current == DONE) {
123 current += 2;
129 while (current < endBounds && (isSubwordDelim(lastType = charType(text[current])))) {
130 current++;
133 if (current >= endBounds) {
137 for (end = current + 1; end < endBounds; end++) {
154 * Return the type of the current subwor
[all...]
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/compound/
H A DCompoundWordTokenFilterBase.java81 private AttributeSource.State current; field in class:CompoundWordTokenFilterBase
179 assert current != null;
181 restoreState(current); // keep all other attributes untouched
188 current = null; // not really needed, but for safety
195 current = captureState();
205 /** Decomposes the current {@link #termAtt} and places {@link CompoundToken} instances in the {@link #tokens} list.
214 current = null;
224 /** Construct the compound token based on a slice of the current {@link CompoundWordTokenFilterBase#termAtt}. */
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/util/
H A DCharArrayIterator.java62 public char current() { method in class:CharArrayIterator
70 return current();
87 return current();
95 return current();
104 return current();
112 return current();
/lucene-3.6.0/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/suggest/fst/
H A DSort.java83 * than {@link #MIN_BUFFER_SIZE_MB}. However if current heap allocation
305 return comparator.compare(a.current, b.current) < 0;
326 out.write(top.current);
327 if (!streams[top.fd].read(top.current)) {
366 final BytesRef current; field in class:Sort.FileAndTop
370 this.current = new BytesRef(firstLine);
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/tartarus/snowball/
H A DSnowballProgram.java54 current = new char[8];
61 * Set the current string.
65 current = value.toCharArray();
74 * Get the current string.
78 return new String(current, 0, limit);
82 * Set the current string.
87 current = text;
96 * Get the current buffer containing the stem.
110 return current;
122 // current strin
123 private char current[]; field in class:SnowballProgram
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/
H A DRamUsageEstimator.java146 // Initialize empirically measured defaults. We'll modify them to the current
274 * Returns true, if the current JVM is fully supported by {@code RamUsageEstimator}.
727 * Expand the internal storage buffers (capacity) or rehash current keys and
765 * Return the next possible capacity, counting from the current buffers' size.
767 protected int nextCapacity(int current) { argument
768 assert current > 0 && Long.bitCount(current) == 1 : "Capacity must be a power of two.";
769 assert ((current << 1) > 0) : "Maximum capacity exceeded ("
772 if (current < MIN_CAPACITY / 2) current
[all...]
/lucene-3.6.0/solr/contrib/dataimporthandler-extras/src/java/org/apache/solr/handler/dataimport/
H A DMailEntityProcessor.java415 private int current = 0; field in class:MailEntityProcessor.MessageIterator
431 current = 0;
457 current = 0;
464 boolean hasMore = current < messagesInCurBatch.length;
470 hasMore = current < messagesInCurBatch.length;
480 return hasNext() ? messagesInCurBatch[current++] : null;
540 // holds the current state
/lucene-3.6.0/solr/core/src/java/org/apache/solr/schema/
H A DIndexSchema.java417 // in the current case though, the stream is valid so we wont load the resource by name
748 public void add(Object current) { argument
749 if (!(current instanceof MultiTermAwareComponent)) return;
750 Object newComponent = ((MultiTermAwareComponent)current).getMultiTermComponent();

Completed in 49 milliseconds