Closed ziadrida closed 4 years ago
Add tokenSeparator to the list of options.
I tried a search of Notebook in a keywords of: "Notebook/Laptop" and got no match also it won't match "Notebook,Laptop", but it will match "Notebook, Laptop". !
So it is important to document this feature so users don't have to guess!
(Settings about my search options above): var options = { shouldSort: true, tokenize: true, matchAllTokens: true, includeScore: true, includeMatches: true, threshold: 0, location: 0, distance: 0, maxPatternLength: 100, minMatchCharLength: 2, keys: [ "keywords", "category_name" ] };
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
Add tokenSeparator to the list of options.
I tried a search of Notebook in a keywords of: "Notebook/Laptop" and got no match also it won't match "Notebook,Laptop", but it will match "Notebook, Laptop". !
So it is important to document this feature so users don't have to guess!
(Settings about my search options above): var options = { shouldSort: true, tokenize: true, matchAllTokens: true, includeScore: true, includeMatches: true, threshold: 0, location: 0, distance: 0, maxPatternLength: 100, minMatchCharLength: 2, keys: [ "keywords", "category_name" ] };