Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- add(MonitorQuery) - Method in class org.apache.lucene.monitor.ConcurrentQueryLoader
-
Add a MonitorQuery to the loader's internal buffer
- addMatch(T, int) - Method in class org.apache.lucene.monitor.CandidateMatcher
-
Record a match
- addQueryIndexUpdateListener(MonitorUpdateListener) - Method in class org.apache.lucene.monitor.Monitor
-
Register a
MonitorUpdateListener
that will be notified whenever changes are made to the Monitor's queryindex - addTerm(String, BytesRef) - Method in interface org.apache.lucene.monitor.TermFilteredPresearcher.DocumentQueryBuilder
-
Add a term from this document
- advancePhase(double) - Method in class org.apache.lucene.monitor.QueryTree
-
Find the next-most highly-weighted path below this node
- afterClear() - Method in interface org.apache.lucene.monitor.MonitorUpdateListener
-
Called after all queries have been removed from the Monitor's query index
- afterDelete(List<String>) - Method in interface org.apache.lucene.monitor.MonitorUpdateListener
-
Called after a set of queries have been deleted from the Monitor's query index
- afterUpdate(List<MonitorQuery>) - Method in interface org.apache.lucene.monitor.MonitorUpdateListener
-
Called after a set of queries have been added to the Monitor's query index
- anyTerm(String) - Static method in class org.apache.lucene.monitor.QueryTree
-
Returns a leaf node that will match any document
- ANYTOKEN - Static variable in class org.apache.lucene.monitor.TermFilteredPresearcher
- ANYTOKEN_FIELD - Static variable in class org.apache.lucene.monitor.TermFilteredPresearcher
B
- build() - Method in interface org.apache.lucene.monitor.TermFilteredPresearcher.DocumentQueryBuilder
- buildIndexWriter() - Method in class org.apache.lucene.monitor.MonitorConfiguration
- buildQuery(LeafReader, BiPredicate<String, BytesRef>) - Method in class org.apache.lucene.monitor.Presearcher
-
Build a query for a Monitor's queryindex from a LeafReader over a set of documents to monitor.
- buildQuery(LeafReader, BiPredicate<String, BytesRef>) - Method in class org.apache.lucene.monitor.TermFilteredPresearcher
- buildQueryDocument(QueryTree) - Method in class org.apache.lucene.monitor.MultipassTermFilteredPresearcher
- buildQueryDocument(QueryTree) - Method in class org.apache.lucene.monitor.TermFilteredPresearcher
-
Builds a
Document
from the terms extracted from a query
C
- cachedQueries() - Method in record class org.apache.lucene.monitor.Monitor.QueryCacheStats
-
Returns the value of the
cachedQueries
record component. - CandidateMatcher<T> - Class in org.apache.lucene.monitor
-
Class used to match candidate queries selected by a Presearcher from a Monitor query index.
- CandidateMatcher(IndexSearcher) - Constructor for class org.apache.lucene.monitor.CandidateMatcher
-
Creates a new CandidateMatcher for the supplied DocumentBatch
- clear() - Method in class org.apache.lucene.monitor.Monitor
-
Delete all queries from the monitor
- close() - Method in class org.apache.lucene.monitor.ConcurrentQueryLoader
- close() - Method in class org.apache.lucene.monitor.Monitor
- collectTerms(BiConsumer<String, BytesRef>) - Method in class org.apache.lucene.monitor.QueryTree
-
Collect terms from the most highly-weighted path below this node
- collectTerms(QueryTree) - Method in class org.apache.lucene.monitor.TermFilteredPresearcher
-
Collects terms from a
QueryTree
and maps them per-field - combine(TermWeightor...) - Static method in interface org.apache.lucene.monitor.TermWeightor
-
Combine weightors by multiplication
- compareTo(HighlightsMatch.Hit) - Method in record class org.apache.lucene.monitor.HighlightsMatch.Hit
- ConcurrentQueryLoader - Class in org.apache.lucene.monitor
-
Utility class for concurrently loading queries into a Monitor.
- ConcurrentQueryLoader(Monitor) - Constructor for class org.apache.lucene.monitor.ConcurrentQueryLoader
-
Create a new ConcurrentQueryLoader for a
Monitor
- ConcurrentQueryLoader(Monitor, int, int) - Constructor for class org.apache.lucene.monitor.ConcurrentQueryLoader
-
Create a new ConcurrentQueryLoader
- conjunction(List<Function<TermWeightor, QueryTree>>, TermWeightor) - Static method in class org.apache.lucene.monitor.QueryTree
-
Returns a conjunction of a set of child nodes
- copyMatches(CandidateMatcher<T>) - Method in class org.apache.lucene.monitor.CandidateMatcher
-
Copy all matches from another CandidateMatcher
- createMatcher(IndexSearcher) - Method in interface org.apache.lucene.monitor.MatcherFactory
-
Create a new
CandidateMatcher
object, to select queries to match against the passed-in IndexSearcher - CustomQueryHandler - Interface in org.apache.lucene.monitor
-
Builds a
QueryTree
for a query that needs custom treatment
D
- debug(Document[], MatcherFactory<T>) - Method in class org.apache.lucene.monitor.Monitor
-
Match a DocumentBatch against the queries stored in the Monitor, also returning information about which queries were selected by the presearcher, and why.
- debug(Document, MatcherFactory<T>) - Method in class org.apache.lucene.monitor.Monitor
-
Match a single
Document
against the queries stored in the Monitor, also returning information about which queries were selected by the presearcher, and why. - decompose(Query) - Method in class org.apache.lucene.monitor.QueryDecomposer
-
Split a query up into individual parts that can be indexed and run separately
- decomposeBoolean(BooleanQuery) - Method in class org.apache.lucene.monitor.QueryDecomposer
-
Decompose a
BooleanQuery
- decomposeBoostQuery(BoostQuery) - Method in class org.apache.lucene.monitor.QueryDecomposer
- DEFAULT - Static variable in interface org.apache.lucene.monitor.TermWeightor
-
A default TermWeightor based on token length
- DEFAULT_MATCHER - Static variable in class org.apache.lucene.monitor.ScoringMatch
- DEFAULT_MAX_TOKEN_SIZE - Static variable in class org.apache.lucene.monitor.RegexpQueryHandler
-
The default maximum length of an input token before ANYTOKENS are generated
- DEFAULT_NGRAM_SUFFIX - Static variable in class org.apache.lucene.monitor.RegexpQueryHandler
-
The default suffix with which to mark ngrams
- DEFAULT_QUEUE_SIZE - Static variable in class org.apache.lucene.monitor.ConcurrentQueryLoader
- DEFAULT_WEIGHTOR - Static variable in class org.apache.lucene.monitor.TermFilteredPresearcher
-
The default TermWeightor, weighting by token length
- DEFAULT_WILDCARD_TOKEN - Static variable in class org.apache.lucene.monitor.RegexpQueryHandler
-
The default token to emit if a term is longer than MAX_TOKEN_SIZE
- deleteById(String...) - Method in class org.apache.lucene.monitor.Monitor
-
Delete queries from the monitor by ID
- deleteById(List<String>) - Method in class org.apache.lucene.monitor.Monitor
-
Delete queries from the monitor by ID
- deserialize(BytesRef) - Method in interface org.apache.lucene.monitor.MonitorQuerySerializer
-
Builds a MonitorQuery from a byte representation
- disjunction(List<Function<TermWeightor, QueryTree>>, TermWeightor) - Static method in class org.apache.lucene.monitor.QueryTree
-
Returns a disjunction of a set of child nodes
- doFinish() - Method in class org.apache.lucene.monitor.CandidateMatcher
-
Called when all monitoring of a batch of documents is complete
- doFinish() - Method in class org.apache.lucene.monitor.ParallelMatcher
- doFinish() - Method in class org.apache.lucene.monitor.PartitionMatcher
E
- endOffset() - Method in record class org.apache.lucene.monitor.HighlightsMatch.Hit
-
Returns the value of the
endOffset
record component. - endPosition() - Method in record class org.apache.lucene.monitor.HighlightsMatch.Hit
-
Returns the value of the
endPosition
record component. - equals(Object) - Method in class org.apache.lucene.monitor.ExplainingMatch
- equals(Object) - Method in class org.apache.lucene.monitor.HighlightsMatch
- equals(Object) - Method in record class org.apache.lucene.monitor.HighlightsMatch.Hit
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.apache.lucene.monitor.Monitor.QueryCacheStats
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.apache.lucene.monitor.MonitorQuery
- equals(Object) - Method in class org.apache.lucene.monitor.QueryMatch
- equals(Object) - Method in class org.apache.lucene.monitor.ScoringMatch
- ExplainingMatch - Class in org.apache.lucene.monitor
-
A query match containing the score explanation of the match
F
- factory(ExecutorService, MatcherFactory<T>) - Static method in class org.apache.lucene.monitor.ParallelMatcher
-
Create a new MatcherFactory for a ParallelMatcher
- factory(ExecutorService, MatcherFactory<T>) - Static method in class org.apache.lucene.monitor.PartitionMatcher
-
Create a new MatcherFactory for a PartitionMatcher
- factory(ExecutorService, MatcherFactory<T>, int) - Static method in class org.apache.lucene.monitor.ParallelMatcher
-
Create a new MatcherFactory for a ParallelMatcher
- factory(ExecutorService, MatcherFactory<T>, int) - Static method in class org.apache.lucene.monitor.PartitionMatcher
-
Create a new MatcherFactory for a PartitionMatcher
- fieldWeightor(double, String...) - Static method in interface org.apache.lucene.monitor.TermWeightor
-
QueryTerms with a field from the selected set will be assigned the given weight
- fieldWeightor(double, Set<String>) - Static method in interface org.apache.lucene.monitor.TermWeightor
-
QueryTerms with a field from the selected set will be assigned the given weight
- finish(long, int) - Method in class org.apache.lucene.monitor.CandidateMatcher
- fromParser(Function<String, Query>) - Static method in interface org.apache.lucene.monitor.MonitorQuerySerializer
-
Build a serializer from a query parser
G
- getBatchSize() - Method in class org.apache.lucene.monitor.MultiMatchingQueries
- getDirectoryProvider() - Method in class org.apache.lucene.monitor.MonitorConfiguration
- getDisjunctCount() - Method in class org.apache.lucene.monitor.Monitor
- getErrors() - Method in class org.apache.lucene.monitor.MatchingQueries
- getErrors() - Method in class org.apache.lucene.monitor.MultiMatchingQueries
- getExplanation() - Method in class org.apache.lucene.monitor.ExplainingMatch
- getFields() - Method in class org.apache.lucene.monitor.HighlightsMatch
- getHitCount() - Method in class org.apache.lucene.monitor.HighlightsMatch
- getHits() - Method in class org.apache.lucene.monitor.HighlightsMatch
- getHits(String) - Method in class org.apache.lucene.monitor.HighlightsMatch
-
Get the hits for a specific field
- getId() - Method in class org.apache.lucene.monitor.MonitorQuery
- getIndexWriterConfig() - Method in class org.apache.lucene.monitor.MonitorConfiguration
- getMatchCount() - Method in class org.apache.lucene.monitor.MatchingQueries
- getMatchCount(int) - Method in class org.apache.lucene.monitor.MultiMatchingQueries
- getMatches() - Method in class org.apache.lucene.monitor.MatchingQueries
- getMatches(int) - Method in class org.apache.lucene.monitor.MultiMatchingQueries
- getMetadata() - Method in class org.apache.lucene.monitor.MonitorQuery
- getPurgeFrequency() - Method in class org.apache.lucene.monitor.MonitorConfiguration
- getPurgeFrequencyUnits() - Method in class org.apache.lucene.monitor.MonitorConfiguration
- getQueriesRun() - Method in class org.apache.lucene.monitor.MatchingQueries
- getQueriesRun() - Method in class org.apache.lucene.monitor.MultiMatchingQueries
- getQuery() - Method in class org.apache.lucene.monitor.MonitorQuery
- getQuery(String) - Method in class org.apache.lucene.monitor.Monitor
-
Get the MonitorQuery for a given query id
- getQueryBuilder() - Method in class org.apache.lucene.monitor.MultipassTermFilteredPresearcher
- getQueryBuilder() - Method in class org.apache.lucene.monitor.TermFilteredPresearcher
-
Returns a
TermFilteredPresearcher.DocumentQueryBuilder
for this presearcher - getQueryBuildTime() - Method in class org.apache.lucene.monitor.MatchingQueries
- getQueryBuildTime() - Method in class org.apache.lucene.monitor.MultiMatchingQueries
- getQueryCacheStats() - Method in class org.apache.lucene.monitor.Monitor
- getQueryCount() - Method in class org.apache.lucene.monitor.Monitor
- getQueryDecomposer() - Method in class org.apache.lucene.monitor.MonitorConfiguration
- getQueryId() - Method in class org.apache.lucene.monitor.QueryMatch
- getQueryIds() - Method in class org.apache.lucene.monitor.Monitor
- getQuerySerializer() - Method in class org.apache.lucene.monitor.MonitorConfiguration
- getQueryString() - Method in class org.apache.lucene.monitor.MonitorQuery
- getQueryUpdateBufferSize() - Method in class org.apache.lucene.monitor.MonitorConfiguration
- getScore() - Method in class org.apache.lucene.monitor.ScoringMatch
- getSearchTime() - Method in class org.apache.lucene.monitor.MatchingQueries
- getSearchTime() - Method in class org.apache.lucene.monitor.MultiMatchingQueries
H
- handleQuery(Query, TermWeightor) - Method in interface org.apache.lucene.monitor.CustomQueryHandler
-
Builds a
QueryTree
node from a query - handleQuery(Query, TermWeightor) - Method in class org.apache.lucene.monitor.RegexpQueryHandler
- hashCode() - Method in class org.apache.lucene.monitor.ExplainingMatch
- hashCode() - Method in class org.apache.lucene.monitor.HighlightsMatch
- hashCode() - Method in record class org.apache.lucene.monitor.HighlightsMatch.Hit
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.apache.lucene.monitor.Monitor.QueryCacheStats
-
Returns a hash code value for this object.
- hashCode() - Method in class org.apache.lucene.monitor.MonitorQuery
- hashCode() - Method in class org.apache.lucene.monitor.QueryMatch
- hashCode() - Method in class org.apache.lucene.monitor.ScoringMatch
- HighlightsMatch - Class in org.apache.lucene.monitor
-
QueryMatch object that contains the hit positions of a matching Query
- HighlightsMatch.Hit - Record Class in org.apache.lucene.monitor
-
Represents an individual hit
- Hit(int, int, int, int) - Constructor for record class org.apache.lucene.monitor.HighlightsMatch.Hit
-
Creates an instance of a
Hit
record class.
I
- indexQuery(Query, Map<String, String>) - Method in class org.apache.lucene.monitor.Presearcher
-
Build a lucene Document to index the query in a Monitor's queryindex
- indexQuery(Query, Map<String, String>) - Method in class org.apache.lucene.monitor.TermFilteredPresearcher
- isReadOnly() - Method in class org.apache.lucene.monitor.MonitorConfiguration
- iterator() - Method in class org.apache.lucene.monitor.SlowLog
L
- lastPurged() - Method in record class org.apache.lucene.monitor.Monitor.QueryCacheStats
-
Returns the value of the
lastPurged
record component. - lengthWeightor(double, double) - Static method in interface org.apache.lucene.monitor.TermWeightor
-
QueryTerms will be assigned a weight based on their term length
- logQueryTime(String, long) - Method in interface org.apache.lucene.monitor.QueryTimeListener
-
How long it took to run a particular query
M
- match(String, int) - Method in class org.apache.lucene.monitor.PresearcherMatches
-
Returns match information for a given query
- match(Document[], MatcherFactory<T>) - Method in class org.apache.lucene.monitor.Monitor
-
Match an array of
Document
s against the queryindex, calling aCandidateMatcher
produced by the suppliedMatcherFactory
for each possible matching query. - match(Document, MatcherFactory<T>) - Method in class org.apache.lucene.monitor.Monitor
-
Match a single
Document
against the queryindex, calling aCandidateMatcher
produced by the suppliedMatcherFactory
for each possible matching query. - matcher - Variable in class org.apache.lucene.monitor.PresearcherMatches
-
The wrapped Matches
- MATCHER - Static variable in class org.apache.lucene.monitor.ExplainingMatch
-
A MatcherFactory for producing ExplainingMatches
- MATCHER - Static variable in class org.apache.lucene.monitor.HighlightsMatch
- MatcherFactory<T> - Interface in org.apache.lucene.monitor
-
Interface for the creation of new CandidateMatcher objects
- Matcher types - Search tag in package org.apache.lucene.monitor
- Section
- matches(String) - Method in class org.apache.lucene.monitor.MatchingQueries
-
Returns the QueryMatch for the given query, or null if it did not match
- matches(String, int) - Method in class org.apache.lucene.monitor.MultiMatchingQueries
-
Returns the QueryMatch for the given query and document, or null if it did not match
- MatchingQueries<T> - Class in org.apache.lucene.monitor
-
Class to hold the results of matching a single
Document
against queries held in the Monitor - matchQuery(String, Query, Map<String, String>) - Method in class org.apache.lucene.monitor.CandidateMatcher
-
Runs the supplied query against this CandidateMatcher's set of documents, storing any resulting match, and recording the query in the presearcher hits
- matchQuery(String, Query, Map<String, String>) - Method in class org.apache.lucene.monitor.ParallelMatcher
- matchQuery(String, Query, Map<String, String>) - Method in class org.apache.lucene.monitor.PartitionMatcher
- matchWithSimilarity(Similarity) - Static method in class org.apache.lucene.monitor.ScoringMatch
- Monitor - Class in org.apache.lucene.monitor
- Monitor(Analyzer) - Constructor for class org.apache.lucene.monitor.Monitor
-
Create a non-persistent Monitor instance with the default term-filtering Presearcher
- Monitor(Analyzer, MonitorConfiguration) - Constructor for class org.apache.lucene.monitor.Monitor
-
Create a new Monitor instance with a specific configuration
- Monitor(Analyzer, Presearcher) - Constructor for class org.apache.lucene.monitor.Monitor
-
Create a new non-persistent Monitor instance
- Monitor(Analyzer, Presearcher, MonitorConfiguration) - Constructor for class org.apache.lucene.monitor.Monitor
-
Create a new Monitor instance
- Monitor.QueryCacheStats - Record Class in org.apache.lucene.monitor
-
Statistics for the query cache and query index
- MonitorConfiguration - Class in org.apache.lucene.monitor
-
Encapsulates various configuration settings for a Monitor's query index
- MonitorConfiguration() - Constructor for class org.apache.lucene.monitor.MonitorConfiguration
- Monitoring framework - Search tag in package org.apache.lucene.monitor
- Section
- MonitorQuery - Class in org.apache.lucene.monitor
-
Defines a query to be stored in a Monitor
- MonitorQuery(String, Query) - Constructor for class org.apache.lucene.monitor.MonitorQuery
-
Creates a new MonitorQuery with empty metadata and no string representation
- MonitorQuery(String, Query, String, Map<String, String>) - Constructor for class org.apache.lucene.monitor.MonitorQuery
-
Creates a new MonitorQuery
- MonitorQuerySerializer - Interface in org.apache.lucene.monitor
-
Serializes and deserializes MonitorQuery objects into byte streams
- MonitorUpdateListener - Interface in org.apache.lucene.monitor
-
For reporting events on a Monitor's query index
- MultiMatchingQueries<T> - Class in org.apache.lucene.monitor
-
Class to hold the results of matching a batch of
Document
s against queries held in the Monitor - MultipassTermFilteredPresearcher - Class in org.apache.lucene.monitor
-
A TermFilteredPresearcher that indexes queries multiple times, with terms collected from different routes through a querytree.
- MultipassTermFilteredPresearcher(int) - Constructor for class org.apache.lucene.monitor.MultipassTermFilteredPresearcher
-
Construct a new MultipassTermFilteredPresearcher using
TermFilteredPresearcher.DEFAULT_WEIGHTOR
- MultipassTermFilteredPresearcher(int, float, TermWeightor, List<CustomQueryHandler>, Set<String>) - Constructor for class org.apache.lucene.monitor.MultipassTermFilteredPresearcher
-
Construct a new MultipassTermFilteredPresearcher
N
- next() - Method in class org.apache.lucene.monitor.TermFilteredPresearcher.BytesRefHashIterator
- NO_FILTERING - Static variable in class org.apache.lucene.monitor.Presearcher
-
A Presearcher implementation that does no query filtering, and runs all registered queries
O
- onPurge() - Method in interface org.apache.lucene.monitor.MonitorUpdateListener
-
Called after the Monitor's query cache has been purged of deleted queries
- onPurgeError(Throwable) - Method in interface org.apache.lucene.monitor.MonitorUpdateListener
-
Called if there was an error removing deleted queries from the Monitor's query cache
- org.apache.lucene.monitor - package org.apache.lucene.monitor
-
Monitoring framework
P
- ParallelMatcher<T> - Class in org.apache.lucene.monitor
-
Matcher class that runs matching queries in parallel.
- PartitionMatcher<T> - Class in org.apache.lucene.monitor
-
A multi-threaded matcher that collects all possible matches in one pass, and then partitions them amongst a number of worker threads to perform the actual matching.
- Persistent query sets - Search tag in package org.apache.lucene.monitor
- Section
- Pre-filtering of queries - Search tag in package org.apache.lucene.monitor
- Section
- presearcher - Variable in class org.apache.lucene.monitor.Monitor
- Presearcher - Class in org.apache.lucene.monitor
-
A Presearcher is used by the Monitor to reduce the number of queries actually run against a Document.
- Presearcher() - Constructor for class org.apache.lucene.monitor.Presearcher
- PresearcherMatch<T> - Class in org.apache.lucene.monitor
-
Wraps a
QueryMatch
with information about which queries were selected by the presearcher - presearcherMatches - Variable in class org.apache.lucene.monitor.PresearcherMatch
-
The presearcher hits
- PresearcherMatches<T> - Class in org.apache.lucene.monitor
-
Wraps a
MultiMatchingQueries
with information on which presearcher queries were selected - PresearcherMatches(Map<String, StringBuilder>, MultiMatchingQueries<T>) - Constructor for class org.apache.lucene.monitor.PresearcherMatches
-
Builds a new PresearcherMatches
- purgeCache() - Method in class org.apache.lucene.monitor.Monitor
-
Remove unused queries from the query cache.
Q
- queries() - Method in record class org.apache.lucene.monitor.Monitor.QueryCacheStats
-
Returns the value of the
queries
record component. - QueryCacheStats(int, int, long) - Constructor for record class org.apache.lucene.monitor.Monitor.QueryCacheStats
-
Creates an instance of a
QueryCacheStats
record class. - QueryDecomposer - Class in org.apache.lucene.monitor
-
Split a disjunction query into its consituent parts, so that they can be indexed and run separately in the Monitor.
- QueryDecomposer() - Constructor for class org.apache.lucene.monitor.QueryDecomposer
- queryId - Variable in class org.apache.lucene.monitor.PresearcherMatch
-
The query id
- queryMatch - Variable in class org.apache.lucene.monitor.PresearcherMatch
-
The QueryMatch
- QueryMatch - Class in org.apache.lucene.monitor
-
Represents a match for a specific query and document
- QueryMatch(String) - Constructor for class org.apache.lucene.monitor.QueryMatch
-
Creates a new QueryMatch for a specific query and document
- QueryTimeListener - Interface in org.apache.lucene.monitor
-
Notified of the time it takes to run individual queries against a set of documents
- QueryTree - Class in org.apache.lucene.monitor
-
A representation of a node in a query tree
- QueryTree() - Constructor for class org.apache.lucene.monitor.QueryTree
R
- RegexpQueryHandler - Class in org.apache.lucene.monitor
-
A query handler implementation that matches Regexp queries by indexing regex terms by their longest static substring, and generates ngrams from Document tokens to match them.
- RegexpQueryHandler() - Constructor for class org.apache.lucene.monitor.RegexpQueryHandler
-
Creates a new RegexpQueryHandler using default settings
- RegexpQueryHandler(int) - Constructor for class org.apache.lucene.monitor.RegexpQueryHandler
-
Creates a new RegexpQueryHandler with a maximum token size
- RegexpQueryHandler(String, int, String, Set<String>) - Constructor for class org.apache.lucene.monitor.RegexpQueryHandler
-
Creates a new RegexpQueryHandler
- register(Iterable<MonitorQuery>) - Method in class org.apache.lucene.monitor.Monitor
-
Add new queries to the monitor
- register(MonitorQuery...) - Method in class org.apache.lucene.monitor.Monitor
-
Add new queries to the monitor
- reportError(String, Exception) - Method in class org.apache.lucene.monitor.CandidateMatcher
-
Called by the Monitor if running a query throws an Exception
- resolve(T, T) - Method in class org.apache.lucene.monitor.CandidateMatcher
-
If two matches from the same query are found (for example, two branches of a disjunction), combine them.
- resolve(T, T) - Method in class org.apache.lucene.monitor.ParallelMatcher
- resolve(T, T) - Method in class org.apache.lucene.monitor.PartitionMatcher
S
- ScoringMatch - Class in org.apache.lucene.monitor
-
A QueryMatch that reports scores for each match
- searcher - Variable in class org.apache.lucene.monitor.CandidateMatcher
-
The searcher to run candidate queries against
- serialize(MonitorQuery) - Method in interface org.apache.lucene.monitor.MonitorQuerySerializer
-
Converts a MonitorQuery into a byte representation
- setDirectoryProvider(IOSupplier<Directory>, MonitorQuerySerializer) - Method in class org.apache.lucene.monitor.MonitorConfiguration
- setDirectoryProvider(IOSupplier<Directory>, MonitorQuerySerializer, Boolean) - Method in class org.apache.lucene.monitor.MonitorConfiguration
-
Sets a custom directory, with a custom serializer.
- setIndexPath(Path, MonitorQuerySerializer) - Method in class org.apache.lucene.monitor.MonitorConfiguration
- setPurgeFrequency(long, TimeUnit) - Method in class org.apache.lucene.monitor.MonitorConfiguration
-
Set the frequency with with the Monitor's querycache will be garbage-collected
- setQueryDecomposer(QueryDecomposer) - Method in class org.apache.lucene.monitor.MonitorConfiguration
-
Set the QueryDecomposer to be used by the Monitor
- setQueryUpdateBufferSize(int) - Method in class org.apache.lucene.monitor.MonitorConfiguration
-
Set how many queries will be buffered in memory before being committed to the queryindex
- SIMPLE_MATCHER - Static variable in class org.apache.lucene.monitor.QueryMatch
- SlowLog - Class in org.apache.lucene.monitor
-
Reports on slow queries in a given match run
- SlowLog() - Constructor for class org.apache.lucene.monitor.SlowLog
- SlowLog.Entry - Class in org.apache.lucene.monitor
-
An individual entry in the slow log
- space(int) - Method in class org.apache.lucene.monitor.QueryTree
-
Returns a string of
width
spaces - startOffset() - Method in record class org.apache.lucene.monitor.HighlightsMatch.Hit
-
Returns the value of the
startOffset
record component. - startPosition() - Method in record class org.apache.lucene.monitor.HighlightsMatch.Hit
-
Returns the value of the
startPosition
record component.
T
- term(String, BytesRef, double) - Static method in class org.apache.lucene.monitor.QueryTree
-
Returns a leaf node for a particular term and weight
- term(Term, double) - Static method in class org.apache.lucene.monitor.QueryTree
-
Returns a leaf node for a particular term and weight
- term(Term, TermWeightor) - Static method in class org.apache.lucene.monitor.QueryTree
-
Returns a leaf node for a particular term
- termAndFieldWeightor(double, Set<Term>) - Static method in interface org.apache.lucene.monitor.TermWeightor
-
QueryTerms with a term and field value from the selected set will be assigned the given weight
- termAndFieldWeightor(double, Term...) - Static method in interface org.apache.lucene.monitor.TermWeightor
-
QueryTerms with a term and field value from the selected set will be assigned the given weight
- TermFilteredPresearcher - Class in org.apache.lucene.monitor
-
Presearcher implementation that uses terms extracted from queries to index them in the Monitor, and builds a disjunction from terms in a document to match them.
- TermFilteredPresearcher() - Constructor for class org.apache.lucene.monitor.TermFilteredPresearcher
-
Creates a new TermFilteredPresearcher using the default term weighting
- TermFilteredPresearcher(TermWeightor, List<CustomQueryHandler>, Set<String>) - Constructor for class org.apache.lucene.monitor.TermFilteredPresearcher
-
Creates a new TermFilteredPresearcher
- TermFilteredPresearcher.BytesRefHashIterator - Class in org.apache.lucene.monitor
-
Implements a
BytesRefIterator
over aBytesRefHash
- TermFilteredPresearcher.DocumentQueryBuilder - Interface in org.apache.lucene.monitor
-
Constructs a document disjunction from a set of terms
- termFreqWeightor(Map<String, Integer>, double, double) - Static method in interface org.apache.lucene.monitor.TermWeightor
-
QueryTerms will be assigned a weight based on their term frequency
- termWeightor(double, Set<BytesRef>) - Static method in interface org.apache.lucene.monitor.TermWeightor
-
QueryTerms with a term value from the selected set will be assigned the given weight
- termWeightor(double, BytesRef...) - Static method in interface org.apache.lucene.monitor.TermWeightor
-
QueryTerms with a term value from the selected set will be assigned the given weight
- TermWeightor - Interface in org.apache.lucene.monitor
-
Calculates the weight of a
Term
- timingMatcher(MatcherFactory<T>, QueryTimeListener) - Static method in interface org.apache.lucene.monitor.QueryTimeListener
-
A wrapping matcher factory to log query times to a QueryTimeListener
- toString() - Method in record class org.apache.lucene.monitor.HighlightsMatch.Hit
-
Returns a string representation of this record class.
- toString() - Method in class org.apache.lucene.monitor.HighlightsMatch
- toString() - Method in record class org.apache.lucene.monitor.Monitor.QueryCacheStats
-
Returns a string representation of this record class.
- toString() - Method in class org.apache.lucene.monitor.MonitorQuery
- toString() - Method in class org.apache.lucene.monitor.QueryMatch
- toString() - Method in class org.apache.lucene.monitor.QueryTree
- toString() - Method in class org.apache.lucene.monitor.SlowLog
- toString(int) - Method in class org.apache.lucene.monitor.QueryTree
-
Returns a string representation of the node
W
- weight() - Method in class org.apache.lucene.monitor.QueryTree
-
The weight of this node
- wrapTermStream(String, TokenStream) - Method in interface org.apache.lucene.monitor.CustomQueryHandler
-
Adds additional processing to the
TokenStream
over a document's terms index - wrapTermStream(String, TokenStream) - Method in class org.apache.lucene.monitor.RegexpQueryHandler
All Classes and Interfaces|All Packages|Constant Field Values