public interface SearchHitsFilter
RerankFilter| 限定符和类型 | 方法和说明 |
|---|---|
ImageSearchHits |
filter(ImageSearchHits results,
org.apache.lucene.index.IndexReader reader,
org.apache.lucene.document.Document query)
Filters a given result list based on the given query document.
|
ImageSearchHits |
filter(org.apache.lucene.search.TopDocs results,
org.apache.lucene.index.IndexReader reader,
org.apache.lucene.document.Document query)
Filters the result list of a Lucene search based on image features.
|
ImageSearchHits filter(ImageSearchHits results, org.apache.lucene.index.IndexReader reader, org.apache.lucene.document.Document query)
results - the resultsquery - the original query documentImageSearchHits filter(org.apache.lucene.search.TopDocs results, org.apache.lucene.index.IndexReader reader, org.apache.lucene.document.Document query) throws java.io.IOException
results - the resultsreader - the IndexReader employedquery - the original query documentjava.io.IOException