Re: How does the tsearch configuration get selected?

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема Re: How does the tsearch configuration get selected?
Дата
Msg-id 4672F1A2.1030505@sigaev.ru
обсуждение исходный текст
Ответ на Re: How does the tsearch configuration get selected?  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
> To support this sanely though wouldn't you need to know which language rule a
> tsvector was generated with? Like, have a byte in the tsvector tagging it with
> the language rule forever more?

No. As corner case, dictionary might return just a number or a hash value.


> 
> What I'm wondering about is if you use a different rule than what was used
> when an index entry was inserted will you get different results using the
> index than you would doing a sequential scan and reapplying the operator to
> every datum?

Rules are apllyed  during creattion of tsvector, not during indexing of 
tsvectors. So, sequential and index scan will return identical results.


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: How does the tsearch configuration get selected?
Следующее
От: Gregory Stark
Дата:
Сообщение: Re: Load Distributed Checkpoints test results