Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Faceting is not working properly for counts and overall functions #86

Closed
jordanpadams opened this issue Feb 26, 2024 · 1 comment Β· Fixed by NASA-PDS/search-ui-legacy#25
Assignees
Labels
B14.1 bug Something isn't working s.high High severity

Comments

@jordanpadams
Copy link
Member

jordanpadams commented Feb 26, 2024

Checked for duplicates

Yes - I've already checked

πŸ› Describe the bug

When I perform numerous queries, the counts do not add up on the facets. Also, I am unable to select >1 facet at a time.

πŸ•΅οΈ Expected behavior

The counts to match.

πŸ“œ To Reproduce

https://pds.nasa.gov/datasearch/keyword-search/search.jsp?q=%2A%3A%2A&fq=facet_type%3A%221%2Ccollection%22&f.facet_type.facet.prefix=2%2Ccollection%2C - 3768 results

Same search on testing environment - 5570 results

πŸ–₯ Environment Info

No response

πŸ“š Version of Software Used

latest snapshot

🩺 Test Data / Additional context

https://pds.nasa.gov/data/pds4/

πŸ¦„ Related requirements

No response

βš™οΈ Engineering Details

After poking some more it appears this is a faceting count issue

@jordanpadams jordanpadams added bug Something isn't working needs:triage labels Feb 26, 2024
@jordanpadams jordanpadams self-assigned this Feb 26, 2024
@jordanpadams jordanpadams changed the title Search and product counts are not matching between production and testing Faceting is not working properly for counts and overall functions Feb 26, 2024
@jordanpadams jordanpadams transferred this issue from NASA-PDS/search-ui-legacy Apr 11, 2024
jordanpadams referenced this issue in nasa-pds-engineering-node/registry-mgr-legacy Apr 11, 2024
@jordanpadams jordanpadams reopened this May 21, 2024
jordanpadams referenced this issue in nasa-pds-engineering-node/registry-mgr-legacy May 21, 2024
* Instead of default, add collapse as append to all queries to ensure it works for faceting
* Rename `/select` request handler to `/all` to return all versions of all products
* Add `collapse` functionality to `/select` request handler since this endpoint cannot be configured in SolrJ, and is needed by ds-view

refs #49
resolves NASA-PDS/ds-view#22
@jordanpadams
Copy link
Member Author

All PRs merged. this appears to be working now.

@jordanpadams jordanpadams transferred this issue from nasa-pds-engineering-node/registry-mgr-legacy Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B14.1 bug Something isn't working s.high High severity
Projects
Status: 🏁 Done
Status: 🏁 Done
Development

Successfully merging a pull request may close this issue.

1 participant