| Modifier and Type | Method and Description |
|---|---|
String |
BDBWrapper.getAllDec(String keyName,
ResultType resType)
Gets all.
|
String |
BDBWrapper.getAllInc(String keyName,
ResultType resType)
Gets all.
|
String |
BDBWrapper.getEQ(String keyName,
Object key,
ResultType resType)
Gets the values where the key equals the input key.
|
String |
BDBWrapper.getGE(String keyName,
Object keyGE,
ResultType resType)
Gets values >= keyGE.
|
String |
BDBWrapper.getGEandLE(String keyName,
Object keyGE,
Object keyLE,
ResultType resType)
Gets keyGE <= values <= keyLE
|
String |
BDBWrapper.getGEandLT(String keyName,
Object keyGE,
Object keyLT,
ResultType resType)
Gets keyGE <= values < keyLT
|
String |
BDBWrapper.getGT(String keyName,
Object keyGT,
ResultType resType)
Gets keyGT < values
|
String |
BDBWrapper.getGTandLE(String keyName,
Object keyGT,
Object keyLE,
ResultType resType)
Gets keyGT < values <= keyLE
|
String |
BDBWrapper.getGTandLT(String keyName,
Object keyGT,
Object keyLT,
ResultType resType)
Gets keyGT < values < keyLT
|
String |
BDBWrapper.getLE(String keyName,
Object keyLE,
ResultType resType)
Gets values <= keyLE
|
String |
BDBWrapper.getLT(String keyName,
Object keyLT,
ResultType resType)
Gets values < keyLT
|
void |
BDBWrapper.mergeAddition(File inputIndex)
Receives the file with rowsets that is to be merged into the index.
|
int |
BDBWrapper.mergeDeletion(File deletionFile)
THIS METHOD IS NEVER CALLED IN FORWARD INDEX.
|
void |
BDBWrapper.updateIndex()
Updates the index.
|
| Constructor and Description |
|---|
BDBWrapper(String baseDir,
String dbName,
String resourceId,
String[] keyNames,
ForwardIndexType[] dbT)
Provides the ability to store simple key-value pairs.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IndexGenerator.abort()
Deletes inserted rowsets since last
commit() |
void |
IndexStatistics.close()
Releases reserved resources.
|
void |
IndexGenerator.close()
Frees any resources used for updating indexes if any.
|
void |
IndexSearch.closeIndex()
Closes the previously opened index
|
void |
IndexGenerator.closeIndex()
Closes the index committing any uncommitted insertions
|
void |
IndexGenerator.commit()
Commits inserted rowsets
|
void |
IndexGenerator.createIndex(String indexName,
FullTextIndexType indexType,
boolean forceCreate)
Creates a new index
|
String |
IndexStatistics.createMergedStatistics(List<String> statisticsFileIDs)
Creates a new statistics file, and merges additional statistics files
into it.
|
String |
IndexStatistics.createStatistics()
Creates a statistics file.
|
File |
IndexGenerator.deleteDocuments(String[] documentIDs)
Deletes the listed documents both from the local storage and the main
index
|
int |
IndexGenerator.deleteDocumentsLocally(String[] documentIDs)
Deletes the listed documents from the local storage
|
void |
IndexGenerator.deleteIndex()
Deletes the entire index with all it's inserted rowsets.
|
URI |
IndexSearch.executeQuery(String queryString,
boolean isComplete)
Fills the RSClient with results from executing the queryString on an
index (Lucene only).
|
long |
IndexGenerator.getCommittedFileSize()
Returns the size of the committed files
|
String |
ForwardIndex.getEQ(String keyName,
Object keyEQ,
ResultType resType)
Gets the key and value pairs where keys are equal the input key.
|
String |
ForwardIndex.getGE(String keyName,
Object key,
ResultType resType)
Gets the key and value pairs where keys are GE the input key.
|
String |
ForwardIndex.getGEandLE(String keyName,
Object keyGE,
Object keyLE,
ResultType resType)
Gets the key and value pairs where keys are GE the input key1
and LE the input key2.
|
String |
ForwardIndex.getGEandLT(String keyName,
Object keyGE,
Object keyLT,
ResultType resType)
Gets the key and value pairs where keys are GE the input key1
and LT the input key2.
|
String |
ForwardIndex.getGT(String keyName,
Object key,
ResultType resType)
Gets the key and value pairs where keys are GT the input key.
|
String |
ForwardIndex.getGTandLE(String keyName,
Object keyGT,
Object keyLE,
ResultType resType)
Gets the key and value pairs where keys are GT the input key1
and LE the input key2.
|
String |
ForwardIndex.getGTandLT(String keyName,
Object keyGT,
Object keyLT,
ResultType resType)
Gets the key and value pairs where keys are GT the input key1.
|
long |
IndexGenerator.getIndexFileSize()
Shows the current file size of the index
|
static Object |
IndexContext.getJndiResourceObject(String resourceName)
A method used to get a resource object (from the JNDI file) for the current Index service if available.
|
String |
ForwardIndex.getLE(String keyName,
Object keyLE,
ResultType resType)
Gets the key and value pairs where keys are LE the input key.
|
String |
ForwardIndex.getLT(String keyName,
Object keyLT,
ResultType resType)
Gets the key and value pairs where keys are LT the input key.
|
long |
IndexGenerator.getUnCommittedFileSize()
Returns the size of the uncommitted files
|
int |
IndexGenerator.insertRowSet(String rowset)
Inserts rowset of supported a supported indexType.
|
static String |
StatisticsFileMerger.merge(List<String> RS_EPRs,
ServiceContextContainer scc)
A method used to merge the statistics files of a partitioned index into a
single statistics file.
|
int |
IndexGenerator.mergeDeletionFile(File deletionFile)
Deletes the documents from the file from the index
|
int |
IndexGenerator.mergeIndex(File inputIndex)
Merges the named index into the open index
|
void |
IndexGenerator.openIndex(String indexName)
Opens the index for insertion of rowsets
|
void |
IndexStatistics.openIndex(String baseIndexDir,
String indexName)
Opens the index for the statistics operation.
|
void |
IndexSearch.openIndex(String indexDir,
String indexName)
Opens the index for search operations
|
void |
IndexSearch.setIndexType(FullTextIndexType idxType)
Updates the IndexSearch' state object
|
void |
IndexGenerator.setIndexType(FullTextIndexType idxType)
Updates the Index' state object
|
void |
IndexStatistics.updateIndex()
Updates the index.
|
void |
IndexSearch.updateIndex()
Updates the index.
|
| Modifier and Type | Method and Description |
|---|---|
String |
JTextCatPlugin.detectLanguage(String document)
Detects the language in the document
|
void |
JTextCatPlugin.init(String configFile)
Method that initialises the implementation of the language id.
|
| Modifier and Type | Method and Description |
|---|---|
String |
DummyLangidPlugin.detectLanguage(String document)
Detects the language in the document
|
String |
LanguageIdPlugin.detectLanguage(String document)
Detect the language.
|
String |
DummyLangidPlugin.detectLanguageFull(String document)
Detects the language in the document and
returns the full string of from detection algorithm.
|
void |
DummyLangidPlugin.init(String configFile)
Method that initialises the implementation of the language id
|
void |
LanguageIdPlugin.init(String configFile)
Initialise the language id plugin.
|
static LanguageIdPlugin |
LanguageIdFactory.loadPlugin(String pluginName)
This method loads the plugin for the language identifier and calls the init.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DummyLemmatizerPlugin.add_language(Language language)
Add a lemmatizer for the language
|
void |
LemmatizerPlugin.add_language(Language language)
Method to initialise this plugin, the configuration file is optional,
but most language detection tools need some sort
of statistics, references and so on.
|
void |
SnowballStemmingPlugin.add_language(Language language)
Add a lemmatizer for the language
|
void |
DummyLemmatizerPlugin.init(String configFile,
Vector<Language> languages)
Method that initialises the implementation of the language id
|
void |
LemmatizerPlugin.init(String configFile,
Vector<Language> languages)
Method to initialise this plugin, the configuration file is optional.
|
void |
SnowballStemmingPlugin.init(String configFile,
Vector<Language> languages)
Method that initialises the implementation of the language id
|
String |
DummyLemmatizerPlugin.lemmatize_string(String document,
Language language)
Detects the language in the document
|
String |
LemmatizerPlugin.lemmatize_string(String stringToLemmatize,
Language language)
Method to lemmatize a word
|
String |
SnowballStemmingPlugin.lemmatize_string(String document,
Language language)
Detects the language in the document
|
String |
DummyLemmatizerPlugin.lemmatize_word(String word,
Language language)
Detects the language in the document
|
String |
LemmatizerPlugin.lemmatize_word(String wordToLemmatize,
Language language)
Method to lemmatize a word
|
String |
SnowballStemmingPlugin.lemmatize_word(String word,
Language language)
Detects the language in the document
|
static LemmatizerPlugin |
LemmatizerFactory.loadPlugin(String pluginName)
This method loads the plugin for the language identifier and
calls the init method with the configFile as a parameter.
|
| Modifier and Type | Method and Description |
|---|---|
static DataWrapper |
DataWrapper.getInstance(GeoIndexType indexTypeObject,
ReadableByteChannel inChannel,
RandomAccessFile rawDataFile)
A method used to create a DataWrapper instance from an IndexType and a
DeltaFile input channel
|
void |
RTreeWrapper.insert(DataWrapper geoData)
Inserts an Entry into the wrapped RTree
|
| Modifier and Type | Method and Description |
|---|---|
void |
JdbmWrapper.deletePairInDb(Object key)
Deletes a key and value pair in the the tree.
|
String |
JdbmWrapper.getAllDec(boolean bKeysOnly)
Gets all.
|
String |
JdbmWrapper.getAllInc(boolean bKeysOnly)
Gets all.
|
String |
JdbmWrapper.getEQ(Object key,
boolean bKeysOnly)
Gets the values where the key equals the input key.
|
String |
JdbmWrapper.getGE(Object keyGE,
boolean bKeysOnly)
Gets values >= keyGE.
|
String |
JdbmWrapper.getGEandLE(Object keyGE,
Object keyLE,
boolean bKeysOnly)
Gets keyGE <= values <= keyLE
|
String |
JdbmWrapper.getGEandLT(Object keyGE,
Object keyLT,
boolean bKeysOnly)
Gets keyGE <= values < keyLT
|
String |
JdbmWrapper.getGT(Object keyGT,
boolean bKeysOnly)
Gets keyGT < values
|
String |
JdbmWrapper.getGTandLE(Object keyGT,
Object keyLE,
boolean bKeysOnly)
Gets keyGT < values <= keyLE
|
String |
JdbmWrapper.getGTandLT(Object keyGT,
Object keyLT,
boolean bKeysOnly)
Gets keyGT < values < keyLT
|
String |
JdbmWrapper.getLE(Object keyLE,
boolean bKeysOnly)
Gets values <= keyLE
|
String |
JdbmWrapper.getLT(Object keyLT,
boolean bKeysOnly)
Gets values < keyLT
|
void |
JdbmWrapper.insertPairInDb(Object key,
Object value)
Insert a key and value pair in the the tree.
|
void |
JdbmWrapper.insertRowSet(String rowset)
Inserts tuples in a rowset into the tree, parsing the values from a String.
|
int |
JdbmWrapper.mergeAddition(File inputIndex)
Receives the file with rowsets that is to be merged into the index.
|
int |
JdbmWrapper.mergeDeletion(File deletionFile)
THIS METHOD IS NEVER CALLED IN FORWARD INDEX.
|
void |
JdbmWrapper.updateIndex()
Updates the index.
|
| Constructor and Description |
|---|
JdbmWrapper(String treeDir,
String dbName,
String treeName,
JdbmWrapper.DbTypeEnum dbT)
Provides the ability to store simple key-value pairs.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LuceneGenerator.abort()
Deletes inserted rowsets since last
commit() |
void |
LuceneStatistics.close()
Releases reserved resources.
|
void |
LuceneSearcher.closeIndex()
Closes the previously opened index
|
void |
LuceneGenerator.closeIndex()
Closes the index committing any uncommitted insertions
|
void |
LuceneGenerator.commit()
Commits inserted rowsets
|
void |
LuceneGenerator.createIndex(String indexName,
FullTextIndexType idxType,
boolean forceCreate)
Creates a new index
|
String |
LuceneStatistics.createMergedStatistics(List<String> RS_EPRs)
Creates a new statistics file, and merges additional statistics files
into it.
|
String |
LuceneStatistics.createStatistics()
Creates a statistics file and stores it in a ResultSet.
|
File |
LuceneGenerator.deleteDocuments(String[] documentIDs)
Deletes the listed documents both from the local storage and the main
index
|
int |
LuceneGenerator.deleteDocumentsLocally(String[] documentIDs)
Deletes the listed documents from the local storage
|
void |
LuceneGenerator.deleteIndex()
Deletes the entire index with all it's inserted rowsets.
|
URI |
LuceneSearcher.executeQuery(String queryString,
boolean isComplete)
Deprecated.
- This method applies a query expansion, before executing the query, that assumes
an old Index version was used (Index Library version < 3.0.0)
Fills the RSClient with results from executing the queryString on an
index (Lucene only).
Setting client to null will print results to system.out. |
String |
LuceneSearcher.expandQuery(String query,
String defaultLemLang,
String defaultLang,
boolean onlyLemByDefault) |
long |
LuceneGenerator.getCommittedFileSize()
Returns the size of the committed files
|
long |
LuceneGenerator.getIndexFileSize()
Shows the current file size of the index
|
long |
LuceneGenerator.getUnCommittedFileSize()
Returns the size of the uncommitted files
|
int |
LuceneGenerator.insertRowSet(String rowsetXML)
Inserts rowset of supported a supported indexType.
|
int |
LuceneGenerator.mergeDeletionFile(File deletionFile)
Deletes the documents from the file from the index
|
int |
LuceneGenerator.mergeIndex(File inputIndex)
Merges the named index into the open index
|
void |
LuceneGenerator.openIndex(String indexName)
Opens the index for insertion of rowsets
|
void |
LuceneSearcher.openIndex(String indexDir,
String indexName)
Opens the index for search operations
|
void |
LuceneStatistics.openIndex(String baseIndexDir,
String indexName)
Opens the index for the statistics operation.
|
void |
LuceneSearcher.setIndexType(FullTextIndexType idxType)
Updates the IndexSearch' state object
|
void |
LuceneGenerator.setIndexType(FullTextIndexType idxType)
Updates the Index' state object
|
void |
LuceneSearcher.updateIndex()
Updates the index.
|
void |
LuceneStatistics.updateIndex()
Updates the index.
|
Copyright © 2014. All Rights Reserved.