lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bjarke Buur Mortensen <morten...@eluence.com>
Subject Multiple consecutive wildcards (**) causes Out-of-memory
Date Wed, 07 Feb 2018 12:09:46 GMT
Hello list,

Whenever I make a query for ** (two consecutive wildcards) it causes my
Solr to run out of memory.

http://localhost:8983/solr/select?q=**

Why is that?

I realize that this is not a reasonable query to make, but the system
supports input from users, and they might by accident input this query,
causing Solr to crash.

I should add that we use the complexphrase query parser as the default
parser on a Solr 7.1.

Can anyone repro this or explain what causes the problem?

Thanks in advance,
Bjarke Buur Mortensen
Senior Software Engineer
Eluence A/S

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message