Searched defs:document (Results 1 - 25 of 52) sorted by relevance

123

/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/document/
H A DFieldSelector.java1 package org.apache.lucene.document;
22 * what Fields get loaded on a {@link Document} by {@link org.apache.lucene.index.IndexReader#document(int,org.apache.lucene.document.FieldSelector)}
H A DLoadFirstFieldSelector.java1 package org.apache.lucene.document;
H A DMapFieldSelector.java1 package org.apache.lucene.document;
H A DSetBasedFieldSelector.java1 package org.apache.lucene.document;
42 * initializing Sets, then {@link org.apache.lucene.document.FieldSelectorResult#NO_LOAD} is returned. If a Field name
H A DCompressionTools.java1 package org.apache.lucene.document;
H A DDateField.java1 package org.apache.lucene.document;
H A DFieldSelectorResult.java1 package org.apache.lucene.document;
H A DNumberTools.java1 package org.apache.lucene.document;
20 import org.apache.lucene.document.NumericField; // for javadocs
37 * {@link org.apache.lucene.document.DateField}).
H A DDateTools.java1 package org.apache.lucene.document;
/lucene-3.6.0/lucene/core/src/test/org/apache/lucene/document/
H A DTestBinaryDocument.java1 package org.apache.lucene.document;
62 /** open a reader and fetch the document */
64 Document docFromReader = reader.document(0);
79 /** delete the document from index */
101 /** open a reader and fetch the document */
103 Document docFromReader = reader.document(0);
H A DTestDateTools.java1 package org.apache.lucene.document;
H A DTestNumberTools.java1 package org.apache.lucene.document;
H A DTestDocument.java1 package org.apache.lucene.document;
295 iw.addDocument(doc); // add an 'ok' document
309 assertEquals("sometext", ir.document(0).get("field1"));
/lucene-3.6.0/lucene/backwards/src/test/org/apache/lucene/document/
H A DTestBinaryDocument.java1 package org.apache.lucene.document;
62 /** open a reader and fetch the document */
64 Document docFromReader = reader.document(0);
79 /** delete the document from index */
101 /** open a reader and fetch the document */
103 Document docFromReader = reader.document(0);
H A DTestDateTools.java1 package org.apache.lucene.document;
H A DTestNumberTools.java1 package org.apache.lucene.document;
H A DTestDocument.java1 package org.apache.lucene.document;
/lucene-3.6.0/lucene/contrib/instantiated/src/java/org/apache/lucene/store/instantiated/
H A DInstantiatedTermPositionVector.java25 * Extended vector space view of a document in an {@link InstantiatedIndexReader}.
35 public InstantiatedTermPositionVector(InstantiatedDocument document, String field) { argument
36 super(document, field);
H A DInstantiatedDocument.java19 import org.apache.lucene.document.Document;
26 * A document in the instantiated index object graph, optionally coupled to the vector space view.
28 * @see org.apache.lucene.document.Document
35 private Document document; field in class:InstantiatedDocument
38 this.document = new Document();
42 public InstantiatedDocument(Document document) { argument
43 this.document = document;
46 /** this is the unsafe index order document number. */
53 * @return position of document i
[all...]
H A DInstantiatedTermDocumentInformation.java25 * There is one instance of this class per indexed term in a document
26 * and it contains the meta data about each occurrence of a term in a document.
71 private InstantiatedDocument document; field in class:InstantiatedTermDocumentInformation
76 public InstantiatedTermDocumentInformation(InstantiatedTerm term, InstantiatedDocument document, int[] termPositions, byte[][] payloads) { argument
78 this.document = document;
110 return document;
129 void setDocument(InstantiatedDocument document) { argument
130 this.document = document;
[all...]
H A DInstantiatedTermFreqVector.java26 * Vector space view of a document in an {@link InstantiatedIndexReader}.
40 public InstantiatedTermFreqVector(InstantiatedDocument document, String field) { argument
42 termDocumentInformations = document.getVectorSpace().get(field);
/lucene-3.6.0/solr/contrib/uima/src/java/org/apache/solr/uima/processor/
H A DUIMAToSolrMapper.java34 * Map UIMA types and features over fields of a Solr document
42 private SolrInputDocument document; field in class:UIMAToSolrMapper
46 public UIMAToSolrMapper(SolrInputDocument document, JCas cas) { argument
47 this.document = document;
79 document.addField(fieldName, featureValue, 1.0f);
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/
H A DBenchmarkHighlighter.java21 import org.apache.lucene.document.Document;
26 Document document, Analyzer analyzer, String text ) throws Exception ;
25 doHighlight( IndexReader reader, int doc, String field, Document document, Analyzer analyzer, String text ) argument
/lucene-3.6.0/lucene/contrib/analyzers/common/src/test/org/apache/lucene/analysis/miscellaneous/
H A DPatternAnalyzerTest.java90 * Test PatternAnalyzer against a large document.
93 StringBuilder document = new StringBuilder();
97 document.append(largeWord);
100 document.append(' ');
105 document.append(largeWord2);
110 check(a, document.toString(), new String[] { new String(largeWord),
123 private void check(PatternAnalyzer analyzer, String document, argument
126 assertAnalyzesTo(analyzer, document, expected);
130 new PatternAnalyzer.FastStringReader(document));
134 TokenStream ts2 = analyzer.tokenStream("dummy", new StringReader(document));
[all...]
/lucene-3.6.0/lucene/contrib/instantiated/src/test/org/apache/lucene/store/instantiated/
H A DTestIndicesEquals.java30 import org.apache.lucene.document.Document;
31 import org.apache.lucene.document.Field;
70 Document document = new Document();
71 assembleDocument(document, i);
72 indexWriter.addDocument(document);
102 Document document = new Document();
103 assembleDocument(document, i);
104 indexWriter.addDocument(document);
111 Document document = new Document();
112 assembleDocument(document,
266 assembleDocument(Document document, int i) argument
[all...]

Completed in 113 milliseconds

123