1. Jason R. Coombs
  2. thwump

Commits

Jason R. Coombs  committed d062ca1

it looks like the Parent class implements this by calling .doc_count on tha reader

  • Participants
  • Parent commits b1cef23
  • Branches default

Comments (0)

Files changed (1)

File thwump/index.py

View file
 	def is_empty(self):
 		return not self.doc_count()
 
-	def doc_count(self):
-		return self.collection.count()
-
 	def reader(self, reuse=None):
 		return reuse or reading.IndexReader(self)