Skip to content

Commit

Permalink
Merge pull request #22 from zhangchunlin/fix_indexed_0
Browse files Browse the repository at this point in the history
fix show_stats rebuild_index = True cause to clean index issue
  • Loading branch information
cbess committed Feb 15, 2016
2 parents 5f9fd46 + 4802bfb commit 14855b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Expand Up @@ -35,7 +35,7 @@ def show_stats():
print 'Available searcher backends: %s' % backends.searcher_names()
print 'Current backend: %s' % settings.DEFAULT_SEARCHER
# indexer stats
idxr = indexer.get_indexer()
idxr = indexer.get_indexer(rebuild_index=False)
print 'Total documents indexed: %d' % idxr.doc_count()
# database stats
print 'Index Database: %s' % db.DATABASE_PATH
Expand Down

0 comments on commit 14855b7

Please sign in to comment.