Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import static com.google.cloud.firestore.telemetry.TraceUtil.ATTRIBUTE_KEY_IS_TRANSACTIONAL;

import com.google.api.core.ApiFuture;
import com.google.api.core.BetaApi;
import com.google.api.core.InternalApi;
import com.google.api.core.InternalExtensionOnly;
import com.google.api.core.SettableApiFuture;
Expand Down Expand Up @@ -235,7 +234,6 @@ private Pipeline append(Stage stage) {
* @param searchStage An object that specifies how search is performed.
* @return A new {@code Pipeline} object with this stage appended to the stage list.
*/
@BetaApi
public Pipeline search(Search searchStage) {
return append(searchStage);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package com.google.cloud.firestore.pipeline.expressions;

import com.google.api.core.BetaApi;
import com.google.api.core.InternalApi;
import com.google.cloud.Timestamp;
import com.google.cloud.firestore.Blob;
Expand Down Expand Up @@ -4283,7 +4282,6 @@ public static Expression geoDistance(String fieldName, GeoPoint location) {
* @param location Compute distance to this {@link GeoPoint}.
* @return A new {@link Expression} representing the geoDistance operation.
*/
@BetaApi
public static Expression geoDistance(Field field, GeoPoint location) {
return new FunctionExpression(
"geo_distance", java.util.Arrays.asList(field, constant(location)));
Expand All @@ -4303,7 +4301,6 @@ public static Expression geoDistance(Field field, GeoPoint location) {
* @param rquery Define the search query using the search domain-specific language (DSL).
* @return A new {@link BooleanExpression} representing the documentMatches operation.
*/
@BetaApi
public static BooleanExpression documentMatches(String rquery) {
return new BooleanFunctionExpression("document_matches", constant(rquery));
}
Expand Down Expand Up @@ -4356,7 +4353,6 @@ static BooleanExpression matches(Field field, String rquery) {
*
* @return A new {@link Expression} representing the score operation.
*/
@BetaApi
public static Expression score() {
return new FunctionExpression("score", com.google.common.collect.ImmutableList.of());
}
Expand All @@ -4379,7 +4375,6 @@ public static Expression score() {
* @param rquery Define the search query using the search domain-specific language (DSL).
* @return A new {@link Expression} representing the snippet operation.
*/
@BetaApi
@InternalApi
static Expression snippet(String fieldName, String rquery) {
return new FunctionExpression(
Expand All @@ -4403,7 +4398,6 @@ static Expression snippet(String fieldName, String rquery) {
* @param rquery Define the search query using the search domain-specific language (DSL).
* @return A new {@link Expression} representing the snippet operation.
*/
@BetaApi
@InternalApi
final Expression snippet(String rquery) {
return new FunctionExpression(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package com.google.cloud.firestore.pipeline.expressions;

import com.google.api.core.BetaApi;
import com.google.api.core.InternalApi;
import com.google.cloud.firestore.FieldPath;
import com.google.cloud.firestore.Pipeline;
Expand Down Expand Up @@ -98,7 +97,6 @@ public Value toProto() {
* @param location Compute distance to this {@link com.google.cloud.firestore.GeoPoint}.
* @return A new {@link Expression} representing the geoDistance operation.
*/
@BetaApi
public Expression geoDistance(com.google.cloud.firestore.GeoPoint location) {
return Expression.geoDistance(this, location);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import static com.google.cloud.firestore.pipeline.expressions.Expression.documentMatches;
import static com.google.cloud.firestore.pipeline.expressions.Expression.field;

import com.google.api.core.BetaApi;
import com.google.api.core.InternalApi;
import com.google.cloud.firestore.PipelineUtils;
import com.google.cloud.firestore.pipeline.expressions.BooleanExpression;
Expand Down Expand Up @@ -48,14 +47,12 @@
* );
* }</pre>
*/
@BetaApi
public final class Search extends Stage {

/**
* Specifies if the `matches` and `snippet` expressions will enhance the user provided query to
* perform matching of synonyms, misspellings, lemmatization, stemming.
*/
@BetaApi
@InternalApi
static final class QueryEnhancement {
final String protoString;
Expand Down
Loading