Package com.mongodb.client.model.search
@NonNullApi
@Beta(CLIENT)
package com.mongodb.client.model.search
Query building API for MongoDB Atlas full-text search.
While all the building blocks of this API, such as
SearchOptions
, SearchHighlight
, etc.,
are not necessary immutable
, they are unmodifiable due to methods like
SearchHighlight.maxCharsToExamine(int)
returning new instances instead of modifying the instance
on which they are called. This allows storing and using such instances as templates.
- Since:
- 4.7
- See Also:
- MongoDB Atlas documentation
- Atlas Search
- Atlas Search aggregation pipeline stages
-
ClassDescriptionA base for a
CompoundSearchOperator
which allows creating instances of this operator.A base for aDateRangeSearchOperator
which allows creating instances of this operator.A representation of aCompoundSearchOperator
that allows changingfilter
-specific options, if any.Fuzzy search options that may be used with someSearchOperator
s.A representation of aCompoundSearchOperator
that allows changingmust
-specific options, if any.A representation of aCompoundSearchOperator
that allows changingmustNot
-specific options, if any.A base for aNumberRangeSearchOperator
which allows creating instances of this operator.The core part of the$search
pipeline stage of an aggregation pipeline.Counting options.A facet definition forFacetSearchCollector
.Highlighting options.The core part of the$search
pipeline stage of an aggregation pipeline.Represents optional fields of the$search
pipeline stage of an aggregation pipeline.A specification of fields to be searched.A modifier of the relevance score.A representation of aCompoundSearchOperator
that allows changingshould
-specific options, if any.Represents optional fields of the$vectorSearch
pipeline stage of an aggregation pipeline.