According to the documentation, the standard query parser uses asterisks to
do wild card searches[1]. If you do not need to do wildcard queries and what
you are trying to do is to use the asterisks as a search term, you should
escape it[2]

[1]
https://lucene.apache.org/solr/guide/6_6/the-standard-query-parser.html#TheS
tandardQueryParser-WildcardSearches
[2]
https://lucene.apache.org/solr/guide/6_6/the-standard-query-parser.html#TheS
tandardQueryParser-EscapingSpecialCharacters 

-----Original Message-----
From: Shreyas Kothiya <shreyas.koth...@archivesocial.com> 
Sent: Tuesday, March 3, 2020 11:43 AM
To: solr-user@lucene.apache.org
Subject: Solr Search cause high CPU with **

Hello

we are using SOLR 6.6. we recently noticed unusual CPU spike. while one of
customer did search with ** in query string.

we had customer who searched for following term

q = N*W* 154 ** underpass

it caused CPU to go above 80%. our normal range of CPU is around 20%.
I wanted to know few things.

1. what does ** mean in SOLR search.
2. Is there a bug filed already for this issue.


Please let me know if you need more information.

Thanks
Shreyas Kothiya

Reply via email to