WorldHistoricalGazetteer / whg3

Version 3 beta
BSD 3-Clause "New" or "Revised" License
4 stars 4 forks source link

Replace Elasticsearch with Vespa #329

Closed docuracy closed 2 weeks ago

docuracy commented 2 months ago

Pros and Cons of moving Elasticsearch into Docker Network

Moving Elasticsearch into the existing Docker network can offer significant benefits in terms of consistency, portability, and scalability, but it also introduces some complexity and potential performance considerations.

Pros:

Cons:

Assessment:

The possibility of a slight performance hit is far outweighed by the advantages of maintenance, portability, and scalability. It would be good to optimise the resources so that the index health might be green instead of yellow.

docuracy commented 2 weeks ago

"Vespa excels at hybrid search, where you can combine traditional keyword-based search with vector-based similarity search. This is especially useful when you want to rank results based on both textual relevance and semantic similarity."

Vespa might be the best option for all indexing requirements, not least because it has built-in vector searching (mBERT/phonetic) and an easily-deployed Docker image.

Compile a list of current and planned index/search requirements.