code stringlengths 23 201k | docstring stringlengths 17 96.2k | func_name stringlengths 0 235 | language stringclasses 1
value | repo stringlengths 8 72 | path stringlengths 11 317 | url stringlengths 57 377 | license stringclasses 7
values |
|---|---|---|---|---|---|---|---|
@Nullable
public Integer getMaxResults() {
return maxResults;
} | base class for query builders. The different implementations of {@link Query} should derive from this class and then
offer a constructor that takes their builder as argument and passes this on to the super class.
@author Peter-Josef Meisch
@since 4.4 | getMaxResults | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
@Nullable
public Collection<String> getIds() {
return ids;
} | base class for query builders. The different implementations of {@link Query} should derive from this class and then
offer a constructor that takes their builder as argument and passes this on to the super class.
@author Peter-Josef Meisch
@since 4.4 | getIds | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public boolean getTrackScores() {
return trackScores;
} | base class for query builders. The different implementations of {@link Query} should derive from this class and then
offer a constructor that takes their builder as argument and passes this on to the super class.
@author Peter-Josef Meisch
@since 4.4 | getTrackScores | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
@Nullable
public IndicesOptions getIndicesOptions() {
return indicesOptions;
} | base class for query builders. The different implementations of {@link Query} should derive from this class and then
offer a constructor that takes their builder as argument and passes this on to the super class.
@author Peter-Josef Meisch
@since 4.4 | getIndicesOptions | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public float getMinScore() {
return minScore;
} | base class for query builders. The different implementations of {@link Query} should derive from this class and then
offer a constructor that takes their builder as argument and passes this on to the super class.
@author Peter-Josef Meisch
@since 4.4 | getMinScore | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
@Nullable
public String getPreference() {
return preference;
} | base class for query builders. The different implementations of {@link Query} should derive from this class and then
offer a constructor that takes their builder as argument and passes this on to the super class.
@author Peter-Josef Meisch
@since 4.4 | getPreference | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
@Nullable
public SourceFilter getSourceFilter() {
return sourceFilter;
} | base class for query builders. The different implementations of {@link Query} should derive from this class and then
offer a constructor that takes their builder as argument and passes this on to the super class.
@author Peter-Josef Meisch
@since 4.4 | getSourceFilter | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
@Nullable
public HighlightQuery getHighlightQuery() {
return highlightQuery;
} | base class for query builders. The different implementations of {@link Query} should derive from this class and then
offer a constructor that takes their builder as argument and passes this on to the super class.
@author Peter-Josef Meisch
@since 4.4 | getHighlightQuery | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
@Nullable
public String getRoute() {
return route;
} | base class for query builders. The different implementations of {@link Query} should derive from this class and then
offer a constructor that takes their builder as argument and passes this on to the super class.
@author Peter-Josef Meisch
@since 4.4 | getRoute | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
@Nullable
public List<IndexBoost> getIndicesBoost() {
return indicesBoost;
} | base class for query builders. The different implementations of {@link Query} should derive from this class and then
offer a constructor that takes their builder as argument and passes this on to the super class.
@author Peter-Josef Meisch
@since 4.4 | getIndicesBoost | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public Query.@Nullable SearchType getSearchType() {
return searchType;
} | base class for query builders. The different implementations of {@link Query} should derive from this class and then
offer a constructor that takes their builder as argument and passes this on to the super class.
@author Peter-Josef Meisch
@since 4.4 | getSearchType | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
@Nullable
public Boolean getTrackTotalHits() {
return trackTotalHits;
} | base class for query builders. The different implementations of {@link Query} should derive from this class and then
offer a constructor that takes their builder as argument and passes this on to the super class.
@author Peter-Josef Meisch
@since 4.4 | getTrackTotalHits | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
@Nullable
public Integer getTrackTotalHitsUpTo() {
return trackTotalHitsUpTo;
} | base class for query builders. The different implementations of {@link Query} should derive from this class and then
offer a constructor that takes their builder as argument and passes this on to the super class.
@author Peter-Josef Meisch
@since 4.4 | getTrackTotalHitsUpTo | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
@Nullable
public Duration getScrollTime() {
return scrollTime;
} | base class for query builders. The different implementations of {@link Query} should derive from this class and then
offer a constructor that takes their builder as argument and passes this on to the super class.
@author Peter-Josef Meisch
@since 4.4 | getScrollTime | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
@Nullable
public Duration getTimeout() {
return timeout;
} | base class for query builders. The different implementations of {@link Query} should derive from this class and then
offer a constructor that takes their builder as argument and passes this on to the super class.
@author Peter-Josef Meisch
@since 4.4 | getTimeout | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public boolean getExplain() {
return explain;
} | base class for query builders. The different implementations of {@link Query} should derive from this class and then
offer a constructor that takes their builder as argument and passes this on to the super class.
@author Peter-Josef Meisch
@since 4.4 | getExplain | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
@Nullable
public List<Object> getSearchAfter() {
return searchAfter;
} | base class for query builders. The different implementations of {@link Query} should derive from this class and then
offer a constructor that takes their builder as argument and passes this on to the super class.
@author Peter-Josef Meisch
@since 4.4 | getSearchAfter | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
@Nullable
public Boolean getRequestCache() {
return requestCache;
} | base class for query builders. The different implementations of {@link Query} should derive from this class and then
offer a constructor that takes their builder as argument and passes this on to the super class.
@author Peter-Josef Meisch
@since 4.4 | getRequestCache | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public List<Query.IdWithRouting> getIdsWithRouting() {
return idsWithRouting;
} | base class for query builders. The different implementations of {@link Query} should derive from this class and then
offer a constructor that takes their builder as argument and passes this on to the super class.
@author Peter-Josef Meisch
@since 4.4 | getIdsWithRouting | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public List<RuntimeField> getRuntimeFields() {
return runtimeFields;
} | base class for query builders. The different implementations of {@link Query} should derive from this class and then
offer a constructor that takes their builder as argument and passes this on to the super class.
@author Peter-Josef Meisch
@since 4.4 | getRuntimeFields | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public List<RescorerQuery> getRescorerQueries() {
return rescorerQueries;
} | base class for query builders. The different implementations of {@link Query} should derive from this class and then
offer a constructor that takes their builder as argument and passes this on to the super class.
@author Peter-Josef Meisch
@since 4.4 | getRescorerQueries | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public SELF withIds(String... ids) {
this.ids.clear();
this.ids.addAll(Arrays.asList(ids));
return self();
} | Set Ids for a multi-get request run with this query. Not used in any other searches.
@param ids list of id values | withIds | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public SELF withIds(Collection<String> ids) {
Assert.notNull(ids, "ids must not be null");
this.ids.clear();
this.ids.addAll(ids);
return self();
} | Set Ids for a multi-get request run with this query. Not used in any other searches.
@param ids list of id values | withIds | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public SELF withTrackScores(boolean trackScores) {
this.trackScores = trackScores;
return self();
} | Set Ids for a multi-get request run with this query. Not used in any other searches.
@param ids list of id values | withTrackScores | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public SELF withIndicesOptions(IndicesOptions indicesOptions) {
this.indicesOptions = indicesOptions;
return self();
} | Set Ids for a multi-get request run with this query. Not used in any other searches.
@param ids list of id values | withIndicesOptions | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public SELF withMinScore(float minScore) {
this.minScore = minScore;
return self();
} | Set Ids for a multi-get request run with this query. Not used in any other searches.
@param ids list of id values | withMinScore | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public SELF withPreference(String preference) {
this.preference = preference;
return self();
} | Set Ids for a multi-get request run with this query. Not used in any other searches.
@param ids list of id values | withPreference | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public SELF withSourceFilter(SourceFilter sourceFilter) {
this.sourceFilter = sourceFilter;
return self();
} | Set Ids for a multi-get request run with this query. Not used in any other searches.
@param ids list of id values | withSourceFilter | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public SELF withFields(String... fields) {
this.fields.clear();
Collections.addAll(this.fields, fields);
return self();
} | Set Ids for a multi-get request run with this query. Not used in any other searches.
@param ids list of id values | withFields | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public SELF withFields(Collection<String> fields) {
Assert.notNull(fields, "fields must not be null");
this.fields.clear();
this.fields.addAll(fields);
return self();
} | Set Ids for a multi-get request run with this query. Not used in any other searches.
@param ids list of id values | withFields | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public SELF withHighlightQuery(HighlightQuery highlightQuery) {
this.highlightQuery = highlightQuery;
return self();
} | Set Ids for a multi-get request run with this query. Not used in any other searches.
@param ids list of id values | withHighlightQuery | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public SELF withRoute(String route) {
this.route = route;
return self();
} | Set Ids for a multi-get request run with this query. Not used in any other searches.
@param ids list of id values | withRoute | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public SELF withIndicesBoost(@Nullable List<IndexBoost> indicesBoost) {
this.indicesBoost = indicesBoost;
return self();
} | Set Ids for a multi-get request run with this query. Not used in any other searches.
@param ids list of id values | withIndicesBoost | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public SELF withStoredFields(@Nullable List<String> storedFields) {
this.storedFields = storedFields;
return self();
} | Set Ids for a multi-get request run with this query. Not used in any other searches.
@param ids list of id values | withStoredFields | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public SELF withIndicesBoost(IndexBoost... indicesBoost) {
this.indicesBoost = Arrays.asList(indicesBoost);
return self();
} | Set Ids for a multi-get request run with this query. Not used in any other searches.
@param ids list of id values | withIndicesBoost | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public SELF withSearchType(Query.@Nullable SearchType searchType) {
this.searchType = searchType;
return self();
} | Set Ids for a multi-get request run with this query. Not used in any other searches.
@param ids list of id values | withSearchType | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public SELF withTrackTotalHits(@Nullable Boolean trackTotalHits) {
this.trackTotalHits = trackTotalHits;
return self();
} | Set Ids for a multi-get request run with this query. Not used in any other searches.
@param ids list of id values | withTrackTotalHits | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public SELF withTrackTotalHitsUpTo(@Nullable Integer trackTotalHitsUpTo) {
this.trackTotalHitsUpTo = trackTotalHitsUpTo;
return self();
} | Set Ids for a multi-get request run with this query. Not used in any other searches.
@param ids list of id values | withTrackTotalHitsUpTo | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public SELF withTimeout(@Nullable Duration timeout) {
this.timeout = timeout;
return self();
} | Set Ids for a multi-get request run with this query. Not used in any other searches.
@param ids list of id values | withTimeout | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public SELF withScrollTime(@Nullable Duration scrollTime) {
this.scrollTime = scrollTime;
return self();
} | Set Ids for a multi-get request run with this query. Not used in any other searches.
@param ids list of id values | withScrollTime | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public SELF withExplain(boolean explain) {
this.explain = explain;
return self();
} | Set Ids for a multi-get request run with this query. Not used in any other searches.
@param ids list of id values | withExplain | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public SELF withSearchAfter(@Nullable List<Object> searchAfter) {
this.searchAfter = searchAfter;
return self();
} | Set Ids for a multi-get request run with this query. Not used in any other searches.
@param ids list of id values | withSearchAfter | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public SELF withRequestCache(@Nullable Boolean requestCache) {
this.requestCache = requestCache;
return self();
} | Set Ids for a multi-get request run with this query. Not used in any other searches.
@param ids list of id values | withRequestCache | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public SELF withIdsWithRouting(List<Query.IdWithRouting> idsWithRouting) {
Assert.notNull(idsWithRouting, "idsWithRouting must not be null");
this.idsWithRouting.clear();
this.idsWithRouting.addAll(idsWithRouting);
return self();
} | Set Ids with routing values for a multi-get request run with this query. Not used in any other searches.
@param idsWithRouting list of id values, must not be {@literal null}
@since 4.3 | withIdsWithRouting | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public SELF withRuntimeFields(List<RuntimeField> runtimeFields) {
Assert.notNull(runtimeFields, "runtimeFields must not be null");
this.runtimeFields.clear();
this.runtimeFields.addAll(runtimeFields);
return self();
} | Set Ids with routing values for a multi-get request run with this query. Not used in any other searches.
@param idsWithRouting list of id values, must not be {@literal null}
@since 4.3 | withRuntimeFields | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public SELF withRescorerQueries(List<RescorerQuery> rescorerQueries) {
Assert.notNull(rescorerQueries, "rescorerQueries must not be null");
this.rescorerQueries.clear();
this.rescorerQueries.addAll(rescorerQueries);
return self();
} | Set Ids with routing values for a multi-get request run with this query. Not used in any other searches.
@param idsWithRouting list of id values, must not be {@literal null}
@since 4.3 | withRescorerQueries | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
public SELF withRescorerQuery(RescorerQuery rescorerQuery) {
Assert.notNull(rescorerQuery, "rescorerQuery must not be null");
this.rescorerQueries.add(rescorerQuery);
return self();
} | Set Ids with routing values for a multi-get request run with this query. Not used in any other searches.
@param idsWithRouting list of id values, must not be {@literal null}
@since 4.3 | withRescorerQuery | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BaseQueryBuilder.java | Apache-2.0 |
@Nullable
public Duration getTimeout() {
return timeout;
} | Options that may be passed to an
{@link org.springframework.data.elasticsearch.core.DocumentOperations#bulkIndex(List, BulkOptions, IndexCoordinates)}
or
{@link org.springframework.data.elasticsearch.core.DocumentOperations#bulkUpdate(List, BulkOptions, IndexCoordinates)}
call. <br/>
Use {@link BulkOptions#builder()} t... | getTimeout | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BulkOptions.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BulkOptions.java | Apache-2.0 |
@Nullable
public RefreshPolicy getRefreshPolicy() {
return refreshPolicy;
} | Options that may be passed to an
{@link org.springframework.data.elasticsearch.core.DocumentOperations#bulkIndex(List, BulkOptions, IndexCoordinates)}
or
{@link org.springframework.data.elasticsearch.core.DocumentOperations#bulkUpdate(List, BulkOptions, IndexCoordinates)}
call. <br/>
Use {@link BulkOptions#builder()} t... | getRefreshPolicy | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BulkOptions.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BulkOptions.java | Apache-2.0 |
@Nullable
public ActiveShardCount getWaitForActiveShards() {
return waitForActiveShards;
} | Options that may be passed to an
{@link org.springframework.data.elasticsearch.core.DocumentOperations#bulkIndex(List, BulkOptions, IndexCoordinates)}
or
{@link org.springframework.data.elasticsearch.core.DocumentOperations#bulkUpdate(List, BulkOptions, IndexCoordinates)}
call. <br/>
Use {@link BulkOptions#builder()} t... | getWaitForActiveShards | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BulkOptions.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BulkOptions.java | Apache-2.0 |
@Nullable
public String getPipeline() {
return pipeline;
} | Options that may be passed to an
{@link org.springframework.data.elasticsearch.core.DocumentOperations#bulkIndex(List, BulkOptions, IndexCoordinates)}
or
{@link org.springframework.data.elasticsearch.core.DocumentOperations#bulkUpdate(List, BulkOptions, IndexCoordinates)}
call. <br/>
Use {@link BulkOptions#builder()} t... | getPipeline | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BulkOptions.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BulkOptions.java | Apache-2.0 |
@Nullable
public String getRoutingId() {
return routingId;
} | Options that may be passed to an
{@link org.springframework.data.elasticsearch.core.DocumentOperations#bulkIndex(List, BulkOptions, IndexCoordinates)}
or
{@link org.springframework.data.elasticsearch.core.DocumentOperations#bulkUpdate(List, BulkOptions, IndexCoordinates)}
call. <br/>
Use {@link BulkOptions#builder()} t... | getRoutingId | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BulkOptions.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BulkOptions.java | Apache-2.0 |
public static BulkOptionsBuilder builder() {
return new BulkOptionsBuilder();
} | Create a new {@link BulkOptionsBuilder} to build {@link BulkOptions}.
@return a new {@link BulkOptionsBuilder} to build {@link BulkOptions}. | builder | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BulkOptions.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BulkOptions.java | Apache-2.0 |
public static BulkOptions defaultOptions() {
return defaultOptions;
} | Return default {@link BulkOptions}.
@return default {@link BulkOptions}. | defaultOptions | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/BulkOptions.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/BulkOptions.java | Apache-2.0 |
public long getTook() {
return took;
} | The number of milliseconds from start to end of the whole operation. | getTook | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | Apache-2.0 |
public boolean getTimedOut() {
return timedOut;
} | Did any of the sub-requests that were part of this request timeout? | getTimedOut | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | Apache-2.0 |
public long getTotal() {
return total;
} | The number of documents that were successfully processed. | getTotal | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | Apache-2.0 |
public long getUpdated() {
return updated;
} | The number of documents that were successfully updated. | getUpdated | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | Apache-2.0 |
public long getDeleted() {
return deleted;
} | The number of documents that were successfully deleted. | getDeleted | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | Apache-2.0 |
public int getBatches() {
return batches;
} | The number of scroll responses pulled back by the update by query. | getBatches | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | Apache-2.0 |
public long getVersionConflicts() {
return versionConflicts;
} | The number of version conflicts that the update by query hit. | getVersionConflicts | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | Apache-2.0 |
public long getNoops() {
return noops;
} | The number of documents that were ignored because the script used for the update by query returned a noop value for
ctx.op. | getNoops | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | Apache-2.0 |
public long getBulkRetries() {
return bulkRetries;
} | The number of times that the request had retry bulk actions. | getBulkRetries | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | Apache-2.0 |
public long getSearchRetries() {
return searchRetries;
} | The number of times that the request had retry search actions. | getSearchRetries | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | Apache-2.0 |
@Nullable
public String getReasonCancelled() {
return reasonCancelled;
} | The reason that the request was canceled or null if it hasn't been. | getReasonCancelled | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | Apache-2.0 |
public List<Failure> getFailures() {
return failures;
} | All of the bulk failures. Version conflicts are only included if the request sets abortOnVersionConflict to true
(the default). | getFailures | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | Apache-2.0 |
public static ByQueryResponseBuilder builder() {
return new ByQueryResponseBuilder();
} | Create a new {@link ByQueryResponseBuilder} to build {@link ByQueryResponse}
@return a new {@link ByQueryResponseBuilder} to build {@link ByQueryResponse} | builder | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | Apache-2.0 |
@Nullable
public String getIndex() {
return index;
} | Create a new {@link ByQueryResponseBuilder} to build {@link ByQueryResponse}
@return a new {@link ByQueryResponseBuilder} to build {@link ByQueryResponse} | getIndex | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | Apache-2.0 |
@Nullable
public String getId() {
return id;
} | Create a new {@link ByQueryResponseBuilder} to build {@link ByQueryResponse}
@return a new {@link ByQueryResponseBuilder} to build {@link ByQueryResponse} | getId | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | Apache-2.0 |
@Nullable
public Exception getCause() {
return cause;
} | Create a new {@link ByQueryResponseBuilder} to build {@link ByQueryResponse}
@return a new {@link ByQueryResponseBuilder} to build {@link ByQueryResponse} | getCause | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | Apache-2.0 |
@Nullable
public Integer getStatus() {
return status;
} | Create a new {@link ByQueryResponseBuilder} to build {@link ByQueryResponse}
@return a new {@link ByQueryResponseBuilder} to build {@link ByQueryResponse} | getStatus | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | Apache-2.0 |
@Nullable
public Long getSeqNo() {
return seqNo;
} | Create a new {@link ByQueryResponseBuilder} to build {@link ByQueryResponse}
@return a new {@link ByQueryResponseBuilder} to build {@link ByQueryResponse} | getSeqNo | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | Apache-2.0 |
@Nullable
public Long getTerm() {
return term;
} | Create a new {@link ByQueryResponseBuilder} to build {@link ByQueryResponse}
@return a new {@link ByQueryResponseBuilder} to build {@link ByQueryResponse} | getTerm | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | Apache-2.0 |
@Nullable
public Boolean getAborted() {
return aborted;
} | Create a new {@link ByQueryResponseBuilder} to build {@link ByQueryResponse}
@return a new {@link ByQueryResponseBuilder} to build {@link ByQueryResponse} | getAborted | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | Apache-2.0 |
@Nullable
public ElasticsearchErrorCause getElasticsearchErrorCause() {
return elasticsearchErrorCause;
} | Create a new {@link ByQueryResponseBuilder} to build {@link ByQueryResponse}
@return a new {@link ByQueryResponseBuilder} to build {@link ByQueryResponse} | getElasticsearchErrorCause | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | Apache-2.0 |
public static FailureBuilder builder() {
return new FailureBuilder();
} | Create a new {@link FailureBuilder} to build {@link Failure}
@return a new {@link FailureBuilder} to build {@link Failure} | builder | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | Apache-2.0 |
public static SearchFailureBuilder builder() {
return new SearchFailureBuilder();
} | Create a new {@link SearchFailureBuilder} to build {@link SearchFailure}
@return a new {@link SearchFailureBuilder} to build {@link SearchFailure} | builder | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/ByQueryResponse.java | Apache-2.0 |
public static Criteria and() {
return new Criteria();
} | @return factory method to create an and-Criteria that is not bound to a field
@since 4.1 | and | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | Apache-2.0 |
public static Criteria or() {
return new OrCriteria();
} | @return factory method to create an or-Criteria that is not bound to a field
@since 4.1 | or | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | Apache-2.0 |
public static Criteria where(String fieldName) {
return new Criteria(fieldName);
} | Static factory method to create a new Criteria for field with given name
@param fieldName field to create the Criteria for | where | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | Apache-2.0 |
public static Criteria where(Field field) {
return new Criteria(field);
} | Static factory method to create a new Criteria for provided field
@param field field to create the Criteria for | where | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | Apache-2.0 |
@Nullable
public Field getField() {
return this.field;
} | @return the Field targeted by this Criteria | getField | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | Apache-2.0 |
public Set<CriteriaEntry> getQueryCriteriaEntries() {
return Collections.unmodifiableSet(this.queryCriteriaEntries);
} | @return the Field targeted by this Criteria | getQueryCriteriaEntries | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | Apache-2.0 |
public Set<CriteriaEntry> getFilterCriteriaEntries() {
return Collections.unmodifiableSet(this.filterCriteriaEntries);
} | @return the Field targeted by this Criteria | getFilterCriteriaEntries | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | Apache-2.0 |
public Operator getOperator() {
return Operator.AND;
} | @return the Field targeted by this Criteria | getOperator | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | Apache-2.0 |
public List<Criteria> getCriteriaChain() {
return Collections.unmodifiableList(this.criteriaChain);
} | @return the Field targeted by this Criteria | getCriteriaChain | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | Apache-2.0 |
public Criteria not() {
this.negating = true;
return this;
} | Sets the negating flag
@return this object | not | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | Apache-2.0 |
public boolean isNegating() {
return this.negating;
} | Sets the negating flag
@return this object | isNegating | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | Apache-2.0 |
public Criteria boost(float boost) {
Assert.isTrue(boost >= 0, "boost must not be negative");
this.boost = boost;
return this;
} | Sets the boost factor.
@param boost boost factor
@return this object | boost | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | Apache-2.0 |
public float getBoost() {
return this.boost;
} | Sets the boost factor.
@param boost boost factor
@return this object | getBoost | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | Apache-2.0 |
public boolean isAnd() {
return getOperator() == Operator.AND;
} | Sets the boost factor.
@param boost boost factor
@return this object | isAnd | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | Apache-2.0 |
public boolean isOr() {
return getOperator() == Operator.OR;
} | Sets the boost factor.
@param boost boost factor
@return this object | isOr | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | Apache-2.0 |
public Set<Criteria> getSubCriteria() {
return subCriteria;
} | @return the set ob subCriteria
@since 4.1 | getSubCriteria | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | Apache-2.0 |
public Criteria and(Field field) {
return new Criteria(criteriaChain, field);
} | Chain a new and-Criteria
@param field the field for the new Criteria
@return the new chained Criteria | and | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | Apache-2.0 |
public Criteria and(String fieldName) {
return new Criteria(criteriaChain, fieldName);
} | Chain a new and- Criteria
@param fieldName the field for the new Criteria
@return the new chained Criteria | and | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | Apache-2.0 |
public Criteria and(Criteria criteria) {
Assert.notNull(criteria, "Cannot chain 'null' criteria.");
this.criteriaChain.add(criteria);
return this;
} | Chain a Criteria to this object.
@param criteria the Criteria to add
@return this object | and | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | Apache-2.0 |
public Criteria and(Criteria... criterias) {
Assert.notNull(criterias, "Cannot chain 'null' criterias.");
this.criteriaChain.addAll(Arrays.asList(criterias));
return this;
} | Chain an array of Criteria to this object.
@param criterias the Criteria to add
@return this object | and | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | Apache-2.0 |
public Criteria or(Field field) {
return new OrCriteria(this.criteriaChain, field);
} | Chain a new or-Criteria
@param field the field for the new Criteria
@return the new chained Criteria | or | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | Apache-2.0 |
public Criteria or(String fieldName) {
return or(new SimpleField(fieldName));
} | Chain a new or-Criteria
@param fieldName the field for the new Criteria
@return the new chained Criteria | or | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | Apache-2.0 |
public Criteria or(Criteria criteria) {
Assert.notNull(criteria, "Cannot chain 'null' criteria.");
Assert.notNull(criteria.getField(), "Cannot chain Criteria with no field");
Criteria orCriteria = new OrCriteria(this.criteriaChain, criteria.getField());
orCriteria.queryCriteriaEntries.addAll(criteria.queryCri... | Chain a new or-Criteria. The new Criteria uses the {@link #getField()}, {@link #getQueryCriteriaEntries()} and
{@link #getFilterCriteriaEntries()} of the passed in parameter. the new created criteria is added to the criteria
chain.
@param criteria contains the information for the new Criteria
@return the new chained c... | or | java | spring-projects/spring-data-elasticsearch | src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | https://github.com/spring-projects/spring-data-elasticsearch/blob/master/src/main/java/org/springframework/data/elasticsearch/core/query/Criteria.java | Apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.