geminispace.info

Unnamed repository; edit this file 'description' to name the repository.
git clone git://code.clttr.info/geminispace.info.git
Log | Files | Refs | README | LICENSE

commit 4b42c6cbd81b0c1d2d0e8299352bf56861521be5
parent 04785c1de606b8e05dcfc8b5c5854b0cea3afb3b
Author: Natalie Pendragon <natpen@natpen.net>
Date:   Mon,  8 Jun 2020 07:28:39 -0400

Revert "[crawl] Index raw content for regex searches"

This reverts commit c127a0a2e9a03b60d8ea82447c27af6b12cc128b.

Diffstat:
Mgus/crawl.py | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/gus/crawl.py b/gus/crawl.py @@ -171,7 +171,6 @@ def create_index(index_dir): spelling=True, stored=True, ), - regex=ID(), prompt=TEXT( analyzer=FancyAnalyzer(), stored=True, @@ -218,7 +217,6 @@ def index_content(resource, response): content_type=response.content_type, charset=response.charset or "none", content=response.content, - regex=response.content, indexed_at=datetime.utcnow(), )