Re: [sqlite] Constraining FTS5 results based on offsets()

2018-04-11 Thread Miroslav Marangozov
.org> on behalf of Dan Kennedy <danielk1...@gmail.com> Sent: Tuesday, April 10, 2018 11:49 AM To: sqlite-users@mailinglists.sqlite.org Subject: Re: [sqlite] Constraining FTS5 results based on offsets() On 04/08/2018 02:00 PM, miroslav.marango...@outlook.com wrote: > Hi, > For my use

Re: [sqlite] Constraining FTS5 results based on offsets()

2018-04-10 Thread Dan Kennedy
On 04/08/2018 02:00 PM, miroslav.marango...@outlook.com wrote: Hi, For my use case I need to index some texts, and I also need be able to assign attributes to sub-sequences/spans of tokens in the texts. I want to be able to search only for keywords/phrases that occur in spans with a certain

[sqlite] Constraining FTS5 results based on offsets()

2018-04-08 Thread miroslav.marango...@outlook.com
Hi, For my use case I need to index some texts, and I also need be able to assign attributes to sub-sequences/spans of tokens in the texts. I want to be able to search only for keywords/phrases that occur in spans with a certain attribute. As an example, imagine we have a set of rich text