starnowski/posjsonhelper

Add additional text search configuration for test purposes similar to the configuration for the Polish dictionary but with the attached simple dictionary for the numword mapping option.

Closed this issue · 0 comments

Create an additional configuration for the pl_ispell configuration but with the attached simple dictionary for the numword mapping, as in the example below.

ALTER TEXT SEARCH CONFIGURATION pl_ispell
   ALTER MAPPING FOR numword
   WITH simple;

Implement an integration test that checks if words that contain letters and digits are tokenized:

SELECT * FROM ts_debug('pl_ispell', 'Zmywarka Electrolux ESF2400OK 55cm');