My REST API has endpoints to manage and query data based on Typeorm but for performance and relevance tuning I refactored my main search endpoint to use data indexed in Elas