PathwayCommons / hyper-recent

Hyper-recent article feed
MIT License
1 stars 0 forks source link

Prettyprinting: Present more fields, minic search processing #12

Closed jvwong closed 2 years ago

jvwong commented 2 years ago

Tweak some of the presentation to be able to better navigate results (date, server etc.)

a.

Tokenization By default, documents are tokenized by splitting on Unicode space or punctuation characters. The default tokenizer can be obtained by calling MiniSearch.getDefault('tokenize').

Default tokenizer splits on regex: https://github.com/lucaong/minisearch/blob/2e2b3b791858abf665c842800069728c8e3666c1/src/MiniSearch.ts#L1469