I'm having trouble getting results for single types. For collection types I'm getting results as expected. But for single types it comes back as an empty array even when I search the exact text of the title. I've tried adding and removing other options like characterLimit and threshold but it's not having any effect.
module.exports = ({ env }) => ({
"fuzzy-search": {
enabled: true,
config: {
contentTypes: [
...
{
uid: "api::donate-page.donate-page",
modelName: "donate-page",
fuzzysortOptions: {
keys: [
{
name: "title",
weight: 200,
},
{
name: "subtitle",
weight: -200,
}
],
},
},
...
],
},
}
});
I'm having trouble getting results for single types. For collection types I'm getting results as expected. But for single types it comes back as an empty array even when I search the exact text of the title. I've tried adding and removing other options like
characterLimitandthresholdbut it's not having any effect.This is my config:
Any thoughts?