internetarchive/fatcat-scholar

Review fulltext schema and queries for performance, index size

Open

#6 opened on Oct 2, 2020

 (0 comments) (0 reactions) (0 assignees)Python (15 forks)auto 404
help wanted

Repository metrics

Stars
 (85 stars)
PR merge metrics
 (PR metrics pending)

Description

In August, I made some changes to the elasticsearch schema and query structure to try and improve query latency (aka, speed and performance). Kept a log of notes on these experiments here: https://github.com/internetarchive/fatcat-scholar/blob/master/notes/scaling_works.md

These should be reviewed and revisited as we move towards broad release. In particular, more quantitative measurements would be nice to have, and it seems like index_phrases may have had a significant increase in disk utilization (50%? memory is fuzzy) with small or no latency improvement.

Contributor guide