Searched refs:doc2 (Results 1 - 25 of 33) sorted by relevance

12

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DTermsHashPerThread.java86 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 DExactPhraseScorer.java110 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 DTestSpanFirstQuery.java42 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 DTestSpanFirstQuery.java42 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 DTestNumericRangeQueryBuilder.java67 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 DTestNumericRangeFilterBuilder.java102 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 DTestPhrasePrefixQuery.java45 Document doc2 = new Document();
51 doc2.add(newField("body", "blueberry strudel", Field.Store.YES,
60 writer.addDocument(doc2);
H A DTestBooleanQuery.java133 Document doc2 = new Document();
134 doc2.add(newField("field", "foo baz", Field.Index.ANALYZED));
135 iw2.addDocument(doc2);
H A DTestDisjunctionMaxQuery.java395 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 DTestPhrasePrefixQuery.java45 Document doc2 = new Document();
51 doc2.add(newField("body", "blueberry strudel", Field.Store.YES,
60 writer.addDocument(doc2);
H A DTestBooleanQuery.java133 Document doc2 = new Document();
134 doc2.add(newField("field", "foo baz", Field.Index.ANALYZED));
135 iw2.addDocument(doc2);
H A DTestDisjunctionMaxQuery.java395 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 DTestDirectoryReader.java34 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 DTestSegmentMerger.java42 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 DTestIndexWriterUnicode.java225 Document doc2 = ir.document(0);
228 assertEquals("field " + i + " is incorrect", utf8Data[2*i+1], doc2.getField("f"+i).stringValue());
H A DTestAddIndexes.java580 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 DTestDirectoryReader.java34 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 DTestSegmentMerger.java42 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 DTestIndexWriterUnicode.java225 Document doc2 = ir.document(0);
228 assertEquals("field " + i + " is incorrect", utf8Data[2*i+1], doc2.getField("f"+i).stringValue());
H A DTestAddIndexes.java580 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 DSolrExampleTests.java102 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 DTestDocument.java251 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.java511 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 DTestDocument.java254 Document doc2 = searcher.doc(hits[i].doc);
255 Field f = doc2.getField("id");
/lucene-3.6.0/dev-tools/scripts/
H A DsmokeTestRelease.py818 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)

Completed in 37 milliseconds

12