Searched refs:iter (Results 1 - 25 of 143) sorted by relevance

123456

/lucene-3.6.0/solr/solrj/src/test/org/apache/solr/client/solrj/response/
H A DFieldAnalysisResponseTest.java61 Iterator<AnalysisResponseBase.AnalysisPhase> iter = analysis.getIndexPhases().iterator();
62 assertTrue(iter.hasNext());
63 assertSame(expectedPhase, iter.next());
64 assertFalse(iter.hasNext());
65 iter = analysis.getQueryPhases().iterator();
66 assertTrue(iter.hasNext());
67 assertSame(expectedPhase, iter.next());
68 assertFalse(iter.hasNext());
71 iter = analysis.getIndexPhases().iterator();
72 assertTrue(iter
[all...]
/lucene-3.6.0/solr/core/src/test/org/apache/solr/spelling/
H A DSpellPossibilityIteratorTest.java99 PossibilityIterator iter = new PossibilityIterator(lotsaSuggestions, 1000, 10000);
101 while (iter.hasNext()) {
102 RankedSpellPossibility rsp = iter.next();
110 PossibilityIterator iter = new PossibilityIterator(suggestions, 1000, 10000);
112 while (iter.hasNext()) {
114 RankedSpellPossibility rsp = iter.next();
125 iter = new PossibilityIterator(suggestions, 100, 10000);
127 while (iter.hasNext()) {
128 iter.next();
134 iter
[all...]
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/
H A DBitDocSet.java85 private final OpenBitSetIterator iter = new OpenBitSetIterator(bits);
86 private int pos = iter.nextDoc();
101 pos=iter.nextDoc();
189 DocIterator iter = other.iterator();
190 while (iter.hasNext()) newbits.clear(iter.nextDoc());
201 DocIterator iter = other.iterator();
202 while (iter.hasNext()) newbits.set(iter.nextDoc());
/lucene-3.6.0/lucene/contrib/queries/src/java/org/apache/lucene/search/
H A DTermsFilter.java61 for (Iterator<Term> iter = terms.iterator(); iter.hasNext();)
63 Term term = iter.next();
94 for (Iterator<Term> iter = terms.iterator(); iter.hasNext();)
96 Term term = iter.next();
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/util/
H A DTestRollingCharBuffer.java29 for(int iter=0;iter<ITERS;iter++) {
38 System.out.println("\nTEST: iter=" + iter + " s.length()=" + s.length());
H A DTestPagedBytes.java30 for(int iter=0;iter<5*RANDOM_MULTIPLIER;iter++) {
80 for(int iter=0;iter<5*RANDOM_MULTIPLIER;iter++) {
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/util/
H A DTestPagedBytes.java28 for(int iter=0;iter<5*RANDOM_MULTIPLIER;iter++) {
/lucene-3.6.0/solr/core/src/test/org/apache/solr/util/
H A DPrimUtilsTest.java38 for (int iter=0; iter<100; iter++) {
H A DBitSetPerf.java52 System.out.println("BitSetTest <bitSetSize> <numSets> <numBitsSet> <testName> <iter> <impl>");
59 int iter = Integer.parseInt(args[4]);
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=0; it<iter; it++) {
140 for (int it=0; it<iter; it++) {
152 for (int it=0; it<iter; it++) {
171 for (int it=0; it<iter; it++) {
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/
H A DFixedBitSet.java185 public void or(DocIdSetIterator iter) throws IOException { argument
186 if (iter instanceof OpenBitSetIterator && iter.docID() == -1) {
187 final OpenBitSetIterator obs = (OpenBitSetIterator) iter;
194 while ((doc = iter.nextDoc()) < numBits) {
215 public void and(DocIdSetIterator iter) throws IOException { argument
216 if (iter instanceof OpenBitSetIterator && iter.docID() == -1) {
217 final OpenBitSetIterator obs = (OpenBitSetIterator) iter;
225 while (bitSetDoc != -1 && (disiDoc = iter
254 andNot(DocIdSetIterator iter) argument
[all...]
/lucene-3.6.0/solr/core/src/test/org/apache/solr/update/
H A DTestIndexingPerformance.java44 int iter=1000;
45 String iterS = System.getProperty("iter");
46 if (iterS != null) iter=Integer.parseInt(iterS);
94 for (int i=0; i<iter; i++) {
111 System.out.println("iter="+iter +" time=" + (end-start) + " throughput=" + ((long)iter*1000)/(end-start));
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/
H A DTestThreadSafe.java39 final int iter; field in class:TestThreadSafe.Thr
44 public Thr(int iter, Random rand, AtomicBoolean failed) { argument
45 this.iter = iter;
53 for (int i=0; i<iter; i++) {
126 void doTest(int iter, int nThreads) throws Exception { argument
130 tarr[i] = new Thr(iter, new Random(random.nextLong()), failed);
H A DTestScorerPerf.java160 public int doConjunctions(int iter, int maxClauses) throws IOException { argument
163 for (int i=0; i<iter; i++) {
183 public int doNestedConjunctions(int iter, int maxOuterClauses, int maxClauses) throws IOException { argument
187 for (int i=0; i<iter; i++) {
211 if (VERBOSE) System.out.println("Average number of matches="+(nMatches/iter));
219 int iter
224 for (int i=0; i<iter; i++) {
244 if (VERBOSE) System.out.println("Average number of matches="+(nMatches/iter));
254 int iter
258 for (int i=0; i<iter;
[all...]
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/
H A DTestThreadSafe.java39 final int iter; field in class:TestThreadSafe.Thr
44 public Thr(int iter, Random rand, AtomicBoolean failed) { argument
45 this.iter = iter;
53 for (int i=0; i<iter; i++) {
126 void doTest(int iter, int nThreads) throws Exception { argument
130 tarr[i] = new Thr(iter, new Random(random.nextLong()), failed);
H A DTestScorerPerf.java160 public int doConjunctions(int iter, int maxClauses) throws IOException { argument
163 for (int i=0; i<iter; i++) {
183 public int doNestedConjunctions(int iter, int maxOuterClauses, int maxClauses) throws IOException { argument
187 for (int i=0; i<iter; i++) {
211 if (VERBOSE) System.out.println("Average number of matches="+(nMatches/iter));
219 int iter
224 for (int i=0; i<iter; i++) {
244 if (VERBOSE) System.out.println("Average number of matches="+(nMatches/iter));
254 int iter
258 for (int i=0; i<iter;
[all...]
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/
H A DTestConcurrentMergeScheduler.java83 System.out.println("TEST: iter=" + i);
175 for(int iter=0;iter<7;iter++) {
177 System.out.println("TEST: iter=" + iter);
214 for(int iter=0;iter<10;iter++) {
217 idField.setValue(Integer.toString(iter*20
[all...]
H A DTestStressAdvance.java32 for(int iter=0;iter<3;iter++) {
34 System.out.println("\nTEST: iter=" + iter);
75 System.out.println("\nTEST: iter=" + iter + " iter2=" + iter2);
H A DTestThreadedForceMerge.java59 for(int iter=0;iter<NUM_ITER;iter++) {
60 final int iterFinal = iter;
111 final int expectedDocCount = (int) ((1+iter)*(200+8*NUM_ITER2*(NUM_THREADS/2.0)*(1+NUM_THREADS)));
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/
H A DTestConcurrentMergeScheduler.java83 System.out.println("TEST: iter=" + i);
175 for(int iter=0;iter<7;iter++) {
177 System.out.println("TEST: iter=" + iter);
214 for(int iter=0;iter<10;iter++) {
217 idField.setValue(Integer.toString(iter*20
[all...]
H A DTestStressAdvance.java31 for(int iter=0;iter<3;iter++) {
33 System.out.println("\nTEST: iter=" + iter);
74 System.out.println("\nTEST: iter=" + iter + " iter2=" + iter2);
H A DTestThreadedForceMerge.java59 for(int iter=0;iter<NUM_ITER;iter++) {
60 final int iterFinal = iter;
111 final int expectedDocCount = (int) ((1+iter)*(200+8*NUM_ITER2*(NUM_THREADS/2.0)*(1+NUM_THREADS)));
/lucene-3.6.0/solr/core/src/java/org/apache/solr/core/
H A DQuerySenderListener.java69 for (DocIterator iter = docs.iterator(); iter.hasNext();) {
70 newSearcher.doc(iter.nextDoc());
/lucene-3.6.0/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/
H A DMockDataSource.java41 Iterator<Map<String, Object>> iter) {
42 cache.put(query, iter);
40 setIterator(String query, Iterator<Map<String, Object>> iter) argument
/lucene-3.6.0/solr/core/src/test/org/apache/solr/request/
H A DTestFaceting.java215 // int iter=65536+10;
216 int iter=1000;
217 int commitInterval=iter/9;
219 for (int i=0; i<iter; i++) {
222 if (iter % commitInterval == 0) {
228 for (int i=0; i<iter; i+=iter/10) {
242 int i=iter-1;
/lucene-3.6.0/lucene/contrib/spellchecker/src/test/org/apache/lucene/search/suggest/
H A DTestBytesRefList.java93 BytesRefIterator iter = list.iterator(BytesRef
96 while ((spare = iter.next()) != null) {
101 assertNull(iter.next());

Completed in 213 milliseconds

123456