On Sat, Nov 6, 2010 at 7:45 AM, Simon Hefti <[email protected]> wrote:

> Hello
>
> Do I understand correctly that fts3 snippet function does only work
> with match queries like
>  select snippet(text) from text where text match 'foo'
>
> I would be interested to have:
>  select snippet(text) from text where docid=1
>
> In sqlite 3.7.2 this statement is valid but returns an empty string as
> snippet.
>

Without a MATCH operator to identify your keywords of interest, how should
the snippet function figure out which except from the document to return?



>
> Thanks!
>
> Simon.
> _______________________________________________
> sqlite-users mailing list
> [email protected]
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>



-- 
D. Richard Hipp
[email protected]
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to