def add_all_wordstarts_matching( self, lower_hits, query, max_hits_hint ):
    lower_query = query.lower()
    if lower_query in self.basenames_by_wordstarts:
      for basename in self.basenames_by_wordstarts[lower_query]:
        lower_hits.add(basename)
        if len(lower_hits) >= max_hits_hint:
          return
dataset/ETHPy150Open natduca/quickopen/src/db_index_shard.py/DBIndexShard.add_all_wordstarts_matching/original