Re: [GENERAL] FTS wildcard and custom ispell dictionary problem

2010-08-19 Thread darklow
Great thanks. This function idea works perfectly! create function xtsquery (tsquery,tsquery) returns tsquery as $$ select $1 || $2 $$ language sql; SELECT fts_title, ts_headline(fts_title, query) from object_fts ot, xtsquery(to_tsquery('dc2', 'kriev:*'), to_tsquery('english', 'kriev:*')) query whe

Re: [GENERAL] FTS wildcard and custom ispell dictionary problem

2010-08-19 Thread Oleg Bartunov
On Thu, 19 Aug 2010, darklow wrote: Hello, I am using PostgreSQL 8.4 full text search in following way: Custom FTS configuration called "dc2" with these dictionaries in following order for asciihword token: latvian_ispell, english_stem, russian_stem Latvian ispell dictionary contains words wi

Re: [GENERAL] FTS wildcard and custom ispell dictionary problem

2010-08-19 Thread Oleg Bartunov
On Thu, 19 Aug 2010, darklow wrote: Hello, I am using PostgreSQL 8.4 full text search in following way: Custom FTS configuration called "dc2" with these dictionaries in following order for asciihword token: latvian_ispell, english_stem, russian_stem russian_stem will never called ! Sorry, I

[GENERAL] FTS wildcard and custom ispell dictionary problem

2010-08-19 Thread darklow
Hello, I am using PostgreSQL 8.4 full text search in following way: Custom FTS configuration called "dc2" with these dictionaries in following order for asciihword token: latvian_ispell, english_stem, russian_stem Latvian ispell dictionary contains words with different endings but same meaning (