2 ms·
Yup seen that in a few online "stores" or companies where they use SOLR or ES. Putting in '' will make boxes explode* (ok not really). What is twice is bad as
by rawoke083600 4y ago
Yup seen that in a few online "stores" or companies where they use SOLR or ES. Putting in '' will make boxes explode* (ok not really).
What is twice is bad as that the worst of these, fail (at least to my eye) on two fronts.
1) Allowing SINGLE character searches. I.e No min query-length.
2) Not escaping querying - lucene(solr/es) syntax.
You can sometimes see the front-facing "html/js/api" is just a thin layer over ES/SOLR.(Which is not bad by itself) it's when you don't know the limitations or what sort of queries are x100 harder to do than orders.