X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/1a013c54edacc9eaed551a648bf75284b794a820..219c3e795d8ec26614982fb6f7198b2cb8916f02:/apps/search/index.py?ds=sidebyside diff --git a/apps/search/index.py b/apps/search/index.py index 1a36993d6..ead10b5dd 100644 --- a/apps/search/index.py +++ b/apps/search/index.py @@ -234,7 +234,6 @@ class Index(BaseIndex): for pdtag in PDCounterBook.objects.all(): doc = Document() doc.add(NumericField("tag_id", Field.Store.YES, True).setIntValue(int(pdtag.id))) - print pdtag.title doc.add(Field("tag_name", pdtag.title, Field.Store.NO, Field.Index.ANALYZED)) doc.add(Field("tag_name_pl", pdtag.title, Field.Store.NO, Field.Index.ANALYZED)) doc.add(Field("tag_category", 'pd_book', Field.Store.YES, Field.Index.NOT_ANALYZED))