Skip to content

Commit

Permalink
feat(search): Update search_config.yaml (datahub-project#11971)
Browse files Browse the repository at this point in the history
  • Loading branch information
david-leifker authored and sleeperdeep committed Dec 17, 2024
1 parent d9de671 commit a5df243
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit a5df243

Please sign in to comment.