You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[2] Add the query word "checkbox" in the search input field. Only 4 results are listed.
[3] Now add the word "return" in the search input field.
-- Expected: Fewer results
-- Actual: Much more results!
The text was updated successfully, but these errors were encountered:
I picked this lib up today and ran into the same problem with the example page.
The problem seems to only exist on that page (running version 0.9.5 like I do on my computer). Running on my own generated index, boolean mode works. I'm guessing that the example page does not use the configuration at all.
I ran into this as well - 2.5 years later on (which makes sense; the last publish was 5 years ago).
I just can't tell if it's a problem with the boolean logic or with how the search configuration in that example is implemented.
Starting with the example at http://elasticlunr.com/example/index.html
Configuring the boolean mode to AND has no effect, the same OR logic is still applied.
Test:
[1] Use the config file
[2] Add the query word "checkbox" in the search input field. Only 4 results are listed.
[3] Now add the word "return" in the search input field.
-- Expected: Fewer results
-- Actual: Much more results!
The text was updated successfully, but these errors were encountered: