Hi,
I'm working on an extension that loads a pre-calculated index for my attachments. I can fetch this index, create .zotero-ft[info|cache], and load all the words into fulltextitems/fulltextitemwords/fulltextwords, and after loading, when I query my datbase with something like
select i.*
from fulltextwords ftw
join fulltextitemwords ftiw on ftiw.wordID = ftw.wordID
join fulltextitems fti on fti.itemID = ftiw.itemID
join items i on i.itemID = fti.itemID
where ftw.word = 'friendship'
I get all the attachments listed whose body contains the word "friendship".
When I search in Zotero, however, I only get attachments back whose filename contains the word "friendship". How can I have Zotero pick up the fulltext words inserted into the database by my extension? Is another table consulted beyond the three listed above?
Thanks,
Emile