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

Big search queries cause 502 #796

Open
jrcastro2 opened this issue Dec 9, 2022 · 0 comments
Open

Big search queries cause 502 #796

jrcastro2 opened this issue Dec 9, 2022 · 0 comments
Labels

Comments

@jrcastro2
Copy link
Contributor

Describe the bug
A big search query causes a 502.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Frontsite'
  2. Write a really big query like "+optics -nano -laser -lasers -fiber -photonics -coherent -quantum -atmospheric -integrated -magneto -molded -nonlinear -electron -beam -lagrangian -fibre -x-ray -fourier -particles -electro -contemporary -inverse -semiconductor -particle -gradient -holography -polarimetry -black -probability -grating -Hubble -mobile -television -sky -antenna -interpolation -photography -waveguide -data -surface -world -underwater -mechanics -adaptive -nulling -graphene -microsystem -windows -maxwell -newton -heisenberg -eye -terahertz -nematicons -moon -AI -speckle -lenses -star -polar -electromagnetic -electrical -electronics -organic -Faraday -spectroscopy -sources -video"
  3. HIt enter
  4. See error

Expected behavior
Normal search should happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
If we try to do the same query using the API it works, https://catalogue.library.cern/api/literature/?q=%2Boptics%20-nano%20-laser%20-lasers%20-fiber%20-photonics%20-coherent%20-quantum%20-atmospheric%20-integrated%20-magneto%20-molded%20-nonlinear%20-electron%20-beam%20-lagrangian%20-fibre%20-x-ray%20-fourier%20-particles%20-electro%20-contemporary%20-inverse%20-semiconductor%20-particle%20-gradient%20-holography%20-polarimetry%20-black%20-probability%20-grating%20-Hubble%20-mobile%20-television%20-sky%20-antenna%20-interpolation%20-photography%20-waveguide%20-data%20-surface%20-world%20-underwater%20-mechanics%20-adaptive%20-nulling%20-graphene%20-microsystem%20-windows%20-maxwell%20-newton%20-heisenberg%20-eye%20-terahertz%20-nematicons%20-moon%20-AI%20-speckle%20-lenses%20-star%20-polar%20-electromagnetic%20-electrical%20-electronics%20-organic%20-Faraday%20-spectroscopy%20-sources%20-video&sort=bestmatch&page=1&size=60&medium=E-BOOK&language=ENG&language=DEU&doctype=BOOK

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

No branches or pull requests

2 participants