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

Query with many many terms fails #3141

Open
ConnorSheremeta opened this issue Jun 6, 2023 · 0 comments
Open

Query with many many terms fails #3141

ConnorSheremeta opened this issue Jun 6, 2023 · 0 comments

Comments

@ConnorSheremeta
Copy link
Contributor

It was found out that a query with 14 terms yields a 4xx error. It can be observed from this query: https://era.library.ualberta.ca/search?facets%5Bdepartments_sim%5D%5B%5D=Elementary+Education&facets%5Bdepartments_sim%5D%5B%5D=Department+of+Secondary+Education&facets%5Bdepartments_sim%5D%5B%5D=Department+of+Elementary+Education&facets%5Bdepartments_sim%5D%5B%5D=Department+of+Education+Administration&facets%5Bdepartments_sim%5D%5B%5D=Department+of+Education+Psychology&facets%5Bdepartments_sim%5D%5B%5D=Department+of+Education&facets%5Bdepartments_sim%5D%5B%5D=Health+Sciences+Education&facets%5Bdepartments_sim%5D%5B%5D=Faculty+of+Education&facets%5Bdepartments_sim%5D%5B%5D=Department+of+Special+Education&facets%5Bdepartments_sim%5D%5B%5D=Department+of+Industrial+%26+Vocational+Education&facets%5Bdepartments_sim%5D%5B%5D=Department+of+Early+Childhood+Education&facets%5Bdepartments_sim%5D%5B%5D=Department+of+Education+Policy+Studies&facets%5Bdepartments_sim%5D%5B%5D=Department+of+International%2FIntercultural+Education&facets%5Bdepartments_sim%5D%5B%5D=Department+of+Adult%2C+Career%2C+and+Technology+Education&facets%5Bdepartments_sim%5D%5B%5D=Department+of+Industrial+and+Vocational+Education

If you add the one more term through the faceting on the UI it will yield you with a 4xx. Interestingly enough sometime this happens when you remove certain departments from the UI from the page above. This could potentially be an issue with the length of the query. This was observed after we turned on or_facets in flipper which may be connected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant