Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(search): Update search_config.yaml #11971

Merged
merged 3 commits into from
Nov 28, 2024
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 @@ -65,9 +65,9 @@ queryConfigurations:
boost_mode: replace

# Criteria for exact-match only
# Contains quotes, is a single term with `_`, `.`, or `-` (normally consider for tokenization) then use exact match query
# Contains quotes then use exact match query
- queryRegex: >-
^["'].+["']$|^[a-zA-Z0-9]\S+[_.-]\S+[a-zA-Z0-9]$
^["'].+["']$
simpleQuery: false
prefixMatchQuery: true
exactMatchQuery: true
Expand Down
2 changes: 1 addition & 1 deletion smoke-test/tests/cypress/cypress/e2e/siblings/siblings.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ describe("siblings", () => {

it("will combine results in search", () => {
cy.login();
cy.visit("/search?page=1&query=raw_orders");
cy.visit("/search?page=1&query=%22raw_orders%22");

cy.contains("Showing 1 - 2 of ");

Expand Down
Loading