| /lucene-3.6.0/solr/core/src/test/org/apache/solr/util/ |
| H A D | BitSetPerf.java | 82 for (int it=0; it<iter; it++) { 96 for (int it=0; it<iter; it++) { 108 for (int it=0; it<iter; it++) { 122 for (int it [all...] |
| /lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/search/sampling/ |
| H A D | RandomSampler.java | 49 ScoredDocIDsIterator it = docids.iterator(); 56 it.next(); 59 sample[i++] = it.getDocID(); 63 it.next(); 64 sample[i++] = it.getDocID();
|
| H A D | RepeatableSampler.java | 150 ScoredDocIDsIterator it = collection.iterator(); 165 it.next(); 169 it = collection.iterator(); 171 it.next(); 174 sample[sampleCount++] = it.getDocID(); 191 * size N will span a collection of N**2 elements once. If the sample is bigger than N, it will 262 * below the minimum until it fills up, and a larger PQ contains more small values to be purged, 281 ScoredDocIDsIterator it = collection.iterator(); 282 while (it.next()) { 283 pq.insertWithReuse((int)(it [all...] |
| /lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/query/ |
| H A D | SrndTermQuery.java | 51 Term it= enumerator.term(); /* same or following index term */ 52 if ((it != null) 53 && it.text().equals(getTermText()) 54 && it.field().equals(fieldName)) { 55 mtv.visitMatchingTerm(it);
|
| /lucene-3.6.0/lucene/contrib/spellchecker/src/test/org/apache/lucene/search/spell/ |
| H A D | TestLuceneDictionary.java | 44 private BytesRefIterator it; field in class:TestLuceneDictionary 92 it = ld.getWordsIterator(); 94 assertNull("More elements than expected", spare = it.next()); 105 it = ld.getWordsIterator(); 106 assertNotNull("First element doesn't exist.", spare = it.next()); 108 assertNull("More elements than expected", it.next()); 119 it = ld.getWordsIterator(); 121 assertNotNull("First element doesn't exist.", spare = it.next()); 123 assertNotNull("Second element doesn't exist.", spare = it.next()); 125 assertNull("More elements than expected", it [all...] |
| /lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/ |
| H A D | CloseableThreadLocal.java | 28 * it can take an arbitrarily long amount of time to 29 * dereference the things you had stored in it, even once the 36 * the memory will be reclaimed, it can take a long time 45 * reclaim space by objects stored in it. 47 * We can not rely on {@link ThreadLocal#remove()} as it 67 // On each get or set we decrement this; when it hits 0 we 113 for (Iterator<Thread> it = hardRefs.keySet().iterator(); it.hasNext();) { 114 final Thread t = it.next(); 116 it [all...] |
| /lucene-3.6.0/solr/core/src/java/org/apache/solr/analysis/ |
| H A D | ItalianLightStemFilterFactory.java | 21 import org.apache.lucene.analysis.it.ItalianLightStemFilter;
|
| /lucene-3.6.0/lucene/core/src/java/org/apache/lucene/analysis/ |
| H A D | TeeSinkTokenFilter.java | 114 for (Iterator<AttributeImpl> it = this.cloneAttributes().getAttributeImplsIterator(); it.hasNext(); ) { 115 sink.addAttributeImpl(it.next()); 189 private Iterator<AttributeSource.State> it = null; field in class:TeeSinkTokenFilter.SinkTokenStream 202 if (it != null) { 215 if (it == null) { 216 it = cachedStates.iterator(); 219 if (!it.hasNext()) { 223 AttributeSource.State state = it.next(); 237 it [all...] |
| /lucene-3.6.0/lucene/core/src/test/org/apache/lucene/util/ |
| H A D | TestAttributeSource.java | 89 final Iterator<Class<? extends Attribute>> it = clone.getAttributeClassesIterator(); 90 assertEquals("FlagsAttribute must be the first attribute", FlagsAttribute.class, it.next()); 91 assertEquals("TypeAttribute must be the second attribute", TypeAttribute.class, it.next()); 92 assertFalse("No more attributes", it.hasNext()); 121 Iterator<AttributeImpl> it = src.getAttributeImplsIterator(); 122 assertTrue("Iterator should have 2 attributes left", it.hasNext()); 123 assertSame("First AttributeImpl from iterator should be termAtt", termAtt, it.next()); 124 assertTrue("Iterator should have 1 attributes left", it.hasNext()); 125 assertSame("Second AttributeImpl from iterator should be typeAtt", typeAtt, it.next()); 126 assertFalse("Iterator should have 0 attributes left", it [all...] |
| /lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/util/ |
| H A D | TestAttributeSource.java | 89 final Iterator<Class<? extends Attribute>> it = clone.getAttributeClassesIterator(); 90 assertEquals("FlagsAttribute must be the first attribute", FlagsAttribute.class, it.next()); 91 assertEquals("TypeAttribute must be the second attribute", TypeAttribute.class, it.next()); 92 assertFalse("No more attributes", it.hasNext()); 121 Iterator<AttributeImpl> it = src.getAttributeImplsIterator(); 122 assertTrue("Iterator should have 2 attributes left", it.hasNext()); 123 assertSame("First AttributeImpl from iterator should be termAtt", termAtt, it.next()); 124 assertTrue("Iterator should have 1 attributes left", it.hasNext()); 125 assertSame("Second AttributeImpl from iterator should be typeAtt", typeAtt, it.next()); 126 assertFalse("Iterator should have 0 attributes left", it [all...] |
| /lucene-3.6.0/lucene/core/src/java/org/apache/lucene/document/ |
| H A D | Document.java | 29 * case it is returned with search hits on the document. Thus each document 31 * it. 67 * time was ignored - it was just combined with other indexing time factors and 103 Iterator<Fieldable> it = fields.iterator(); 104 while (it.hasNext()) { 105 Fieldable field = it.next(); 107 it.remove(); 123 Iterator<Fieldable> it = fields.iterator(); 124 while (it.hasNext()) { 125 Fieldable field = it [all...] |
| /lucene-3.6.0/solr/solrj/src/java/org/apache/solr/common/util/ |
| H A D | IteratorChain.java | 34 public void addIterator(Iterator<E> it) { argument 36 iterators.add(it); 67 * otherwise it's a bit hard to keep track of what's happening
|
| /lucene-3.6.0/lucene/contrib/facet/src/java/org/apache/lucene/facet/taxonomy/writercache/lru/ |
| H A D | NameIntCacheLRU.java | 134 Iterator<Object> it = cache.keySet().iterator(); 136 while (i<n && it.hasNext()) { 137 it.next(); 138 it.remove();
|
| /lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/nodes/ |
| H A D | OrQueryNode.java | 68 for (Iterator<QueryNode> it = getChildren().iterator(); it.hasNext();) { 69 sb.append(filler).append(it.next().toQueryString(escapeSyntaxParser));
|
| /lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/processors/ |
| H A D | RemoveDeletedQueryNodesProcessor.java | 68 for (Iterator<QueryNode> it = children.iterator(); it.hasNext();) { 70 if (!(it.next() instanceof DeletedQueryNode)) {
|
| /lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/ |
| H A D | TestSpanQueryFilter.java | 50 assertTrue("docIdSet is null and it shouldn't be", docIdSet != null); 53 assertTrue("spans is null and it shouldn't be", spans != null); 57 assertTrue("info is null and it shouldn't be", info != null); 69 DocIdSetIterator it = docIdSet.iterator(); 70 while (it.nextDoc() != DocIdSetIterator.NO_MORE_DOCS) { 77 DocIdSetIterator it = docIdSet.iterator(); 78 assertTrue(msg, it.advance(docId) != DocIdSetIterator.NO_MORE_DOCS); 79 assertTrue(msg, it.docID() == docId);
|
| /lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/ |
| H A D | TestSpanQueryFilter.java | 50 assertTrue("docIdSet is null and it shouldn't be", docIdSet != null); 53 assertTrue("spans is null and it shouldn't be", spans != null); 57 assertTrue("info is null and it shouldn't be", info != null); 69 DocIdSetIterator it = docIdSet.iterator(); 70 while (it.nextDoc() != DocIdSetIterator.NO_MORE_DOCS) { 77 DocIdSetIterator it = docIdSet.iterator(); 78 assertTrue(msg, it.advance(docId) != DocIdSetIterator.NO_MORE_DOCS); 79 assertTrue(msg, it.docID() == docId);
|
| /lucene-3.6.0/solr/core/src/java/org/apache/solr/update/processor/ |
| H A D | TextProfileSignature.java | 79 // add it 96 // add it 107 Iterator<Token> it = tokens.values().iterator(); 117 while (it.hasNext()) { 118 Token t = it.next(); 129 it = profile.iterator(); 130 while (it.hasNext()) { 131 Token t = it.next();
|
| /lucene-3.6.0/solr/solrj/src/test/org/apache/solr/common/util/ |
| H A D | IteratorChainTest.java | 96 /** dump the contents of it to a String */ 97 private String getString(Iterator<String> it) { argument 100 while(it.hasNext()) { 101 sb.append(it.next());
|
| /lucene-3.6.0/lucene/contrib/spellchecker/src/java/org/apache/lucene/search/suggest/ |
| H A D | Lookup.java | 118 BytesRefIterator it = dict.getWordsIterator(); 120 if (it instanceof TermFreqIterator) { 121 tfit = (TermFreqIterator)it; 123 tfit = new TermFreqIterator.TermFreqIteratorWrapper(it); 154 * Discard current lookup data and load it from a previously saved copy.
|
| /lucene-3.6.0/lucene/contrib/analyzers/common/src/java/org/apache/lucene/analysis/it/ |
| H A D | ItalianLightStemmer.java | 1 package org.apache.lucene.analysis.it;
|
| /lucene-3.6.0/lucene/contrib/facet/src/test/org/apache/lucene/facet/example/ |
| H A D | TestAssociationExample.java | 48 Iterable<? extends FacetResultNode> it = res.getFacetResults().get(0).getFacetResultNode().getSubResults(); 50 for (FacetResultNode fResNode : it) {
|
| /lucene-3.6.0/lucene/contrib/icu/src/tools/java/org/apache/lucene/analysis/icu/ |
| H A D | GenerateHTMLStripCharFilterSupplementaryMacros.java | 81 for (UnicodeSetIterator it = new UnicodeSetIterator(set); it.next();) { 82 char utf16[] = Character.toChars(it.codepoint);
|
| H A D | GenerateJFlexSupplementaryMacros.java | 95 for (UnicodeSetIterator it = new UnicodeSetIterator(set); it.next();) { 96 char utf16[] = Character.toChars(it.codepoint);
|
| /lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/ |
| H A D | FilterManager.java | 31 * This class makes it possible to cache Filters even when using RMI, as it 80 // set to be a Daemon so it doesn't have to be stopped 86 * Sets the max size that cache should reach before it is cleaned up 144 * so when it's time to clean up we have the TreeSet sort the FilterItems by 150 * This way we clean the cache a bit more, and avoid having the cache cleaner having to do it frequently. 186 Iterator<Map.Entry<Integer,FilterItem>> it = sortedFilterItems.iterator(); 190 while (it.hasNext() && counter++ < numToDelete) { 191 Map.Entry<Integer,FilterItem> entry = it.next();
|