From: Jan Szejko Date: Wed, 21 Feb 2018 10:18:20 +0000 (+0100) Subject: cleanup solr schema X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/1246a2c6afe90e5684c8d207d91bcafdd127e046 cleanup solr schema --- diff --git a/doc/schema.xml b/doc/schema.xml index ccf9bd5e6..38d6edaad 100644 --- a/doc/schema.xml +++ b/doc/schema.xml @@ -129,13 +129,11 @@ - - + - - + + - @@ -272,7 +270,6 @@ - diff --git a/src/search/index.py b/src/search/index.py index 102601463..b94d8f617 100644 --- a/src/search/index.py +++ b/src/search/index.py @@ -304,7 +304,6 @@ class Index(SolrIndex): book_info = dcparser.parse(open(book.xml_file.path)) fields['slug'] = book.slug - fields['tags'] = [t.name for t in book.tags] fields['is_book'] = True # validator, name