Skip to content

feat: Added public preview support for full-text search and geo search in Pipelines.#2346

Open
MarkDuckworth wants to merge 17 commits intomainfrom
markduckworth/search
Open

feat: Added public preview support for full-text search and geo search in Pipelines.#2346
MarkDuckworth wants to merge 17 commits intomainfrom
markduckworth/search

Conversation

@MarkDuckworth
Copy link
Copy Markdown
Contributor

@MarkDuckworth MarkDuckworth commented Mar 23, 2026

search API - features not available at launch have been marked internal or commented out

@MarkDuckworth MarkDuckworth requested a review from a team as a code owner March 23, 2026 23:08
@product-auto-label product-auto-label bot added size: xl Pull request size is extra large. api: firestore Issues related to the googleapis/java-firestore API. labels Mar 23, 2026
@MarkDuckworth MarkDuckworth changed the title feat: Add beta support for full-text search and geo search. feat: Added public preview support for full-text search and geo search in Pipelines. Apr 2, 2026
@MarkDuckworth MarkDuckworth requested a review from wu-hui April 2, 2026 19:00
* @param rquery Define the search query using the search domain-specific language (DSL).
* @return A new {@link Expression} representing the snippet operation.
*/
@BetaApi
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I need to make this internal because it will not be supported at launch

@MarkDuckworth MarkDuckworth requested review from cherylEnkidu and removed request for wu-hui April 2, 2026 20:54
public static final QueryEnhancement REQUIRED = new QueryEnhancement("required");

/** Search will use the un-enhanced, user provided query. */
public static final QueryEnhancement DISABLED = new QueryEnhancement("disabled");
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you let me know what is the reason for not using standard enum like this:

public enum QueryEnhancement {
    PREFERRED("preferred"),
    REQUIRED("required"),
    DISABLED("disabled");
}

I checked the other place like ReplaceWith, and looks like they use standard enum

// Disable priming as it uses Watch/Listen
}

@Before
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we use @BeforeClass so that it only run once for the whole test suite?

getFirestoreEdition().equals(FirestoreEdition.ENTERPRISE)
&& "NIGHTLY".equalsIgnoreCase(getTargetBackend()));

restaurantsCollection = firestore.collection(COLLECTION_NAME);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: firestore Issues related to the googleapis/java-firestore API. size: xl Pull request size is extra large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants