/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/ |
H A D | TermsHashPerThread.java | 86 final DocumentsWriter.DocWriter doc2; 88 doc2 = nextPerThread.consumer.finishDocument(); 90 doc2 = null; 92 return doc2; 94 doc.setNext(doc2);
|
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/ |
H A D | ExactPhraseScorer.java | 110 int doc2 = cs.posEnum.doc(); 112 if (doc2 < doc) { 117 doc2 = cs.posEnum.doc(); 122 while(doc2 < doc) { 130 doc2 = cs.posEnum.doc(); 135 doc2 = cs.posEnum.doc(); 143 if (doc2 > doc) { 177 int doc2 = chunkStates[i].posEnum.doc(); 178 if (doc2 < doc) { 183 doc2 [all...] |
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/spans/ |
H A D | TestSpanFirstQuery.java | 42 Document doc2 = new Document(); 43 doc2.add(newField("field", "quick brown fox", Field.Index.ANALYZED)); 44 writer.addDocument(doc2);
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/spans/ |
H A D | TestSpanFirstQuery.java | 42 Document doc2 = new Document(); 43 doc2.add(newField("field", "quick brown fox", Field.Index.ANALYZED)); 44 writer.addDocument(doc2);
|
/lucene-3.6.0/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/builders/ |
H A D | TestNumericRangeQueryBuilder.java | 67 Document doc2 = getDocumentFromString(xml2); 68 Query filter2 = filterBuilder.getQuery(doc2.getDocumentElement()); 94 Document doc2 = getDocumentFromString(xml2); 95 Query filter2 = filterBuilder.getQuery(doc2.getDocumentElement()); 122 Document doc2 = getDocumentFromString(xml2); 123 Query filter2 = filterBuilder.getQuery(doc2.getDocumentElement()); 150 Document doc2 = getDocumentFromString(xml2); 152 Query filter2 = filterBuilder.getQuery(doc2.getDocumentElement());
|
H A D | TestNumericRangeFilterBuilder.java | 102 Document doc2 = getDocumentFromString(xml2); 103 Filter filter2 = filterBuilder.getFilter(doc2.getDocumentElement()); 130 Document doc2 = getDocumentFromString(xml2); 131 Filter filter2 = filterBuilder.getFilter(doc2.getDocumentElement()); 159 Document doc2 = getDocumentFromString(xml2); 160 Filter filter2 = filterBuilder.getFilter(doc2.getDocumentElement()); 188 Document doc2 = getDocumentFromString(xml2); 190 Filter filter2 = filterBuilder.getFilter(doc2.getDocumentElement());
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/ |
H A D | TestPhrasePrefixQuery.java | 45 Document doc2 = new Document(); 51 doc2.add(newField("body", "blueberry strudel", Field.Store.YES, 60 writer.addDocument(doc2);
|
H A D | TestBooleanQuery.java | 133 Document doc2 = new Document(); 134 doc2.add(newField("field", "foo baz", Field.Index.ANALYZED)); 135 iw2.addDocument(doc2);
|
H A D | TestDisjunctionMaxQuery.java | 395 String doc2 = s.doc(h[2].doc).get("id"); 404 assertEquals("wrong third", "d3", doc2); 449 String doc2 = s.doc(h[2].doc).get("id"); 454 assertEquals("doc2 should be d2: ", "d2", doc2);
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/ |
H A D | TestPhrasePrefixQuery.java | 45 Document doc2 = new Document(); 51 doc2.add(newField("body", "blueberry strudel", Field.Store.YES, 60 writer.addDocument(doc2);
|
H A D | TestBooleanQuery.java | 133 Document doc2 = new Document(); 134 doc2.add(newField("field", "foo baz", Field.Index.ANALYZED)); 135 iw2.addDocument(doc2);
|
H A D | TestDisjunctionMaxQuery.java | 395 String doc2 = s.doc(h[2].doc).get("id"); 404 assertEquals("wrong third", "d3", doc2); 449 String doc2 = s.doc(h[2].doc).get("id"); 454 assertEquals("doc2 should be d2: ", "d2", doc2);
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/index/ |
H A D | TestDirectoryReader.java | 34 private Document doc2; field in class:TestDirectoryReader 43 doc2 = new Document(); 45 DocHelper.setupDoc(doc2); 47 DocHelper.writeDoc(random, dir, doc2); 90 assertTrue(DocHelper.numFields(newDoc2) == DocHelper.numFields(doc2) - DocHelper.unstored.size());
|
H A D | TestSegmentMerger.java | 42 private Document doc2 = new Document(); field in class:TestSegmentMerger 53 DocHelper.setupDoc(doc2); 54 SegmentInfo info2 = DocHelper.writeDoc(random, merge2Dir, doc2); 98 assertTrue(DocHelper.numFields(newDoc2) == DocHelper.numFields(doc2) - DocHelper.unstored.size());
|
H A D | TestIndexWriterUnicode.java | 225 Document doc2 = ir.document(0); 228 assertEquals("field " + i + " is incorrect", utf8Data[2*i+1], doc2.getField("f"+i).stringValue());
|
H A D | TestAddIndexes.java | 580 Document doc2 = new Document(); 581 doc2.add(newField("content", "aaa bbb ccc ddd eee fff ggg hhh iii", Field.Store.YES, 583 doc2.add(newField("content", "aaa bbb ccc ddd eee fff ggg hhh iii", Field.Store.YES, 585 doc2.add(newField("content", "aaa bbb ccc ddd eee fff ggg hhh iii", Field.Store.YES, 587 doc2.add(newField("content", "aaa bbb ccc ddd eee fff ggg hhh iii", Field.Store.YES, 590 writer.addDocument(doc2); 1003 doc.add(newField("f2", "doc2 field2", Field.Store.YES, Field.Index.NOT_ANALYZED)); 1025 assertEquals("doc2 field2", d.get("f2"));
|
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/index/ |
H A D | TestDirectoryReader.java | 34 private Document doc2; field in class:TestDirectoryReader 43 doc2 = new Document(); 45 DocHelper.setupDoc(doc2); 47 DocHelper.writeDoc(random, dir, doc2); 86 assertTrue(DocHelper.numFields(newDoc2) == DocHelper.numFields(doc2) - DocHelper.unstored.size());
|
H A D | TestSegmentMerger.java | 42 private Document doc2 = new Document(); field in class:TestSegmentMerger 53 DocHelper.setupDoc(doc2); 54 SegmentInfo info2 = DocHelper.writeDoc(random, merge2Dir, doc2); 98 assertTrue(DocHelper.numFields(newDoc2) == DocHelper.numFields(doc2) - DocHelper.unstored.size());
|
H A D | TestIndexWriterUnicode.java | 225 Document doc2 = ir.document(0); 228 assertEquals("field " + i + " is incorrect", utf8Data[2*i+1], doc2.getField("f"+i).stringValue());
|
H A D | TestAddIndexes.java | 580 Document doc2 = new Document(); 581 doc2.add(newField("content", "aaa bbb ccc ddd eee fff ggg hhh iii", Field.Store.YES, 583 doc2.add(newField("content", "aaa bbb ccc ddd eee fff ggg hhh iii", Field.Store.YES, 585 doc2.add(newField("content", "aaa bbb ccc ddd eee fff ggg hhh iii", Field.Store.YES, 587 doc2.add(newField("content", "aaa bbb ccc ddd eee fff ggg hhh iii", Field.Store.YES, 590 writer.addDocument(doc2); 1003 doc.add(newField("f2", "doc2 field2", Field.Store.YES, Field.Index.NOT_ANALYZED)); 1025 assertEquals("doc2 field2", d.get("f2"));
|
/lucene-3.6.0/solr/solrj/src/test/org/apache/solr/client/solrj/ |
H A D | SolrExampleTests.java | 102 SolrInputDocument doc2 = new SolrInputDocument(); 103 doc2.addField( "id", "2", 1.0f ); 104 doc2.addField( "inStock", true, 1.0f ); 105 doc2.addField( "price", 2, 1.0f ); 106 doc2.addField( "timestamp_dt", new java.util.Date(), 1.0f ); 107 docs.add(doc2); 183 SolrInputDocument doc2 = new SolrInputDocument(); 184 doc2.addField( "id", "id2", 1.0f ); 185 doc2.addField( "name", "h\uD866\uDF05llo", 1.0f ); 186 doc2 [all...] |
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/document/ |
H A D | TestDocument.java | 251 Document doc2 = searcher.doc(hits[i].doc); 252 Field f = doc2.getField("id");
|
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/util/ |
H A D | _TestUtil.java | 511 final Document doc2 = new Document(); 521 doc2.add(field2); 524 return doc2;
|
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/document/ |
H A D | TestDocument.java | 254 Document doc2 = searcher.doc(hits[i].doc); 255 Field f = doc2.getField("id");
|
/lucene-3.6.0/dev-tools/scripts/ |
H A D | smokeTestRelease.py | 818 doc2 = None 824 doc2 = ET.XML(open(pomPath).read()) 830 doc2 = ET.XML(load(subURL)) 832 if doc2 is not None: break 834 groupId2, artifactId2, packaging2, POMversion = getPOMcoordinate(doc2)
|