package
0.0.0-20240905174813-5b86810c7bc7
Repository: https://github.com/geange/lucene-go.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
CreateFieldValueHitQueue Creates a hit queue sorted by the given list of fields.
FromTermsEnumMatchesIterator Create a DisjunctionMatchesIterator over a list of terms extracted from a BytesRefIterator Only terms that have at least one match in the given document will be included.
No description provided by the author
GetMaxClauseCount Return the maximum number of clauses permitted, 1024 by default.
No description provided by the author
No description provided by the author
HitsThresholdCheckerCreateShared Returns a threshold checker that is based on a shared counter.
IntersectIterators Create a conjunction over the provided Scorers.
MatchesForField Create a Matches for a single field.
MatchesFromSubMatches Amalgamate a collection of Matches into a single object.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewBM25Similarity BM25 with these default values: * k1 = 1.2 * b = 0.75.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewConstantScoreScorer Constructor based on a DocIdSetIterator which will be used to drive iteration.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewDocIdSetBuilder Create a builder that can contain doc IDs between 0 and maxDoc.
NewDocIdSetBuilderV1 Create a DocIdSetBuilder instance that is optimized for accumulating docs that match the given Terms.
NewDocIdSetBuilderV2 Create a DocIdSetBuilder instance that is optimized for accumulating docs that match the given PointValues.
No description provided by the author
NewFieldDoc Expert: Creates one of these objects with empty sort information.
NewFieldDocV1 Expert: Creates one of these objects with the given sort information.
NewFieldDocV2 Expert: Creates one of these objects with the given sort information.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewLeafSimScorer org.apache.lucene.search.similarities.Similarity.SimScorer on a specific LeafReader.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewReqOptSumScorer Construct a ReqOptScorer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewTermQueryV1 Expert: constructs a TermQuery that will use the provided docFreq instead of looking up the docFreq against the searcher.
No description provided by the author
No description provided by the author
NewTopDocs Constructs a TopDocs.
NewTopFieldDocs Creates one of these objects.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
DEFAULT_INTERVAL we use 2^10-1 to check the remainder with a bitwise operation.
No description provided by the author
# Variables
COMPLETE Produced scorers will allow visiting all matches and get their score.
COMPLETE_NO_SCORES Produced scorers will allow visiting all matches but scores won't be available.
No description provided by the author
No description provided by the author
No description provided by the author
TOP_DOCS ScoreMode for top field collectors that can provide their own iterators, to optionally allow to skip for non-competitive docs.
TOP_DOCS_WITH_SCORES ScoreMode for top field collectors that can provide their own iterators, to optionally allow to skip for non-competitive docs.
TOP_SCORES Produced scorers will optionally allow skipping over non-competitive hits using the Scorer.SetMinCompetitiveScore(float) API.
# Structs
AutomatonQuery A Query that will match terms against a finite-state machine.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BaseTopDocs Represents hits returned by IndexSearcher.search(Query, int).
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BM25Similarity BM25 Similarity.
No description provided by the author
BooleanClause A clause in a BooleanQuery.
BooleanQuery A Query that matches documents matching boolean combinations of other queries, e.g.
BooleanQueryBuilder A builder for boolean queries.
BooleanWeight Expert: the Weight for BooleanQuery, used to normalize, score and explain these queries.
BoostQuery A Query wrapper that allows to give a boost to the wrapped query.
No description provided by the author
No description provided by the author
No description provided by the author
ConjunctionDISI A conjunction of DocIdSetIterators.
ConjunctionScorer Create a new ConjunctionScorer, note that scorers must be a subset of required.
No description provided by the author
ConstantScoreQuery A query that wraps another query and simply returns a constant score equal to 1 for every document that matches the query.
No description provided by the author
No description provided by the author
No description provided by the author
DisiPriorityQueue A priority queue of DocIdSetIterators that orders by current doc ID.
DisiWrapper Wrapper used in DisiPriorityQueue.
No description provided by the author
DisjunctionMaxQuery A query that generates the union of documents produced by its subqueries, and that scores each document with the maximum score for that document as produced by any subquery, plus a tie breaking increment for any additional matching subqueries.
DisjunctionScorer Base class for Scorers that score disjunctions.
DisjunctionSumScorer A Scorer for OR like queries, counterpart of ConjunctionScorer.
No description provided by the author
DocIdSetBuilder A builder of DocIdSets.
DocValuesFieldExistsQuery A Query that matches documents that have a value for a given field as reported by doc values iterators.
No description provided by the author
No description provided by the author
No description provided by the author
A FilterScorer contains another Scorer, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.
No description provided by the author
GlobalHitsThresholdChecker Implementation of HitsThresholdChecker which allows global hit counting.
ImpactsDISI DocIdSetIterator that skips non-competitive docs thanks to the indexed impacts.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LocalHitsThresholdChecker Default implementation of HitsThresholdChecker to be used for single threaded execution.
No description provided by the author
No description provided by the author
MatchNoDocsQuery A query that matches no documents.
MaxScoreAccumulator Maintains the maximum score and its corresponding document id concurrently.
MaxScoreCache Compute maximum scores based on Impacts and keep them in a cache in order not to run expensive similarity score computations multiple times on the same data.
MaxScoreSumPropagator Utility class to propagate scoring information in BooleanQuery, which compute the score as the sum of the scores of its matching clauses.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NamedMatches Utility class to help extract the set of sub queries that have matched from a larger query.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ReqExclScorer A Scorer for queries with a required subscorer and an excluding (prohibited) sub Scorer.
ReqOptSumScorer A Scorer for queries with a required part and an optional part.
No description provided by the author
No description provided by the author
No description provided by the author
ShardRef Refers to one hit:.
No description provided by the author
No description provided by the author
No description provided by the author
TermInSetQuery Specialization for a disjunction over many terms that behaves like a ConstantScoreQuery over a BooleanQuery containing only BooleanClause.Occur.OccurShould clauses.
TermMatchesIterator A MatchesIterator over a single term's postings list.
TermQuery A Query that matches documents containing a term.
No description provided by the author
TermScorer Expert: A Scorer for documents matching a Term.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
WANDScorer This implements the WAND (Weak AND) algorithm for dynamic pruning described in "Efficient Query Evaluation using a Two-Level Retrieval Process" by Broder, Carmel, Herscovici, Soffer and Zien.
# Interfaces
BulkAdder Utility class to efficiently add many docs in one go.
No description provided by the author
CollectorManager A manager of collectors.
A DocIdSet contains a set of doc ids.
No description provided by the author
FieldDoc Expert: A ScoreDoc which also contains information about how to sort the referenced document.
FieldValueHitQueue Expert: A hit queue for sorting by hits by terms in more than one field.
HitsThresholdChecker Used for defining custom algorithms to allow searches to early terminate.
No description provided by the author
MultiTermQuery An abstract Query that matches documents containing a subset of terms provided by a FilteredTermsEnum enumeration.
No description provided by the author
RewriteMethod Abstract class that defines how the query is rewritten.
SimpleCollector Base Collector implementation that is used to collect all contexts.
No description provided by the author
No description provided by the author
TopDocsCollector A base class for all collectors that return a TopDocs output.
TopScoreDocCollector A Collector implementation that collects the top-scoring hits, returning them as a TopDocs.
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author