V
- The generic type of the document identifier.public abstract class AbstractIndexTask<V extends Comparable<V>> extends Object
ReadIndexTask
and
CountIndexTask
.Modifier and Type | Field and Description |
---|---|
protected byte[] |
fromKey |
protected int |
numQueryTerms |
protected String |
queryTerm |
protected int |
queryTermNdx |
protected double |
queryTermWeight |
protected byte[] |
toKey |
Constructor and Description |
---|
AbstractIndexTask(String termText,
int termNdx,
int numTerms,
boolean prefixMatch,
double queryTermWeight,
FullTextIndex<V> searchEngine)
Setup a task that will perform a range scan for entries matching the
search term.
|
protected final String queryTerm
protected final int queryTermNdx
protected final int numQueryTerms
protected final double queryTermWeight
protected final byte[] fromKey
protected final byte[] toKey
public AbstractIndexTask(String termText, int termNdx, int numTerms, boolean prefixMatch, double queryTermWeight, FullTextIndex<V> searchEngine)
termText
- The term text for the search term.termNdx
- The index of this term within the overall search.numTerms
- The overall number of search terms.prefixMatch
- When true
any term having termText as a
prefix will be matched. Otherwise the term must be an exact
match for the termText.queryTermWeight
- The weight for the search term.searchEngine
- The search engine.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.