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
-
InterfacesClassDescriptionA base for a
CompoundSearchOperatorwhich allows creating instances of this operator.A base for aDateRangeSearchOperatorwhich allows creating instances of this operator.A representation of aCompoundSearchOperatorthat allows changingfilter-specific options, if any.Fuzzy search options that may be used with someSearchOperators.A representation of aCompoundSearchOperatorthat allows changingmust-specific options, if any.A representation of aCompoundSearchOperatorthat allows changingmustNot-specific options, if any.A base for aNumberRangeSearchOperatorwhich allows creating instances of this operator.The core part of the$searchpipeline stage of an aggregation pipeline.Counting options.A facet definition forFacetSearchCollector.Highlighting options.The core part of the$searchpipeline stage of an aggregation pipeline.Represents optional fields of the$searchpipeline stage of an aggregation pipeline.A specification of fields to be searched.A modifier of the relevance score.A representation of aCompoundSearchOperatorthat allows changingshould-specific options, if any.