public class LuceneLanguageChoosingResultSet extends LuceneResultSet
| Modifier and Type | Class and Description |
|---|---|
class |
LuceneLanguageChoosingResultSet.LuceneResultIterator |
| Constructor and Description |
|---|
LuceneLanguageChoosingResultSet(org.apache.lucene.search.TopDocs hits,
WGA wga,
java.util.Map parameters,
org.apache.lucene.search.BooleanQuery wholeQuery,
long executionTime,
java.util.List<de.innovationgate.webgate.api.WGLanguage> languagesPriorityList) |
| Modifier and Type | Method and Description |
|---|---|
de.innovationgate.webgate.api.WGContentList |
getContentList() |
de.innovationgate.webgate.api.WGContentList |
getContentList(int start,
int length) |
de.innovationgate.utils.SkippingIterator<de.innovationgate.webgate.api.WGContent> |
getResultIterator() |
boolean |
hasResults() |
boolean |
isLimitingResultsInBackend() |
void |
limitResults(int limit) |
int |
results() |
close, getExecutionTime, iteratorpublic LuceneLanguageChoosingResultSet(org.apache.lucene.search.TopDocs hits,
WGA wga,
java.util.Map parameters,
org.apache.lucene.search.BooleanQuery wholeQuery,
long executionTime,
java.util.List<de.innovationgate.webgate.api.WGLanguage> languagesPriorityList)
throws de.innovationgate.webgate.api.WGException,
org.apache.lucene.index.CorruptIndexException,
java.io.IOException,
java.lang.InterruptedException
de.innovationgate.webgate.api.WGExceptionorg.apache.lucene.index.CorruptIndexExceptionjava.io.IOExceptionjava.lang.InterruptedExceptionpublic de.innovationgate.webgate.api.WGContentList getContentList()
throws de.innovationgate.webgate.api.WGAPIException
de.innovationgate.webgate.api.WGAPIExceptionpublic de.innovationgate.webgate.api.WGContentList getContentList(int start,
int length)
throws de.innovationgate.webgate.api.WGAPIException
de.innovationgate.webgate.api.WGAPIExceptionpublic de.innovationgate.utils.SkippingIterator<de.innovationgate.webgate.api.WGContent> getResultIterator()
throws de.innovationgate.webgate.api.WGAPIException
de.innovationgate.webgate.api.WGAPIExceptionpublic int results()
public void limitResults(int limit)
public boolean hasResults()
throws de.innovationgate.webgate.api.WGBackendException
de.innovationgate.webgate.api.WGBackendExceptionpublic boolean isLimitingResultsInBackend()