hyperdx icon indicating copy to clipboard operation
hyperdx copied to clipboard

Lucene search syntax doesn't escape space properly

Open zdyj3170101136 opened this issue 3 months ago • 5 comments

zdyj3170101136 avatar Sep 24 '25 06:09 zdyj3170101136

query:

Body:response\ body

sql:

Body ILIKE '%response\\ body%'

zdyj3170101136 avatar Sep 24 '25 06:09 zdyj3170101136

Ah this is an interesting issue - I suspect this is a bug in the parser.

MikeShi42 avatar Oct 02 '25 02:10 MikeShi42

I believe in this case you want to use Body:("response body") ?

wrn14897 avatar Nov 04 '25 23:11 wrn14897

Body:("response body")

oh, yes. but it is strange.

zdyj3170101136 avatar Nov 05 '25 02:11 zdyj3170101136

I believe in this case you want to use Body:("response body") ?

how should i use the really ilike, but not whole word search?

this work, but it is ugly

*response\ body*

zdyj3170101136 avatar Nov 14 '25 06:11 zdyj3170101136