def add_codes(self, codes, ids=None):
        # If a list of ids is not provided, assume it is the index of the data
        if ids is None:
            ids = count()

        for item_id, code in zip(ids, codes):
            cell = code[0]
            self.index[cell].append((item_id, code))
Add LOPQ codes into the search index.
dataset/ETHPy150Open yahoo/lopq/python/lopq/search.py/LOPQSearcher.add_codes