Commit aada84d9 authored by Remi Mélisson's avatar Remi Mélisson
Browse files

fix: typo in analyzer name

parent 0316728c
......@@ -172,8 +172,8 @@ export const entrepriseSearchBody = (
should: [
{ fuzzy: { naming: { boost: 0.6, value: query } } },
{ match: { naming: query } },
{ match: { siret: query } },
{ match: { siren: query } },
{ match: { siret: query.replace(/\D/g, "") } },
{ match: { siren: query.replace(/\D/g, "") } },
],
},
},
......
......@@ -77,19 +77,16 @@ export const mappings = {
ville: {
analyzer: "french_indexing",
search_analyzer: "french",
type: "text",
},
address: {
analyzer: "french_indexing",
search_analyzer: "french",
type: "text",
},
naming: {
analyzer: "french_indexing",
search_analyzer: "french",
type: "text",
similarity: "bm25_no_norm_length",
},
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment