Mercurial > code > home > repos > sco-bot
annotate 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 |
rev | line source |
---|---|
11 | 1 from whoosh.fields import ID, TEXT, Schema |
10
13438795d896
rewrite with prefect flows and whoosh search, but it's in a nested pdm env
drewp@bigasterisk.com
parents:
diff
changeset
|
2 |
11 | 3 schema = Schema( |
4 sourceUrl=ID(stored=True), | |
5 sourceTitle=TEXT(stored=True), | |
6 posJson=ID(stored=True), | |
7 phrase=TEXT(stored=True), | |
8 ) |