Closed that1guy closed 9 years ago
Found that if one optional filter is added, the query to ElasticSearch fails, but if multiple optional filters are added, the query operates as expected. I fixed the abstraction layer by ignoring optionals if only one is supplied.
Some search queries return 500 error (for example the word "sectional" or "kart"). I can reproduce this issue quite often if I pick a rare keyword from the heading of a posting that was JUST ingested. I've tried flushing elasticsearch and restarting all services..
Get Request
Node logs
Mongo dump, just in case