quickwit-oss / search-benchmark-game

Search engine benchmark (Tantivy, Lucene, PISA, ...)
https://tantivy-search.github.io/bench/
MIT License
78 stars 36 forks source link

Add `to be or not to be` query. #51

Closed jpountz closed 1 year ago

jpountz commented 1 year ago

This is a classical example of why not to drop stopwords, because this query then can't be searched. But if stop words are not removed, this is an extremely expensive query. It would be interesting to see how the various engines deal with this query.

For reference, one trick that helps consists of first rewriting the query into to^2 be^2 or not in order to have fewer clauses to deal with.