Hi there,
we just released new version of tsearch V2. It's available for
testing form http://www.sai.msu.su/~megera/postgres/gist/
Changes:
* new function reset_tsearch() - reset all tsearch's caches on dictionary, parser and config. Useful for debugging.
* It's possible to get words statistics. select * from stat('select txtidx_field from test_txtidx') order by ndoc
desc; For each unique word it returns: word, number of documents with it and total number of word occurencies in
indexedcollection. (getting statisctics could be very slow !)
Regards, Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83