/search/inside incorrectly including aggregates/facets #10439
Labels
Needs: Breakdown
This big issue needs a checklist or subissues to describe a breakdown of work. [managed]
Needs: Lead
Needs: Triage
This issue needs triage. The team needs to decide who should own it, what to do, by when. [managed]
Theme: Performance
Issues related to UI or Server performance. [managed]
Type: Bug
Something isn't working. [managed]
Problem
Our search inside endpoint is including aggregates in the response: https://openlibrary.org/search/inside.json?q=gandalf
These should be excluded by the
nofacets: true
call here:openlibrary/openlibrary/core/fulltext.py
Line 52 in 73812d5
But it seems like the API has changed. Facets are expensive and we shouldn't request them if we're not using them, so let's see how we can remove them.
Reproducing the bug
Context
Breakdown
Requirements Checklist
Related files
openlibrary/openlibrary/core/fulltext.py
Line 52 in 73812d5
Stakeholders
Instructions for Contributors
The text was updated successfully, but these errors were encountered: