tsbonev / nharker

NHaker - an offline writing organization tool
0 stars 0 forks source link

articles: title tokenization and searching #222

Open tsbonev opened 5 years ago

tsbonev commented 5 years ago

Nitrite's built-in stop-word based tokenization is not a good fit for the title field of an article, but the ability to FTS article titles is valuable nonetheless. Consider having two fields, a normal text field for the title that can match exactly and a hidden(ish) tokenized field. Look into whether Nitrite allows full matching on FTS fields (probably not if memory serves me right).