#NEWLINE# def docs( self , searcher , exclude_docs = None ) : #NEWLINE# #INDENT# if ( not self . subqueries ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# hits = BitVector ( searcher . doc_count_all ( ) ) #NEWLINE# self . _split_queries ( ) #NEWLINE# if self . _notqueries : #NEWLINE# #INDENT# exclude_docs = _not_vector ( self . _notqueries , searcher , exclude_docs ) #NEWLINE# #UNINDENT# getbit = hits . __getitem__ #NEWLINE# setbit = hits . set #NEWLINE# for q in self . _subqueries : #NEWLINE# #INDENT# for docnum in q . docs ( searcher , exclude_docs = exclude_docs ) : #NEWLINE# #INDENT# if ( not getbit ( docnum ) ) : #NEWLINE# #INDENT# ( yield docnum ) #NEWLINE# #UNINDENT# setbit ( docnum )