-
Greetings, Have a play with doks and trying to get FlexSearch to work for our pages. Doesn't seem to return any results. It's an english site, so have added the latin values for var index = new FlexSearch({
preset: 'score',
cache: true,
doc: {
id: 'id',
field: [
'title',
'description',
'content',
],
store: [
'href',
'title',
'description',
],
},
encode: "simple",
tokenize: "forward"
}); Any ideas on where to look? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 10 replies
-
No issues in the console, and |
Beta Was this translation helpful? Give feedback.
-
@krzko, does it work when you use the default settings? So, when you remove: ..
encode: "simple",
tokenize: "forward"
.. And, could you provide a link to your repo? |
Beta Was this translation helpful? Give feedback.
@krzko, does it work when you use the default settings? So, when you remove:
And, could you provide a link to your repo?