Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Populate a nested object #196

Open
shinichimg opened this issue Jul 12, 2024 · 1 comment
Open

Populate a nested object #196

shinichimg opened this issue Jul 12, 2024 · 1 comment

Comments

@shinichimg
Copy link

shinichimg commented Jul 12, 2024

"fuzzy-search": {
    enabled: true,
    config: {
      contentTypes: [
        {
          uid: 'api::ufa.ufa',
          modelName: 'ufa',
          fuzzysortOptions: {
            characterLimit: 300,
            threshold: 0.6,
            limit: 15,
            keys: [
              {
                name: "ufaNomComplet_HOMEPAGE_TITRE1",
                weight: 0.1,
              },
              {
                name: "ufa_pilliers.pillierNom" // Can we do like this? ,
                weight: -0.1,
              },
            ],
          },
        },
        }

Do we have any way to search in populated fields like this?

@DomDew
Copy link
Owner

DomDew commented Jul 17, 2024

Sadly not at the moment. Would be a cool feature though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants