Searched refs:index (Results 1 - 25 of 1286) sorted by relevance

1234567891011>>

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DTermPositionVector.java1 package org.apache.lucene.index;
27 * Terms are identified by the index at which its number appears in the
31 public int[] getTermPositions(int index); argument
39 * @param index The position in the array to get the offsets from
42 public TermVectorOffsetInfo [] getOffsets(int index); argument
H A DInvertedDocEndConsumerPerField.java1 package org.apache.lucene.index;
H A DSegmentTermPositionVector.java1 package org.apache.lucene.index;
34 * @param index The position in the array to get the offsets from
38 public TermVectorOffsetInfo[] getOffsets(int index) { argument
42 if (index >=0 && index < offsets.length)
44 result = offsets[index];
51 * Terms are identified by the index at which its number appears in the
54 public int[] getTermPositions(int index) { argument
58 if (index >=0 && index < position
[all...]
H A DCorruptIndexException.java18 package org.apache.lucene.index;
24 * an inconsistency in the index.
H A DDocConsumerPerThread.java1 package org.apache.lucene.index;
H A DIndexNotFoundException.java1 package org.apache.lucene.index;
23 * Signals that no index was found in the Directory. Possibly because the
24 * directory is empty, however can also indicate an index corruption.
H A DInvertedDocEndConsumerPerThread.java1 package org.apache.lucene.index;
H A DStaleReaderException.java18 package org.apache.lucene.index;
24 * tries to make changes to the index (via {@link
27 * but changes have already been committed to the index
29 * you must open a new reader on the current index to make
/lucene-3.6.0/solr/core/src/test/org/apache/solr/handler/component/
H A DDistributedTermsComponentTest.java33 index(id, 18, "b_t", "snake spider shark snail slug seal");
34 index(id, 19, "b_t", "snake spider shark snail slug");
35 index(id, 20, "b_t", "snake spider shark snail");
36 index(id, 21, "b_t", "snake spider shark");
37 index(id, 22, "b_t", "snake spider");
38 index(id, 23, "b_t", "snake");
39 index(id, 24, "b_t", "ant zebra");
40 index(id, 25, "b_t", "zebra");
50 query("qt", "/terms", "shards.qt", "/terms", "terms.limit", 5, "terms", "true", "terms.fl", "b_t", "terms.prefix", "s", "terms.lower", "s", "terms.sort", "index");
51 query("qt", "/terms", "shards.qt", "/terms", "terms.limit", 5, "terms", "true", "terms.fl", "b_t", "terms.prefix", "s", "terms.lower", "s", "terms.upper", "sn", "terms.sort", "index");
[all...]
H A DDistributedSpellCheckComponentTest.java93 index(id, "1", "lowerfilt", "toyota");
94 index(id, "2", "lowerfilt", "chevrolet");
95 index(id, "3", "lowerfilt", "suzuki");
96 index(id, "4", "lowerfilt", "ford");
97 index(id, "5", "lowerfilt", "ferrari");
98 index(id, "6", "lowerfilt", "jaguar");
99 index(id, "7", "lowerfilt", "mclaren");
100 index(id, "8", "lowerfilt", "sonata");
101 index(id, "9", "lowerfilt", "The quick red fox jumped over the lazy brown dogs.");
102 index(i
[all...]
/lucene-3.6.0/lucene/contrib/icu/src/java/org/apache/lucene/analysis/icu/segmentation/
H A DCharArrayIterator.java29 private int index; field in class:CharArrayIterator
55 this.index = start;
61 return (index == limit) ? DONE : array[index];
65 index = start;
78 return index - start;
82 index = (limit == start) ? limit : limit - 1;
87 if (++index >= limit) {
88 index = limit;
96 if (--index < star
[all...]
/lucene-3.6.0/lucene/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/
H A DInstantiatedTermPositionVector.java19 import org.apache.lucene.index.TermPositionVector;
20 import org.apache.lucene.index.TermVectorOffsetInfo;
27 * @see org.apache.lucene.index.TermPositionVector
39 public int[] getTermPositions(int index) { argument
40 return getTermDocumentInformations().get(index).getTermPositions();
43 public TermVectorOffsetInfo[] getOffsets(int index) { argument
44 return getTermDocumentInformations().get(index).getTermOffsets();
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/util/
H A DUnsafeByteArrayInputStream.java42 private int index; field in class:UnsafeByteArrayInputStream
54 markIndex = upperLimit = index = 0;
75 * first index (inclusive) to the data lying in the given buffer
77 * an index (exclusive) where the data ends. data @
86 markIndex = index;
112 * first index (inclusive) to the data lying in the given buffer
114 * an index (exclusive) where the data ends. data @
121 index = markIndex;
126 return upperLimit - index;
135 return index < upperLimi
[all...]
/lucene-3.6.0/solr/client/ruby/flare/app/controllers/
H A Di18n_controller.rb16 def index method in class:I18nController
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/nl/
H A DDutchStemmer.java84 int index = s.length() - end.length();
86 index >= _R1 &&
87 isValidEnEnding(sb, index - 1)
89 sb.delete(index, index + end.length());
90 unDouble(sb, index);
104 int index;
115 (index = s.length() - 2) >= _R1 &&
116 isValidSEnding(sb, index - 1)
118 sb.delete(index, inde
308 isValidSEnding(StringBuilder sb, int index) argument
319 isValidEnEnding(StringBuilder sb, int index) argument
[all...]
/lucene-3.6.0/solr/core/src/java/org/apache/solr/analysis/
H A DPatternTokenizer.java63 private int index; field in class:PatternTokenizer
76 index = 0;
81 if (index >= str.length()) return false;
90 index = matcher.start(group);
91 offsetAtt.setOffset(correctOffset(index), correctOffset(matcher.end(group)));
95 index = Integer.MAX_VALUE; // mark exhausted
102 if (matcher.start() - index > 0) {
104 termAtt.setEmpty().append(str, index, matcher.start());
105 offsetAtt.setOffset(correctOffset(index), correctOffset(matcher.start()));
106 index
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/
H A DOpenBitSet.java102 * with bit index 0 at the least significant bit, and bit index 63 at the most significant.
103 * Given a bit index,
104 * the word containing it is long[index/64], and it is at bit number index%64 within that word.
129 /** Returns the current capacity in bits (1 greater than the index of the last bit) */
161 /** Returns true or false for the specified bit index. */
162 public boolean get(int index) { argument
163 int i = index >> 6; // div 64
164 // signed shift will keep a negative index an
177 fastGet(int index) argument
191 get(long index) argument
202 fastGet(long index) argument
226 getBit(int index) argument
244 set(long index) argument
255 fastSet(int index) argument
266 fastSet(long index) argument
303 expandingWordNum(long index) argument
317 fastClear(int index) argument
335 fastClear(long index) argument
344 clear(long index) argument
430 getAndSet(int index) argument
443 getAndSet(long index) argument
456 fastFlip(int index) argument
467 fastFlip(long index) argument
476 flip(long index) argument
486 flipAndGet(int index) argument
498 flipAndGet(long index) argument
622 nextSetBit(int index) argument
643 nextSetBit(long index) argument
666 prevSetBit(int index) argument
699 prevSetBit(long index) argument
[all...]
H A DBits.java26 public boolean get(int index); argument
41 public boolean get(int index) { argument
60 public boolean get(int index) { argument
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/
H A DSearcherFactory.java23 import org.apache.lucene.index.IndexReader;
24 import org.apache.lucene.index.IndexWriter; // javadocs
25 import org.apache.lucene.index.IndexWriterConfig; // javadocs
/lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/util/
H A DCharArrayIterator.java31 private int index; field in class:CharArrayIterator
57 this.index = start;
63 return (index == limit) ? DONE : jreBugWorkaround(array[index]);
69 index = start;
82 return index - start;
86 index = (limit == start) ? limit : limit - 1;
91 if (++index >= limit) {
92 index = limit;
100 if (--index < star
[all...]
/lucene-3.6.0/lucene/contrib/highlighter/src/java/org/apache/lucene/search/highlight/
H A DSimpleHTMLEncoder.java45 for (int index=0; index<plainText.length(); index++)
47 char ch = plainText.charAt(index);
/lucene-3.6.0/lucene/contrib/queries/src/java/org/apache/lucene/search/
H A DChainedFilter.java22 import org.apache.lucene.index.IndexReader;
101 int[] index = new int[1]; // use array as reference to modifiable int;
102 index[0] = 0; // an object attribute would not be thread safe.
104 return getDocIdSet(reader, logic, index);
106 return getDocIdSet(reader, logicArray, index);
108 return getDocIdSet(reader, DEFAULT, index);
126 private OpenBitSetDISI initialResult(IndexReader reader, int logic, int[] index) argument
136 result = new OpenBitSetDISI(getDISI(chain[index[0]], reader), reader.maxDoc());
137 ++index[0];
141 result = new OpenBitSetDISI(getDISI(chain[index[
170 getDocIdSet(IndexReader reader, int logic, int[] index) argument
187 getDocIdSet(IndexReader reader, int[] logic, int[] index) argument
[all...]
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/index/attributes/
H A DCategoryProperty.java1 package org.apache.lucene.facet.index.attributes;
5 import org.apache.lucene.facet.index.CategoryContainer;
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/index/categorypolicy/
H A DOrdinalPolicy.java1 package org.apache.lucene.facet.index.categorypolicy;
5 import org.apache.lucene.facet.index.streaming.CategoryParentsStream;
H A DPathPolicy.java1 package org.apache.lucene.facet.index.categorypolicy;
5 import org.apache.lucene.facet.index.streaming.CategoryParentsStream;

Completed in 38 milliseconds

1234567891011>>