/lucene-3.6.0/solr/core/src/test/org/apache/solr/search/ |
H A D | TestFiltering.java | 155 String makeRandomQuery(Model model, boolean mainQuery, boolean facetQuery) { argument 162 OpenBitSet[] sets = facetQuery ? new OpenBitSet[]{model.facetQuery} : 163 (exclude ? new OpenBitSet[]{model.answer, model.facetQuery} : new OpenBitSet[]{model.answer, model.multiSelect, model.facetQuery}); 175 int ll = random.nextInt(model.indexSize); 176 int uu = ll + ((ll==model.indexSize-1) ? 0 : random.nextInt(model [all...] |
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/util/ |
H A D | StoreClassNameRule.java | 22 import org.junit.runners.model.Statement;
|
H A D | UncaughtExceptionsRule.java | 29 import org.junit.runners.model.MultipleFailureException; 30 import org.junit.runners.model.Statement;
|
H A D | SystemPropertiesInvariantRule.java | 31 import org.junit.runners.model.MultipleFailureException; 32 import org.junit.runners.model.Statement;
|
H A D | SystemPropertiesRestoreRule.java | 24 import org.junit.runners.model.Statement;
|
H A D | LuceneTestCaseRunner.java | 38 import org.junit.runners.model.FrameworkMethod; 39 import org.junit.runners.model.InitializationError;
|
H A D | LuceneTestCase.java | 87 import org.junit.runners.model.MultipleFailureException; 88 import org.junit.runners.model.Statement;
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/ |
H A D | TestStressNRT.java | 44 final ConcurrentHashMap<Integer,Long> model = new ConcurrentHashMap<Integer,Long>(); field in class:TestStressNRT 60 model.put(i, -1L); 63 committedModel.putAll(model); 129 newCommittedModel = new HashMap<Integer,Long>(model); // take a snapshot 190 System.out.println("TEST: " + Thread.currentThread().getName() + ": install new model version=" + version); 196 System.out.println("TEST: " + Thread.currentThread().getName() + ": skip install new model version=" + version); 224 Long val = model.get(id); 242 model.put(id, -nextVal); 258 model.put(id, -nextVal); 272 model [all...] |
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/ |
H A D | TestStressNRT.java | 44 final ConcurrentHashMap<Integer,Long> model = new ConcurrentHashMap<Integer,Long>(); field in class:TestStressNRT 60 model.put(i, -1L); 63 committedModel.putAll(model); 129 newCommittedModel = new HashMap<Integer,Long>(model); // take a snapshot 190 System.out.println("TEST: " + Thread.currentThread().getName() + ": install new model version=" + version); 196 System.out.println("TEST: " + Thread.currentThread().getName() + ": skip install new model version=" + version); 224 Long val = model.get(id); 242 model.put(id, -nextVal); 258 model.put(id, -nextVal); 272 model [all...] |
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/util/junitcompat/ |
H A D | TestJUnitRuleOrder.java | 33 import org.junit.runners.model.Statement;
|
H A D | WithNestedTests.java | 31 import org.junit.runners.model.Statement;
|
H A D | TestReproduceMessage.java | 34 import org.junit.runners.model.Statement;
|
/lucene-3.6.0/solr/core/src/test/org/apache/solr/ |
H A D | TestGroupingSearch.java | 587 Map<Comparable, Doc> model = indexDocs(types, null, indexSize); 592 model.clear(); 598 model.put(d1.id, d1); 605 model.put(d1.id, d1); 612 model.put(d1.id, d1); 619 model.put(d1.id, d1); 626 model.put(d1.id, d1); 633 int rows = random.nextInt(10)==0 ? random.nextInt(model.size()+2) : random.nextInt(11)-1; 634 int start = random.nextInt(5)==0 ? random.nextInt(model.size()+2) : random.nextInt(5); // pick a small start normally for better coverage 635 int group_limit = random.nextInt(10)==0 ? random.nextInt(model [all...] |
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/util/ |
H A D | LuceneTestCaseRunner.java | 38 import org.junit.runners.model.FrameworkMethod; 39 import org.junit.runners.model.InitializationError;
|
H A D | LuceneTestCase.java | 61 import org.junit.runners.model.FrameworkMethod; 62 import org.junit.runners.model.Statement;
|
/lucene-3.6.0/solr/test-framework/src/java/org/apache/solr/ |
H A D | SolrTestCaseJ4.java | 884 public Map<Comparable,Doc> indexDocs(List<FldType> descriptor, Map<Comparable,Doc> model, int nDocs) throws Exception { argument 885 if (model == null) { 886 model = new LinkedHashMap<Comparable,Doc>(); 896 model.put(doc.id, doc); 906 model.put(doc.id, doc); 919 String responseStr = h.query(req("q","*:*", "fl","id", "sort","_docid_ asc", "rows",Integer.toString(model.size()*2), "wt","json", "indent","true")); 928 Doc modelDoc = model.get(id); 933 // make sure we updated the order of all docs in the model 934 assertEquals(order, model.size()); 936 return model; 1091 invertField(Map<Comparable, Doc> model, String field) argument [all...] |