public class BigdataValueCentricFullTextIndex extends FullTextIndex implements IValueCentricTextIndexer<Hit>
FullTextIndex.OptionsITextIndexer.FullTextQueryNAME_SEARCHindexManager| Constructor and Description |
|---|
BigdataValueCentricFullTextIndex(IIndexManager indexManager,
String namespace,
Long timestamp,
Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
protected Hit[] |
applyRegex(Hit[] hits,
Pattern regex)
Subclasses can override this method to do regex post-processing.
|
void |
create()
Conditionally registers the necessary index(s).
|
void |
destroy()
The full text index is currently located in the same namespace as the
lexicon relation.
|
boolean |
getIndexDatatypeLiterals()
Return
true iff datatype literals are being indexed. |
static BigdataValueCentricFullTextIndex |
getInstance(IIndexManager indexManager,
String namespace,
Long timestamp,
Properties properties) |
LexiconRelation |
getLexiconRelation() |
void |
index(int capacity,
Iterator<BigdataValue> valuesIterator)
Add the terms to the full text index so that we can do fast lookup of the
corresponding term identifiers.
|
protected Hit[] |
matchExact(Hit[] hits,
String query)
Subclasses can override this method to do exact match processing.
|
_search, count, delete, executeQuery, getAnalyzer, getElementClass, getIndex, getIndexNames, getKeyBuilder, getKeyOrder, getKeyOrders, getPrimaryKeyOrder, getTokenStream, index, index, insert, isOverwrite, isReadOnly, newElement, search, slice, tokenizegetAccessPath, getAccessPath, getAccessPath, getFQN, getFQN, getFQN, getIndex, getIndex, getIndex, newAccessPath, newIndexMetadataacquireExclusiveLock, assertWritable, getBareProperties, getChunkCapacity, getChunkOfChunksCapacity, getChunkTimeout, getCommitTime, getContainer, getContainerNamespace, getExecutorService, getFullyBufferedReadThreshold, getIndexManager, getMaxParallelSubqueries, getNamespace, getProperties, getProperty, getProperty, getTimestamp, init, isForceSerialExecution, toString, unlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcount, searchgetExecutorService, getIndexManagergetContainerNamespace, getNamespace, getTimestamp, initpublic BigdataValueCentricFullTextIndex(IIndexManager indexManager, String namespace, Long timestamp, Properties properties)
indexManager - namespace - timestamp - properties - public static BigdataValueCentricFullTextIndex getInstance(IIndexManager indexManager, String namespace, Long timestamp, Properties properties)
public boolean getIndexDatatypeLiterals()
ITextIndexertrue iff datatype literals are being indexed.getIndexDatatypeLiterals in interface ITextIndexer<Hit>public void create()
create in interface ITextIndexer<Hit>create in interface IMutableResourcecreate in class FullTextIndexIllegalStateException - if the client does not have write access.public void destroy()
LexiconRelation.destroy in interface ITextIndexer<Hit>destroy in interface IMutableResourcedestroy in class FullTextIndexpublic void index(int capacity,
Iterator<BigdataValue> valuesIterator)
IValueCentricTextIndexer
Add the terms to the full text index so that we can do fast lookup of the
corresponding term identifiers. Only literals are tokenized. Literals
that have a language code property are parsed using a tokenizer
appropriate for the specified language family. Other literals and URIs
are tokenized using the default Locale.
index in interface IValueCentricTextIndexer<Hit>capacity - A hint to the underlying layer about the buffer size before an
incremental flush of the index.public final LexiconRelation getLexiconRelation()
protected Hit[] matchExact(Hit[] hits, String query)
FullTextIndexmatchExact in class FullTextIndexprotected Hit[] applyRegex(Hit[] hits, Pattern regex)
FullTextIndexapplyRegex in class FullTextIndexCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.