Matching words with special character


#1

Hello,

I am new to Elasticsearch and I encountered a problem. I have a field - skills in which there are values like:
Mysql,
$Mysql,
mysql@,
mysql and python,
mysql mongo and perl,
mysql. )
and so on. What I am trying to do is to write search query which would match: input mysql with exact values from that field and exact values + special characters.
So it should look like this:
input = mysql
search results should show: Mysql, $Mysql, mysql@, mysql. )
But shouldn't show: mysql and python, mysql mongo and perl
I tried using regexp but, it still throws all results.


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.