T - the type of QueryMatch returnedpublic class MultiMatchingQueries<T extends QueryMatch> extends Object
Documents
against queries held in the Monitor| Modifier and Type | Method and Description |
|---|---|
int |
getBatchSize() |
Map<String,Exception> |
getErrors() |
int |
getMatchCount(int docId) |
Collection<T> |
getMatches(int docId) |
int |
getQueriesRun() |
long |
getQueryBuildTime() |
long |
getSearchTime() |
T |
matches(String queryId,
int docId)
Returns the QueryMatch for the given query and document, or null if it did not match
|
public T matches(String queryId, int docId)
queryId - the query iddocId - the doc idpublic Collection<T> getMatches(int docId)
docId - document id to checkpublic int getMatchCount(int docId)
docId - document id to checkpublic long getQueryBuildTime()
public long getSearchTime()
public int getQueriesRun()
public int getBatchSize()
Copyright © 2000-2024 Apache Software Foundation. All Rights Reserved.