On 11/14/06, Vikram Bhandoh <[EMAIL PROTECTED]> wrote:
I'm using fts2 to index some documents. And I want to get a list of all the distinct terms that are in those documents. Is there a seperate table which holds the terms or is there a function maybe like snippet, offset?
Just to clarify - you don't want the distinct terms in _a_ document, you want the set of terms in the index? Either way, the current code does not support that, but it should at some point allow you to generate a list of the unique terms in index. Given the current structures, this would require processing the entire index, so it's unlikely to happen in the near term. Longer-term, though, I think it would be worthwhile to store meta information such as term frequency, for use in query optimization. Once that's in place, it's likely that returning the set of terms in the index would become pretty easy. -scott ----------------------------------------------------------------------------- To unsubscribe, send email to [EMAIL PROTECTED] -----------------------------------------------------------------------------