I'm trying to figure out how exactly does @@ operator work in postgres.
I have the two queries:
SELECT description FROM product WHERE description @@ '%apple%'
SELECT description FROM product WHERE description @@ 'apple'
The two queries return the same number of rows. Apparently postgres removes all non alfanumeric characters from the query. Is this actually the case?
I can also do @@ '@apple..,,.'
and I still get the same number of results.