On 05/13/2013 11:25 PM, Stadin, Benjamin wrote:
Hi all,

I need to implement a ranking that considers the search result's token distance 
(so either the actual character offset, or token offset from the beginning of 
the text). Is it possible to get/query this distance from the FTS4 index 
(either directly or via ft4saux), or would I have to parse the content of each 
text column?

Maybe the offsets() function:

  http://www.sqlite.org/fts3.html#section_4_1

Dan.

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to