Package | Description |
---|---|
gate.creole.annic.apache.lucene.index |
Code to maintain and access indices.
|
gate.creole.annic.apache.lucene.search | |
gate.creole.annic.lucene |
Modifier and Type | Method and Description |
---|---|
Document |
FilterIndexReader.document(int n) |
Document |
MultiReader.document(int n) |
abstract Document |
IndexReader.document(int n)
Returns the stored fields of the
n th
Document in this index. |
Modifier and Type | Method and Description |
---|---|
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() . |
Modifier and Type | Method and Description |
---|---|
Document |
Hits.doc(int n)
Returns the stored fields of the nth document in this set.
|
Document |
Searchable.doc(int i)
Expert: Returns the stored fields of document
i . |
Document |
IndexSearcher.doc(int i) |
Modifier and Type | Method and Description |
---|---|
List<Document> |
LuceneDocument.createDocuments(String corpusPersistenceID,
Document gateDoc,
String documentID,
List<String> annotSetsToInclude,
List<String> annotSetsToExclude,
List<String> featuresToInclude,
List<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.
|
Copyright © 2024 GATE. All rights reserved.