flexsearch icon indicating copy to clipboard operation
flexsearch copied to clipboard

How to use resolver with tags and array as criteria

Open muCruiser opened this issue 6 months ago • 1 comments

Thanks for the very fast Flexsearch.

Unfortunately i am not able to search for a tag with 2 options using the resolver.

.and({
      tag: [{ startYear: ["1892","1894"] , genres:"Short"}]
  })

Same resolverwith only one of each years works:

.and({
      tag: [{ startYear: "1892" , genres:"Short"}]
  })

What should be the right way or is it a bug?

https://jsfiddle.net/u9x6L0mw/2/

Thanks Cruiser

muCruiser avatar Jul 02 '25 17:07 muCruiser