From 2c1e4952b19c0b86931ae765d77c31473b0d1aee Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Wed, 26 Sep 2018 23:27:48 +0300 Subject: [PATCH] indexer.py: Remove comment I had left this there so I could remember how to get the number of facets, but I don't need it anymore. --- indexer.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/indexer.py b/indexer.py index 5b2585b..30df506 100755 --- a/indexer.py +++ b/indexer.py @@ -81,9 +81,6 @@ def index_views(): 'facet.offset':results_current_page * results_per_page }, rows=0) - # check number of facets returned in the last query - #results_currentNumFacets = len(res.get_facets()['id']) - # SolrClient's get_facets() returns a dict of dicts views = res.get_facets() # in this case iterate over the 'id' dict and get the item ids and views