File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
packages/client-search/src/types Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -334,4 +334,12 @@ export type SearchOptions = {
334334 * Engine's default: true
335335 */
336336 readonly enableABTest ?: boolean ;
337+
338+ /**
339+ * Enable word segmentation (also called decompounding) at query time for
340+ * compatible languages. For example, this turns the Dutch query
341+ * "spaanplaatbehang" into "spaan plaat behang" to retrieve more relevant
342+ * results.
343+ */
344+ readonly decompoundQuery ?: boolean ;
337345} ;
Original file line number Diff line number Diff line change @@ -283,4 +283,12 @@ export type Settings = {
283283 * Custom userData that could be added to the Settings.
284284 */
285285 readonly userData ?: any ;
286+
287+ /**
288+ * Enable word segmentation (also called decompounding) at query time for
289+ * compatible languages. For example, this turns the Dutch query
290+ * "spaanplaatbehang" into "spaan plaat behang" to retrieve more relevant
291+ * results.
292+ */
293+ readonly decompoundQuery ?: boolean ;
286294} ;
You can’t perform that action at this time.
0 commit comments