public interface ITMQuery extends IQuery
Modifier and Type | Method and Description |
---|---|
int |
getMaximumHits()
Gets the current maximum number of hits to retrieve.
|
int |
getThreshold()
Gets the current threshold value to use for the query.
|
void |
setMaximumHits(int max)
Sets the maximum number of hits to retrieve.
|
void |
setThreshold(int threshold)
Sets the threshold value to use for the query.
|
batchLeverage, batchQuery, batchQueryText, clearAttributes, close, getName, getNoQueryThreshold, getParameters, getSettingsDisplay, getSourceLanguage, getTargetLanguage, getWeight, hasNext, leverage, next, open, query, query, removeAttribute, setAttribute, setLanguages, setNoQueryThreshold, setParameters, setRootDirectory, setWeight
void setMaximumHits(int max)
max
- The maximum number of hits to retrieve.int getMaximumHits()
void setThreshold(int threshold)
threshold
- The threshold value (between 0 and 100).int getThreshold()
Copyright © 2022. All rights reserved.