public final class LazyQueryState extends Object implements Closeable
Constructor and Description |
---|
LazyQueryState(Query userQuery,
QueryFilters facetingFilters,
IndexReader reader,
Similarity searcherSimilarity,
ExtendedSearchIntegrator extendedIntegrator,
Set<Class<?>> targetedTypes,
boolean fieldSortDoTrackScores,
boolean fieldSortDoMaxScore) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
String |
describeQuery() |
Document |
doc(int docId) |
void |
doc(int docId,
StoredFieldVisitor fieldVisitor) |
Explanation |
explain(int documentId) |
Explanation |
explain(Query filteredQuery,
int documentId) |
IndexReader |
getIndexReader() |
boolean |
isFieldSortDoMaxScore() |
boolean |
isFieldSortDoTrackScores() |
int |
maxDoc() |
void |
search(Filter filter,
Collector collector) |
public LazyQueryState(Query userQuery, QueryFilters facetingFilters, IndexReader reader, Similarity searcherSimilarity, ExtendedSearchIntegrator extendedIntegrator, Set<Class<?>> targetedTypes, boolean fieldSortDoTrackScores, boolean fieldSortDoMaxScore)
public boolean isFieldSortDoTrackScores()
public boolean isFieldSortDoMaxScore()
public Explanation explain(int documentId) throws IOException
IOException
public Explanation explain(Query filteredQuery, int documentId) throws IOException
IOException
public Document doc(int docId) throws IOException
IOException
public void doc(int docId, StoredFieldVisitor fieldVisitor) throws IOException
IOException
public int maxDoc()
public void search(Filter filter, Collector collector) throws IOException
IOException
public IndexReader getIndexReader()
public void close()
close
in interface Closeable
close
in interface AutoCloseable
public String describeQuery()
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved