|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Document | |
|---|---|
| gate.creole.annic.apache.lucene.index | Code to maintain and access indices. |
| gate.creole.annic.apache.lucene.search | Search over indices. |
| gate.creole.annic.lucene | |
| Uses of Document in gate.creole.annic.apache.lucene.index |
|---|
| Methods in gate.creole.annic.apache.lucene.index that return Document | |
|---|---|
(package private) Document |
FieldsReader.doc(int n)
|
Document |
FilterIndexReader.document(int n)
|
abstract Document |
IndexReader.document(int n)
Returns the stored fields of the nth
Document in this index. |
Document |
MultiReader.document(int n)
|
Document |
SegmentReader.document(int n)
|
| Methods in gate.creole.annic.apache.lucene.index with parameters of type Document | |
|---|---|
void |
FieldInfos.add(Document doc)
Adds field info for a Document. |
(package private) void |
FieldsWriter.addDocument(Document doc)
|
void |
IndexWriter.addDocument(Document doc)
Adds a document to this index. |
void |
IndexWriter.addDocument(Document doc,
Analyzer analyzer)
Adds a document to this index, using the provided analyzer instead of the value of IndexWriter.getAnalyzer(). |
(package private) void |
DocumentWriter.addDocument(String segment,
Document doc)
|
private void |
DocumentWriter.invertDocument(Document doc)
|
private void |
DocumentWriter.writeNorms(Document doc,
String segment)
|
| Uses of Document in gate.creole.annic.apache.lucene.search |
|---|
| Fields in gate.creole.annic.apache.lucene.search declared as Document | |
|---|---|
(package private) Document |
HitDoc.doc
|
| Methods in gate.creole.annic.apache.lucene.search that return Document | |
|---|---|
Document |
Hits.doc(int n)
Returns the stored fields of the nth document in this set. |
Document |
IndexSearcher.doc(int i)
|
Document |
Searchable.doc(int i)
Expert: Returns the stored fields of document i. |
| Uses of Document in gate.creole.annic.lucene |
|---|
| Methods in gate.creole.annic.lucene that return types with arguments of type Document | |
|---|---|
List<Document> |
LuceneDocument.createDocuments(String corpusPersistenceID,
Document gateDoc,
String documentID,
ArrayList<String> annotSetsToInclude,
ArrayList<String> annotSetsToExclude,
ArrayList<String> featuresToInclude,
ArrayList<String> featuresToExclude,
String indexLocation,
String baseTokenAnnotationType,
Boolean createTokensAutomatically,
String indexUnitAnnotationType)
Given an instance of Gate Document, it converts it into the format that lucene can understand and can store in its indexes. |
private List<Document> |
LuceneIndexer.getLuceneDocuments(String corpusPersistenceID,
Document gateDoc,
String location)
We create a separate Lucene document for each index unit available in the gate document. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||