Uses of Class
org.springframework.data.mongodb.core.query.TextCriteria
Packages that use TextCriteria
Package
Description
MongoDB specific query and update support.
Query derivation mechanism for MongoDB specific repositories.
-
Uses of TextCriteria in org.springframework.data.mongodb.core.query
Methods in org.springframework.data.mongodb.core.query that return TextCriteriaModifier and TypeMethodDescriptionTextCriteria.caseSensitive
(boolean caseSensitive) Optionally enable or disable case sensitive search.TextCriteria.diacriticSensitive
(boolean diacriticSensitive) Optionally enable or disable diacritic sensitive search against version 3 text indexes.static TextCriteria
TextCriteria.forDefaultLanguage()
Returns a newTextCriteria
for the default language.static TextCriteria
TextCriteria.forLanguage
(String language) For a full list of supported languages see the mongodb reference manual for Text Search Languages.Adds givenTerm
to criteria.TextCriteria.matchingAny
(String... words) Configures theTextCriteria
to match any of the given words.TextCriteria.matchingPhrase
(String phrase) Given value will treated as a single phrase.TextCriteria.notMatching
(String term) TextCriteria.notMatchingAny
(String... words) TextCriteria.notMatchingPhrase
(String phrase) Given value will treated as a single phrase.Methods in org.springframework.data.mongodb.core.query with parameters of type TextCriteriaModifier and TypeMethodDescriptionstatic TextQuery
TextQuery.queryText
(TextCriteria criteria) Creates newTextQuery
searching for givenTextCriteria
.Constructors in org.springframework.data.mongodb.core.query with parameters of type TextCriteriaModifierConstructorDescriptionTextQuery
(TextCriteria criteria) Creates newTextQuery
for givenTextCriteria
. -
Uses of TextCriteria in org.springframework.data.mongodb.repository.query
Methods in org.springframework.data.mongodb.repository.query that return TextCriteriaModifier and TypeMethodDescriptionConvertingParameterAccessor.getFullText()
MongoParameterAccessor.getFullText()
Returns theTextCriteria
to be used for full text query.MongoParametersParameterAccessor.getFullText()
protected TextCriteria
MongoParametersParameterAccessor.potentiallyConvertFullText
(Object fullText)