From 2d0838ea349cef1976bb1face31f918a56bb915f Mon Sep 17 00:00:00 2001 From: Marcin Koziej Date: Fri, 31 Aug 2012 16:42:59 +0200 Subject: [PATCH] remove offending print --- apps/search/index.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/apps/search/index.py b/apps/search/index.py index 9f832e590..5c05ffb33 100644 --- a/apps/search/index.py +++ b/apps/search/index.py @@ -201,7 +201,6 @@ class Index(SolrIndex): "is_pdcounter": False, "uid": "tag%d" % tag.id } - print "ADD 1 %s" % doc self.index.add(doc) def create_book_doc(self, book): @@ -649,7 +648,6 @@ class SearchResult(object): except catalogue.models.Fragment.DoesNotExist: # stale index continue - print f # Figure out if we were searching for a token matching some word in theme name. themes = frag.tags.filter(category='theme') themes_hit = set() @@ -954,7 +952,6 @@ class Search(SolrIndex): continue text = snippets.get((int(position), int(length))) - print "== %s -- %s ==" % (query, text) snip = self.index.highlight(text=text, field=field, q=query) snips[idx] = snip if snip: -- 2.20.1