geminispace.info

gemini search engine
git clone https://git.clttr.info/geminispace.info.git
Log (Feed) | Files | Refs (Tags) | README | LICENSE

commit cddbb82dfd62c8e7e2601fd53b46359cdca1bb06
parent a9e9cf27d5460a956444d03cef784da70fb856bd
Author: René Wagner <rwa@clttr.info>
Date:   Mon, 12 Jul 2021 16:57:33 +0200

store document id in whoosh index

Diffstat:
Mgus/lib/search.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gus/lib/search.py b/gus/lib/search.py @@ -46,7 +46,7 @@ class Index: def _create(self, index_storage): schema = Schema( - url_id=ID(unique=True), + url_id=ID(unique=True, stored=True), url=TEXT(field_boost=2.0, stored=True, analyzer=UrlAnalyzer()), fetchable_url=STORED(), domain=TEXT(analyzer=UrlAnalyzer()),