Package org.apache.lucene.monitor
Class Monitor.PresearcherQueryCollector<T extends QueryMatch>
- java.lang.Object
-
- org.apache.lucene.monitor.Monitor.StandardQueryCollector<T>
-
- org.apache.lucene.monitor.Monitor.PresearcherQueryCollector<T>
-
- All Implemented Interfaces:
QueryIndex.QueryCollector
- Enclosing class:
- Monitor
private class Monitor.PresearcherQueryCollector<T extends QueryMatch> extends Monitor.StandardQueryCollector<T>
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.Map<java.lang.String,java.lang.StringBuilder>matchingTerms-
Fields inherited from class org.apache.lucene.monitor.Monitor.StandardQueryCollector
matcher, queryCount
-
-
Constructor Summary
Constructors Modifier Constructor Description privatePresearcherQueryCollector(CandidateMatcher<T> matcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PresearcherMatches<T>getMatches(long buildTime)voidmatchQuery(java.lang.String id, QueryCacheEntry query, QueryIndex.DataValues dataValues)ScoreModescoreMode()
-
-
-
Constructor Detail
-
PresearcherQueryCollector
private PresearcherQueryCollector(CandidateMatcher<T> matcher)
-
-
Method Detail
-
getMatches
public PresearcherMatches<T> getMatches(long buildTime)
-
scoreMode
public ScoreMode scoreMode()
-
matchQuery
public void matchQuery(java.lang.String id, QueryCacheEntry query, QueryIndex.DataValues dataValues) throws java.io.IOException- Specified by:
matchQueryin interfaceQueryIndex.QueryCollector- Overrides:
matchQueryin classMonitor.StandardQueryCollector<T extends QueryMatch>- Throws:
java.io.IOException
-
-