Searched defs:addDocument (Results 1 - 15 of 15) sorted by relevance

/lucene-3.6.0/lucene/contrib/instantiated/src/test/org/apache/lucene/store/instantiated/
H A DTestMultiSegmentReaderOnConstructor.java38 addDocument(iw, "Hello, world!");
39 addDocument(iw, "All work and no play makes jack a dull boy");
43 addDocument(iw, "Hello, tellus!");
44 addDocument(iw, "All work and no play makes danny a dull boy");
48 addDocument(iw, "Hello, earth!");
49 addDocument(iw, "All work and no play makes wendy a dull girl");
67 private void addDocument(IndexWriter iw, String text) throws IOException { method in class:TestMultiSegmentReaderOnConstructor
70 iw.addDocument(doc);
H A DTestUnoptimizedReaderOnConstructor.java38 addDocument(iw, "Hello, world!");
39 addDocument(iw, "All work and no play makes jack a dull boy");
43 addDocument(iw, "Hello, tellus!");
44 addDocument(iw, "All work and no play makes danny a dull boy");
48 addDocument(iw, "Hello, earth!");
49 addDocument(iw, "All work and no play makes wendy a dull girl");
66 private void addDocument(IndexWriter iw, String text) throws IOException { method in class:TestUnoptimizedReaderOnConstructor
69 iw.addDocument(doc);
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/spans/
H A DTestSpansAdvanced.java61 addDocument(writer, "1", "I think it should work.");
62 addDocument(writer, "2", "I think it should work.");
63 addDocument(writer, "3", "I think it should work.");
64 addDocument(writer, "4", "I think it should work.");
87 protected void addDocument(final RandomIndexWriter writer, final String id, method in class:TestSpansAdvanced
95 writer.addDocument(document);
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/search/spans/
H A DTestSpansAdvanced.java61 addDocument(writer, "1", "I think it should work.");
62 addDocument(writer, "2", "I think it should work.");
63 addDocument(writer, "3", "I think it should work.");
64 addDocument(writer, "4", "I think it should work.");
87 protected void addDocument(final RandomIndexWriter writer, final String id, method in class:TestSpansAdvanced
95 writer.addDocument(document);
/lucene-3.6.0/solr/solrj/src/java/org/apache/solr/client/solrj/request/
H A DDocumentAnalysisRequest.java129 public DocumentAnalysisRequest addDocument(SolrInputDocument doc) { method in class:DocumentAnalysisRequest
141 * @see #addDocument(org.apache.solr.common.SolrInputDocument)
178 * @see #addDocument(org.apache.solr.common.SolrInputDocument)
/lucene-3.6.0/lucene/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/
H A DInstantiatedIndexWriter.java447 public void addDocument(Document doc) throws IOException { method in class:InstantiatedIndexWriter
448 addDocument(doc, getAnalyzer());
461 public void addDocument(Document doc, Analyzer analyzer) throws IOException { method in class:InstantiatedIndexWriter
462 addDocument(new InstantiatedDocument(doc), analyzer);
474 protected void addDocument(InstantiatedDocument document, Analyzer analyzer) throws IOException { method in class:InstantiatedIndexWriter
675 addDocument(doc, analyzer);
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/index/
H A DFieldsWriter.java232 final void addDocument(Document doc) throws IOException { method in class:FieldsWriter
H A DDocumentsWriter.java70 * Multiple threads are allowed into addDocument at once.
743 boolean addDocument(Document doc, Analyzer analyzer) throws CorruptIndexException, IOException { method in class:DocumentsWriter
H A DIndexWriter.java68 <p>In either case, documents are added with {@link #addDocument(Document)
69 addDocument} and removed with {@link #deleteDocuments(Term)} or {@link
92 addDocument calls (see <a href="#mergePolicy">below</a>
1596 /** Determines how often segment indices are merged by addDocument(). With
2033 public void addDocument(Document doc) throws CorruptIndexException, IOException { method in class:IndexWriter
2034 addDocument(doc, analyzer);
2043 * <p>See {@link #addDocument(Document)} for details on
2054 public void addDocument(Document doc, Analyzer analyzer) throws CorruptIndexException, IOException { method in class:IndexWriter
2069 handleOOM(oom, "addDocument");
2087 * <p>See {@link #addDocument(Documen
[all...]
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/
H A DNRTManager.java211 public long addDocument(Document d, Analyzer a) throws IOException { method in class:NRTManager.TrackingIndexWriter
212 writer.addDocument(d, a);
223 public long addDocument(Document d) throws IOException { method in class:NRTManager.TrackingIndexWriter
224 writer.addDocument(d);
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/search/
H A DTestNRTManager.java123 protected void addDocument(Term id, Document doc) throws Exception { method in class:TestNRTManager
124 final long gen = genWriter.addDocument(doc);
305 long gen = writer.addDocument(doc);
323 _writer.waitAfterUpdate = true; // wait in addDocument to let some reopens go through
/lucene-3.6.0/lucene/test-framework/src/java/org/apache/lucene/index/
H A DRandomIndexWriter.java103 * @see IndexWriter#addDocument(Document)
105 public void addDocument(final Document doc) throws IOException { method in class:RandomIndexWriter
113 w.addDocument(doc);
H A DThreadedIndexingAndSearchingTestCase.java102 protected void addDocument(Term id, Document doc) throws Exception { method in class:ThreadedIndexingAndSearchingTestCase
103 writer.addDocument(doc);
236 addDocument(new Term("docid", docid), doc);
/lucene-3.6.0/lucene/backwards/src/test-framework/java/org/apache/lucene/index/
H A DRandomIndexWriter.java99 * @see IndexWriter#addDocument(Document)
101 public void addDocument(final Document doc) throws IOException { method in class:RandomIndexWriter
109 w.addDocument(doc);
H A DThreadedIndexingAndSearchingTestCase.java102 protected void addDocument(Term id, Document doc) throws Exception { method in class:ThreadedIndexingAndSearchingTestCase
103 writer.addDocument(doc);
236 addDocument(new Term("docid", docid), doc);

Completed in 51 milliseconds