Skip to content

SeekStorm/SeekStorm.github.io

Repository files navigation

search_benchmark_game

Search engine benchmark: SeekStorm, Tantivy, Lucene, ...

Open-source search engine libraries (BM25 lexical search) are compared using the open-source search_benchmark_game developed by Tantivy and Jason Wolfe.

Detailled benchmark results for multifield search

Detailled benchmark results for singfield search

Benchmark code repository

Benchmark



Benchmark



Multi field search vs. single field search

Many benchmarks focus on search within a single field, but in real-world use cases, we often need to search through multiple fields at the same time.

How much this influences the performance, depends on the used data structures and algorithms of the search library.

Multi-field search at little additional cost is desirable, but can’t be taken for granted with every search library.

Often, the number of terms in the (e.g.) title field is negligible compared to the (e.g.) body field, yet searching through both fields can be expensive in some search libraries.

Btw., concatenating both fields before indexing is not a viable solution because it prohibits both field filtering and BM25F scoring, where matches in a shorter title field should receive a higher score.

Benefits of search_benchmark_game

  • using a proven open-source benchmark used by other search libraries for comparability
  • adapters writtten mostly by search library authors themselves for maximum authenticity and faithfulness
  • results can be replicated by everbody on their own infrastructure
  • detailed results per query, per query type and per result type to investigate optimization potential

About the results

Results will vary, depending on your hardware, OS, concurrent OS activity, JVM, evironment temperature, query set, document corpus...

Before making any decisions, you should always replicate the tests on your infrastructure for your specific workload.

Releases

No releases published

Packages

No packages published

Languages