/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/analysis/ |
H A D | TestCharArrayMap.java | 30 public void doRandom(int iter, boolean ignoreCase) { argument 35 for (int i=0; i<iter; i++) {
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/analysis/ |
H A D | TestCharArrayMap.java | 30 public void doRandom(int iter, boolean ignoreCase) { argument 35 for (int i=0; i<iter; i++) {
|
/lucene-3.6.0/solr/contrib/dataimporthandler/src/java/org/apache/solr/handler/dataimport/ |
H A D | MockDataSource.java | 41 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/search/ |
H A D | TestFastLRUCache.java | 111 void doPerfTest(int iter, int cacheSize, int maxKey) { argument 121 for (int i=0; i<iter; i++) {
|
H A D | TestSearchPerf.java | 133 int doSetGen(int iter, Query q) throws Exception { argument 141 for (int i=0; i<iter; i++) { 147 System.out.println("ret="+ret+ " time="+(end-start)+" throughput="+iter*1000/(end-start+1)); 154 int doListGen(int iter, Query q, List<Query> filt, boolean cacheQuery, boolean cacheFilt) throws Exception { argument 168 for (int i=0; i<iter; i++) { 174 System.out.println("ret="+ret+ " time="+(end-start)+" throughput="+iter*1000/(end-start+1));
|
H A D | TestDocSet.java | 53 OpenBitSetIterator iter = new OpenBitSetIterator(bs); 55 docs[i] = iter.nextDoc(); 62 OpenBitSetIterator iter = new OpenBitSetIterator(bs); 64 docs[i] = iter.nextDoc(); 81 OpenBitSetIterator iter = new OpenBitSetIterator(bs); 84 arr[i] = iter.nextDoc(); 117 public void iter(DocSet d1, DocSet d2) { method in class:TestDocSet 149 iter(a1,b1); 150 iter(a2,b2); 167 public void doMany(int maxSz, int iter) { argument [all...] |
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/ |
H A D | TestTermdocPerf.java | 103 public int doTest(int iter, int ndocs, int maxTF, float percentDocs) throws IOException { argument 118 for (int i=0; i<iter; i++) { 126 if (VERBOSE) System.out.println("milliseconds for " + iter + " TermDocs iteration: " + (end-start));
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/ |
H A D | TestThreadSafe.java | 39 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 D | TestScorerPerf.java | 160 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/util/ |
H A D | TestFixedBitSet.java | 93 void doRandomSets(int maxSize, int iter, int mode) throws IOException { argument 97 for (int i=0; i<iter; i++) { 214 for(int iter=0;iter<10*RANDOM_MULTIPLIER;iter++) { 237 for(int iter=0;iter<10*RANDOM_MULTIPLIER;iter++) {
|
H A D | TestOpenBitSet.java | 121 void doRandomSets(int maxSize, int iter, int mode) { argument 125 for (int i=0; i<iter; i++) {
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/ |
H A D | TestTermdocPerf.java | 102 public int doTest(int iter, int ndocs, int maxTF, float percentDocs) throws IOException { argument 117 for (int i=0; i<iter; i++) { 125 if (VERBOSE) System.out.println("milliseconds for " + iter + " TermDocs iteration: " + (end-start));
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/ |
H A D | TestThreadSafe.java | 39 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 D | TestScorerPerf.java | 160 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/util/ |
H A D | TestFixedBitSet.java | 93 void doRandomSets(int maxSize, int iter, int mode) throws IOException { argument 97 for (int i=0; i<iter; i++) { 214 for(int iter=0;iter<10*RANDOM_MULTIPLIER;iter++) { 237 for(int iter=0;iter<10*RANDOM_MULTIPLIER;iter++) {
|
H A D | TestOpenBitSet.java | 121 void doRandomSets(int maxSize, int iter, int mode) { argument 125 for (int i=0; i<iter; i++) {
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/util/ |
H A D | FixedBitSet.java | 185 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/lucene/contrib/grouping/src/java/org/apache/lucene/search/grouping/ |
H A D | SearchGroup.java | 73 public final Iterator<SearchGroup<T>> iter; field in class:SearchGroup.ShardIter 78 iter = shard.iterator(); 79 assert iter.hasNext(); 83 assert iter.hasNext(); 84 final SearchGroup<T> group = iter.next(); 208 while(shard.iter.hasNext()) {
|
/lucene-3.6.0/solr/core/src/java/org/apache/solr/response/ |
H A D | XMLWriter.java | 662 public void writeArray(String name, Iterator iter) throws IOException { argument 663 if( iter.hasNext() ) { 666 while( iter.hasNext() ) { 667 writeVal(null, iter.next());
|
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/common/util/ |
H A D | JavaBinCodec.java | 369 public void writeIterator(Iterator iter) throws IOException { argument 371 while (iter.hasNext()) { 372 writeVal(iter.next());
|
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/util/ |
H A D | LuceneTestCase.java | 160 public static final int TEST_ITER = Integer.parseInt(System.getProperty("tests.iter", "1")); 162 public static final int TEST_ITER_MIN = Integer.parseInt(System.getProperty("tests.iter.min", Integer.toString(TEST_ITER))); 722 System.out.println("WARNING: you are using -Dtests.iter=n where n > 1, not all tests support this option."); 903 * @param iter Each next() is toString()ed and logged on it's own line. If iter is null this is logged differnetly then an empty iterator. 906 public static void dumpIterator(String label, Iterator<?> iter, argument 909 if (null == iter) { 912 while (iter.hasNext()) { 913 stream.println(iter.next().toString()); 926 Iterator<?> iter [all...] |
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/util/ |
H A D | LuceneTestCase.java | 135 public static final int TEST_ITER = Integer.parseInt(System.getProperty("tests.iter", "1")); 137 public static final int TEST_ITER_MIN = Integer.parseInt(System.getProperty("tests.iter.min", Integer.toString(TEST_ITER))); 567 System.out.println("WARNING: you are using -Dtests.iter=n where n > 1, not all tests support this option."); 744 * @param iter Each next() is toString()ed and logged on it's own line. If iter is null this is logged differnetly then an empty iterator. 747 public static void dumpIterator(String label, Iterator<?> iter, argument 750 if (null == iter) { 753 while (iter.hasNext()) { 754 stream.println(iter.next().toString()); 767 Iterator<?> iter [all...] |