diff --git a/src/db/export/Typesense/TypesenseSchemas.ts b/src/db/export/Typesense/TypesenseSchemas.ts index 584060e6..5a6483f9 100644 --- a/src/db/export/Typesense/TypesenseSchemas.ts +++ b/src/db/export/Typesense/TypesenseSchemas.ts @@ -67,7 +67,8 @@ export const climbSchema: CollectionCreateSchema = { type: 'geopoint' as const, index: true } - ] + ], + token_separators: ['(', ')', '-', '.'] // TBD: need to have better tie-breakers (star/popularity ratings) // default_sorting_field: 'climb_name' } @@ -132,5 +133,6 @@ export const areaSchema: CollectionCreateSchema = { type: 'geopoint' as const, index: true } - ] + ], + token_separators: ['(', ')', '-', '.'] }