Fine tune search constants
Multiplier for category locations' descriptions
0.0005
Multiplier for category locations' names
0.01
Multiplier for category locations' tags
0.0005
Multiplier for category names
0.5
Default rank when one isn't available in the data, default = 1
1
Multiplier for location names
1
Fuzziness index for location names and tags
0.09
Multiplier for location tags
0.05
Multiplier for location names (1 by default)
1
Ratio of Fuzzy Searches of Location names and tags relative to exact
0.01
Ratio of Prefix Searches of Location names and tags relative to exact
0.2
Multiplier for descriptions
0.025
Optional
emitEmit Analytics events when doing search
true when running in production
Optional
jsonInitialize Search with a previously indexed JSON string (outputted by OfflineSearch.toJSON())
Optional
searchIndex location descriptions - typically better to use either tags or descriptions, depending on what's available
true
Optional
searchAlso index all tags for every location in every category (caution: this may slow down indexing and search)
false
Optional
searchIndex location tags - typically better to use either tags or descriptions, depending on what's available
true
Optional
searchAlso index all tags for every location in every category (caution: this may slow down indexing and search)
false
Optional
stopArray of stopwords to ignore when searching, default: english stopwords
Optional
useUse the location polygons' rank in weighing results
A OfflineSearch is an offline search module