nextapps-de / flexsearch

Next-Generation full text search library for Browser and Node.js
Apache License 2.0
12.54k stars 492 forks source link

Suggestion and or operator? #310

Closed NathanThomasWebDeveloper closed 2 years ago

NathanThomasWebDeveloper commented 2 years ago

The link to 'suggestion' here is dead.

https://github.com/nextapps-de/flexsearch/blob/bffb255b7904cb7f79f027faeb963ecef0a85dba/README.md?plain=1#L213

Is there some documentation that explains the impact of setting the option suggest to true? I ran into what I thought was a bug where I searched "foo'bar" it return results for both foo OR bar. I'm trying to figure out whether this is expected behaviour when suggest is true. It seemed to make it impossible to search for example for "foo's" i.e. belonging to foo! The issue is fixed if I leave suggest'as false

ts-thomas commented 2 years ago

Refers to this: https://github.com/nextapps-de/flexsearch/issues/327