Searched defs:iterator (Results 1 - 25 of 62) sorted by relevance

123

/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/search/
H A DScoredDocIDs.java33 /** Returns an iterator over the document IDs and their scores. */
34 public ScoredDocIDsIterator iterator() throws IOException; method in interface:ScoredDocIDs
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/
H A DDocIdSet.java24 * only implement {@link #iterator} to provide access to the set.
31 private final DocIdSetIterator iterator = new DocIdSetIterator() {
41 public DocIdSetIterator iterator() {
42 return iterator;
53 * <code>{@linkplain #EMPTY_DOCIDSET}.iterator()</code> if there
55 public abstract DocIdSetIterator iterator() throws IOException; method in class:DocIdSet
H A DFieldCacheDocIdSet.java25 * of its iterator is very stupid and slow if the implementation of the
52 public final DocIdSetIterator iterator() throws IOException { method in class:FieldCacheDocIdSet
H A DFilteredDocIdSet.java71 public DocIdSetIterator iterator() throws IOException { method in class:FilteredDocIdSet
72 final DocIdSetIterator iterator = _innerSet.iterator();
73 if (iterator == null) {
76 return new FilteredDocIdSetIterator(iterator) {
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/index/attributes/
H A DCategoryAttributesIterable.java40 public Iterator<CategoryAttribute> iterator() { method in class:CategoryAttributesIterable
50 this.internalIterator = inputIterable.iterator();
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/index/streaming/
H A DCategoryAttributesStream.java46 private Iterator<CategoryAttribute> iterator; field in class:CategoryAttributesStream
57 this.iterator = null;
63 if (iterator == null) {
67 iterator = iterable.iterator();
69 if (iterator.hasNext()) {
70 categoryAttribute.set(iterator.next());
78 this.iterator = null;
/lucene-3.6.0/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/suggest/fst/
H A DBytesRefSorter.java38 * a call to {@link #iterator()} has been made.
44 * an iterator over all sorted entries.
48 BytesRefIterator iterator() throws IOException; method in interface:BytesRefSorter
H A DInMemorySorter.java47 public BytesRefIterator iterator() { method in class:InMemorySorter
49 return buffer.iterator(comparator);
H A DExternalRefSorter.java55 public BytesRefIterator iterator() throws IOException { method in class:ExternalRefSorter
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/analysis/
H A DCachingTokenFilter.java38 private Iterator<AttributeSource.State> iterator = null; field in class:CachingTokenFilter
51 iterator = cache.iterator();
54 if (!iterator.hasNext()) {
59 restoreState(iterator.next());
73 iterator = cache.iterator();
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/
H A DDocIdBitSet.java35 public DocIdSetIterator iterator() { method in class:DocIdBitSet
H A DMapBackedSet.java72 public Iterator<E> iterator() { method in class:MapBackedSet
73 return map.keySet().iterator();
H A DSortedVIntList.java33 * extends {@link DocIdSet}). Therefore its {@link #iterator()} assumes {@link
89 * @param docIdSetIterator An iterator providing document numbers as a set of integers.
179 * @return An iterator over the sorted integers.
182 public DocIdSetIterator iterator() { method in class:SortedVIntList
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/
H A DDocList.java70 * Returns an iterator that may be used to iterate over the documents in this DocList
73 * The order of the documents returned by this iterator is based on the
79 public DocIterator iterator(); method in interface:DocList
H A DBitDocSet.java55 public DocIterator iterator() {
83 public DocIterator iterator() { method in class:BitDocSet
189 DocIterator iter = other.iterator();
201 DocIterator iter = other.iterator();
/lucene-3.6.0/lucene/contrib/icu/src/test/org/apache/lucene/analysis/icu/segmentation/
H A DTestLaoBreakIterator.java43 private void assertBreaksTo(BreakIterator iterator, String sourceText, String tokens[]) { argument
47 iterator.setText(ci);
52 start = iterator.current();
53 end = iterator.next();
60 assertTrue(iterator.next() == BreakIterator.DONE);
/lucene-3.6.0/lucene/contrib/queries/src/java/org/apache/lucene/search/
H A DBooleanFilter.java100 return (set == null || set == DocIdSet.EMPTY_DOCIDSET) ? null : set.iterator();
122 /** Returns an iterator on the clauses in this query. It implements the {@link Iterable} interface to
126 public final Iterator<FilterClause> iterator() { method in class:BooleanFilter
127 return clauses().iterator();
/lucene-3.6.0/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/
H A DDIHCache.java78 * Returns an iterator, allowing callers to iterate through the entire cache
82 public Iterator<Map<String,Object>> iterator(); method in interface:DIHCache
86 * Returns an iterator, allowing callers to iterate through all documents that
90 public Iterator<Map<String,Object>> iterator(Object key); method in interface:DIHCache
H A DSortedMapBackedCache.java45 primaryKeyName = rec.keySet().iterator().next();
55 pk = c.iterator().next();
115 public Iterator<Map<String,Object>> iterator(Object key) { method in class:SortedMapBackedCache
119 return Collections.<Map<String,Object>>emptyList().iterator();
121 return val.iterator();
124 public Iterator<Map<String,Object>> iterator() { method in class:SortedMapBackedCache
131 theMapIter = theMap.entrySet().iterator();
148 currentKeyResultIter = currentKeyResult.iterator();
170 currentKeyResultIter = currentKeyResult.iterator();
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/search/cache/
H A DCategoryListData.java97 public CategoryListIterator iterator(int partition) throws IOException { method in class:CategoryListData
102 * Internal: category list iterator over uncompressed category info in RAM
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/search/sampling/
H A DTakmiSampleFixer.java105 docIds.iterator());
158 * utility: advance the iterator until finding (or exceeding) specific
161 * @param iterator
162 * iterator being advanced
165 * @return false if iterator exhausted, true otherwise.
167 private static boolean advance(ScoredDocIDsIterator iterator, int targetDoc) { argument
168 while (iterator.next()) {
169 if (iterator.getDocID() >= targetDoc) {
/lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/util/
H A DScoredDocIdsUtils.java59 complement = new OpenBitSetDISI(docIdSet.iterator(), maxDoc);
81 DocIdSetIterator it = set.iterator();
104 ScoredDocIDsIterator it = allDocIds.iterator();
124 public DocIdSetIterator iterator() throws IOException {
154 public ScoredDocIDsIterator iterator() throws IOException {
192 public ScoredDocIDsIterator iterator() throws IOException {
193 final DocIdSetIterator docIterator = docIdSet.iterator();
214 openBitSetDISI = new OpenBitSetDISI(docIdSet.iterator(), maxDoc);
250 public DocIdSetIterator iterator() throws IOException {
278 public ScoredDocIDsIterator iterator() { method in class:ScoredDocIdsUtils.AllDocsScoredDocIDs
367 public ScoredDocIDsIterator iterator() { method in class:ScoredDocIdsUtils.AllLiveDocsScoredDocIDs
[all...]
/lucene-3.6.0/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/suggest/
H A DBytesRefList.java165 * sugar for {@link #iterator(Comparator)} with a <code>null</code> comparator
167 public BytesRefIterator iterator() { method in class:BytesRefList
168 return iterator(null);
174 * iterator provides access to all so far appended {@link BytesRef} instances.
177 * If a non <code>null</code> {@link Comparator} is provided the iterator will
185 public BytesRefIterator iterator(final Comparator<BytesRef> comp) { method in class:BytesRefList
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DCoalescedDeletes.java51 public Iterator<Term> iterator() {
54 subs.add(iterable.iterator());
64 public Iterator<QueryAndLimit> iterator() {
66 private final Iterator<Map.Entry<Query,Integer>> iter = queries.entrySet().iterator();
95 for (Iterator<Term> iterator : iterators) {
96 if (iterator.hasNext()) {
98 sub.current = iterator.next();
99 sub.iterator = iterator;
112 if (top[i].iterator
166 Iterator<Term> iterator; field in class:CoalescedDeletes.SubIterator
[all...]
H A DPrefixCodedTerms.java46 /** @return iterator over the bytes */
47 public Iterator<Term> iterator() { method in class:PrefixCodedTerms

Completed in 156 milliseconds

123