Mercurial > code > home > repos > sco-bot
diff scobot/index/schema.py @ 11:6622bacb0b84
first pass at reorg
author | drewp@bigasterisk.com |
---|---|
date | Thu, 11 Jul 2024 18:15:44 -0700 |
parents | flow/schema.py@13438795d896 |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scobot/index/schema.py Thu Jul 11 18:15:44 2024 -0700 @@ -0,0 +1,8 @@ +from whoosh.fields import ID, TEXT, Schema + +schema = Schema( + sourceUrl=ID(stored=True), + sourceTitle=TEXT(stored=True), + posJson=ID(stored=True), + phrase=TEXT(stored=True), +)