Skip to content

Commit a993026

Browse files
fix(firestore): graduate pipeline search from preview to GA (#14741)
1 parent 00f7bea commit a993026

4 files changed

Lines changed: 0 additions & 13 deletions

File tree

‎java-firestore/google-cloud-firestore/src/main/java/com/google/cloud/firestore/Pipeline.java‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
import static com.google.cloud.firestore.telemetry.TraceUtil.ATTRIBUTE_KEY_IS_TRANSACTIONAL;
2222

2323
import com.google.api.core.ApiFuture;
24-
import com.google.api.core.BetaApi;
2524
import com.google.api.core.InternalApi;
2625
import com.google.api.core.InternalExtensionOnly;
2726
import com.google.api.core.SettableApiFuture;
@@ -235,7 +234,6 @@ private Pipeline append(Stage stage) {
235234
* @param searchStage An object that specifies how search is performed.
236235
* @return A new {@code Pipeline} object with this stage appended to the stage list.
237236
*/
238-
@BetaApi
239237
public Pipeline search(Search searchStage) {
240238
return append(searchStage);
241239
}

‎java-firestore/google-cloud-firestore/src/main/java/com/google/cloud/firestore/pipeline/expressions/Expression.java‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

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

19-
import com.google.api.core.BetaApi;
2019
import com.google.api.core.InternalApi;
2120
import com.google.cloud.Timestamp;
2221
import com.google.cloud.firestore.Blob;
@@ -4283,7 +4282,6 @@ public static Expression geoDistance(String fieldName, GeoPoint location) {
42834282
* @param location Compute distance to this {@link GeoPoint}.
42844283
* @return A new {@link Expression} representing the geoDistance operation.
42854284
*/
4286-
@BetaApi
42874285
public static Expression geoDistance(Field field, GeoPoint location) {
42884286
return new FunctionExpression(
42894287
"geo_distance", java.util.Arrays.asList(field, constant(location)));
@@ -4303,7 +4301,6 @@ public static Expression geoDistance(Field field, GeoPoint location) {
43034301
* @param rquery Define the search query using the search domain-specific language (DSL).
43044302
* @return A new {@link BooleanExpression} representing the documentMatches operation.
43054303
*/
4306-
@BetaApi
43074304
public static BooleanExpression documentMatches(String rquery) {
43084305
return new BooleanFunctionExpression("document_matches", constant(rquery));
43094306
}
@@ -4356,7 +4353,6 @@ static BooleanExpression matches(Field field, String rquery) {
43564353
*
43574354
* @return A new {@link Expression} representing the score operation.
43584355
*/
4359-
@BetaApi
43604356
public static Expression score() {
43614357
return new FunctionExpression("score", com.google.common.collect.ImmutableList.of());
43624358
}
@@ -4379,7 +4375,6 @@ public static Expression score() {
43794375
* @param rquery Define the search query using the search domain-specific language (DSL).
43804376
* @return A new {@link Expression} representing the snippet operation.
43814377
*/
4382-
@BetaApi
43834378
@InternalApi
43844379
static Expression snippet(String fieldName, String rquery) {
43854380
return new FunctionExpression(
@@ -4403,7 +4398,6 @@ static Expression snippet(String fieldName, String rquery) {
44034398
* @param rquery Define the search query using the search domain-specific language (DSL).
44044399
* @return A new {@link Expression} representing the snippet operation.
44054400
*/
4406-
@BetaApi
44074401
@InternalApi
44084402
final Expression snippet(String rquery) {
44094403
return new FunctionExpression(

‎java-firestore/google-cloud-firestore/src/main/java/com/google/cloud/firestore/pipeline/expressions/Field.java‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

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

19-
import com.google.api.core.BetaApi;
2019
import com.google.api.core.InternalApi;
2120
import com.google.cloud.firestore.FieldPath;
2221
import com.google.cloud.firestore.Pipeline;
@@ -98,7 +97,6 @@ public Value toProto() {
9897
* @param location Compute distance to this {@link com.google.cloud.firestore.GeoPoint}.
9998
* @return A new {@link Expression} representing the geoDistance operation.
10099
*/
101-
@BetaApi
102100
public Expression geoDistance(com.google.cloud.firestore.GeoPoint location) {
103101
return Expression.geoDistance(this, location);
104102
}

‎java-firestore/google-cloud-firestore/src/main/java/com/google/cloud/firestore/pipeline/stages/Search.java‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
import static com.google.cloud.firestore.pipeline.expressions.Expression.documentMatches;
2121
import static com.google.cloud.firestore.pipeline.expressions.Expression.field;
2222

23-
import com.google.api.core.BetaApi;
2423
import com.google.api.core.InternalApi;
2524
import com.google.cloud.firestore.PipelineUtils;
2625
import com.google.cloud.firestore.pipeline.expressions.BooleanExpression;
@@ -48,14 +47,12 @@
4847
* );
4948
* }</pre>
5049
*/
51-
@BetaApi
5250
public final class Search extends Stage {
5351

5452
/**
5553
* Specifies if the `matches` and `snippet` expressions will enhance the user provided query to
5654
* perform matching of synonyms, misspellings, lemmatization, stemming.
5755
*/
58-
@BetaApi
5956
@InternalApi
6057
static final class QueryEnhancement {
6158
final String protoString;

0 commit comments

Comments
 (0)