pulibrary / static-tables

Searchable index of Marquand Auction Catalogs
https://library.princeton.edu/marquand_catalogs/
MIT License
0 stars 0 forks source link

Allow for boolean AND vs OR searching #153

Open maxkadel opened 3 months ago

maxkadel commented 3 months ago

User story

As a researcher, I want to be able to decide whether I want all of my search terms to be present in a result (AND searching), or any of my search terms to be present in a result (OR searching).

Acceptance criteria

Concrete example

For the "Trustees Minutes", if I do an "AND" search for "bath" and "house", I should get results including

The "AND" search should not include

The "OR" search should include all three of the above.

Implementation notes, if any

The current search defaults to "AND" searching. There is a skipped test right now for "OR" searching.