public class BigdataSubjectCentricFullTextIndex extends FullTextIndex implements ISubjectCentricTextIndexer<Hit>
FullTextIndex.Options
ITextIndexer.FullTextQuery
Modifier and Type | Field and Description |
---|---|
static String |
NAME_SUBJ_SEARCH
The basename of the search index.
|
NAME_SEARCH
indexManager
Constructor and Description |
---|
BigdataSubjectCentricFullTextIndex(IIndexManager indexManager,
String namespace,
Long timestamp,
Properties properties) |
Modifier and Type | Method and Description |
---|---|
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.
|
IIndex |
getIndex()
The index used to associate term identifiers with tokens parsed from
documents.
|
boolean |
getIndexDatatypeLiterals()
Return
true iff datatype literals are being indexed. |
static BigdataSubjectCentricFullTextIndex |
getInstance(IIndexManager indexManager,
String namespace,
Long timestamp,
Properties properties) |
void |
index(IV<?,?> subject,
Iterator<BigdataValue> valuesIterator)
Add the terms to the full text index so that we can do fast lookup of the
corresponding term identifiers.
|
_search, applyRegex, count, delete, executeQuery, getAnalyzer, getElementClass, getIndexNames, getKeyBuilder, getKeyOrder, getKeyOrders, getPrimaryKeyOrder, getTokenStream, index, index, insert, isOverwrite, isReadOnly, matchExact, newElement, search, slice, tokenize
getAccessPath, getAccessPath, getAccessPath, getFQN, getFQN, getFQN, getIndex, getIndex, getIndex, newAccessPath, newIndexMetadata
acquireExclusiveLock, assertWritable, getBareProperties, getChunkCapacity, getChunkOfChunksCapacity, getChunkTimeout, getCommitTime, getContainer, getContainerNamespace, getExecutorService, getFullyBufferedReadThreshold, getIndexManager, getMaxParallelSubqueries, getNamespace, getProperties, getProperty, getProperty, getTimestamp, init, isForceSerialExecution, toString, unlock
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
count, search
getExecutorService, getIndexManager
getContainerNamespace, getNamespace, getTimestamp, init
public static final transient String NAME_SUBJ_SEARCH
public BigdataSubjectCentricFullTextIndex(IIndexManager indexManager, String namespace, Long timestamp, Properties properties)
indexManager
- namespace
- timestamp
- properties
- public static BigdataSubjectCentricFullTextIndex getInstance(IIndexManager indexManager, String namespace, Long timestamp, Properties properties)
public boolean getIndexDatatypeLiterals()
ITextIndexer
true
iff datatype literals are being indexed.getIndexDatatypeLiterals
in interface ITextIndexer<Hit>
public void create()
create
in interface ITextIndexer<Hit>
create
in interface IMutableResource
create
in class FullTextIndex
IllegalStateException
- if the client does not have write access.public void destroy()
LexiconRelation
.destroy
in interface ITextIndexer<Hit>
destroy
in interface IMutableResource
destroy
in class FullTextIndex
public IIndex getIndex()
getIndex
in class FullTextIndex
public void index(IV<?,?> subject, Iterator<BigdataValue> valuesIterator)
ISubjectCentricTextIndexer
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 ISubjectCentricTextIndexer<Hit>
subject
- The subject to which these values belong.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.