Skip to content

Commit f1a57b7

Browse files
authored
Fix query building for Local Marigold source / keyword (#423)
1 parent bf9e18b commit f1a57b7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/features/search/core/constants/ldAuthoritiesIndices.constants.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ const typeLabelEntry = (type: string) => ({
1414

1515
export const LD_AUTHORITIES_SEARCHABLE_INDICES_MAP: SearchableIndicesMap = {
1616
[SearchSegment.Search]: {
17-
[SearchableIndex.Keyword]: typeLabelEntry('keyword'),
17+
[SearchableIndex.Keyword]: {
18+
[SearchableIndexQuerySelector.Query]: `(keyword all "${SEARCH_QUERY_VALUE_PARAM}")`,
19+
},
1820
[SearchableIndex.Identifier]: {
1921
[SearchableIndexQuerySelector.Query]: `(identifier all "${SEARCH_QUERY_VALUE_PARAM}")`,
2022
},

0 commit comments

Comments
 (0)