| Package | Description |
|---|---|
| gate.creole.annic.apache.lucene.index |
Code to maintain and access indices.
|
| gate.creole.annic.lucene |
| Modifier and Type | Method and Description |
|---|---|
Analyzer |
IndexWriter.getAnalyzer()
Returns the analyzer used by this index.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IndexWriter.addDocument(Document doc,
Analyzer analyzer)
Adds a document to this index, using the provided analyzer instead of the
value of
IndexWriter.getAnalyzer(). |
| Constructor and Description |
|---|
IndexWriter(Directory d,
Analyzer a,
boolean create)
Constructs an IndexWriter for the index in
d. |
IndexWriter(File path,
Analyzer a,
boolean create)
Constructs an IndexWriter for the index in
path. |
IndexWriter(String path,
Analyzer a,
boolean create)
Constructs an IndexWriter for the index in
path. |
| Modifier and Type | Class and Description |
|---|---|
class |
LuceneAnalyzer
This class provides an implementation for Analyzer which is used
internally by ANNIC resources.
|
Copyright © 2024 GATE. All rights reserved.