Skip to content

Change defaults to ignoreLocation: true and ignoreFieldNorm: true #753

@ViktorQvarfordt

Description

@ViktorQvarfordt

Is there an existing issue or pull request for this?

  • I have searched the existing issues and pull requests

Feature description

The default is ignoreLocation: false and ignoreFieldNorm: false, this causes basic searches to give very strange results.

Desired solution

Set the default options to ignoreLocation: true and ignoreFieldNorm: true.

Alternatives considered

Make it very clear early in the docs or in the demo that one might want to use these options. I was so close to giving up on this library until I found these options. I just plainly want to fuzzy-search for matches in my strings. I don't expect any location or string length to affect the search by default.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions