Searched refs:current (Results 1 - 25 of 55) sorted by relevance

123

/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/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/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...]
H A DCommonGramsQueryFilter.java85 State current = captureState();
89 previous = current;
98 previous = current;
119 * Convenience method to check if the current type is a gram type
121 * @return {@code true} if the current type is a gram type, {@code false} otherwise
/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/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/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/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/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...]
H A DSearcherManager.java32 * Use {@link #acquire} to obtain the current searcher, and {@link #release} to
82 current = getSearcher(searcherFactory, IndexReader.open(writer, applyAllDeletes));
99 current = getSearcher(searcherFactory, IndexReader.open(dir));
/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 DBufferedDeletes.java103 Integer current = queries.put(query, docIDUpto);
105 if (current == null) {
116 Integer current = terms.get(term);
117 if (current != null && docIDUpto < current) {
119 // current one. This is important because if multiple
130 if (current == null) {
/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/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/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/lucene/contrib/spellchecker/src/test/org/apache/lucene/search/suggest/fst/
H A DBytesRefSortersTest.java38 byte [] current = new byte [random.nextInt(256)];
39 random.nextBytes(current);
40 sorter.add(new BytesRef(current));
H A DTestSort.java88 byte [] current = new byte [random.nextInt(256)];
89 random.nextBytes(current);
90 data.add(current);
91 howMuchData -= current.length;
/lucene-3.6.0/lucene/contrib/analyzers/smartcn/src/java/org/apache/lucene/analysis/cn/smart/hhmm/
H A DBiSegGraph.java169 int current;
176 for (current = 1; current <= nodeCount; current++) {
178 List<SegTokenPair> edges = getToList(current);
199 current = lastNode;
203 rpath.add(current);
204 while (current != 0) {
205 PathNode currentPathNode = path.get(current);
208 current
[all...]
/lucene-3.6.0/lucene/contrib/icu/src/test/org/apache/lucene/analysis/icu/segmentation/
H A DTestCharArrayIterator.java31 assertEquals('t', ci.current());
66 // Gets the character at the current position (as returned by getIndex()).
68 assertEquals('t', ci.current());
71 // or DONE if the current position is off the end of the text.
72 assertEquals(CharacterIterator.DONE, ci.current());
/lucene-3.6.0/solr/scripts/
H A Dsnapinstaller138 if [[ ${name} == `cat ${solr_root}/logs/snapshot.current 2>/dev/null` ]]
170 echo ${name} > ${solr_root}/logs/snapshot.current
174 ! scp -q -o StrictHostKeyChecking=no ${solr_root}/logs/snapshot.current ${master_host}:${master_status_dir}/snapshot.current.`uname -n`

Completed in 89 milliseconds

123