Answer the question
In order to leave comments, you need to log in
How is synonym search implemented in PostgreSQL database in PHP?
How to implement a search for synonyms of an expression in the database? This is necessary to identify different spellings of the same expression. For example, before adding the product "Vendor Model Color" to the table, you need to find out if the product "Vendor Model" or "Vendor Model Something" is not there. Someone must have come across this issue. Please tell me how to implement it.
Answer the question
In order to leave comments, you need to log in
For complex cases: www.postgresql.org/docs/9.1/static/dict-xsyn.html
For simple cases:LIKE
Do you really know the meaning of the word "synonyms"? From your example, you can see that the usual LIKE will do.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question