Greetings,
I couldn't find anything about this in the documentation or the mailing list archives, so forgive me if this has already been addressed. I'm trying to determine if the full text indexing has any built-in capability for providing information about word occurrence, i.e. the number of times a given word is used. I read about the ts_stat function, but either I don't understand the syntax well enough or I don't think this is what I'm looking for. I know it can be used for determining the most used words in the index (although this is very slow), but I want to be able to get the number of occurrences on a given word. Is that kind of thing built in somewhere or do I need to write it myself? Thanks!