Skip to content

v0.27.0-optional-words-beta.1 🌻

Pre-release
Pre-release
Compare
Choose a tag to compare

πŸš€ Enhancements

  • Add any as an optionalWords value. c40122c

Usage

const response = await client.index('myIndex').search('hello world', { optionalWords: 'any' })

optionalWords can also be any. With this mode, all the query words are optional, no matter their order in the query (i.e. the q parameter).

More information here

Thanks again to @bidoubiwa ! πŸŽ‰