Song Search - GQL microservice for searching maestro generated song indexes
GNU General Public License v3.0
0
stars
0
forks
source link
🐛 Elasticsearch is complaining about queries trying to sort on `updated_at` even though analysis_centric mapping has this field #65
Closed
jaserud closed 2 years ago
Describe the bug
Steps To Reproduce
When donor-submission-aggregator tries to scrape multiple analyses with its complex queires, elastic search floods with errors like these:
Look closely and we can see there is a query to all the indices
The bug here is that multiple search queries aren't specifing the index name: https://github.com/icgc-argo/song-search/blob/93df481e42f505e5fcf4a8a2bf6e0671d2dce156/src/main/java/bio/overture/songsearch/repository/AnalysisRepository.java#L198
This is how it works for single search queries: https://github.com/icgc-argo/song-search/blob/93df481e42f505e5fcf4a8a2bf6e0671d2dce156/src/main/java/bio/overture/songsearch/repository/AnalysisRepository.java#L190
Expected behaviour
This should not be happening because song-search should only be quering analysis_centric or file_centric.