def _process(self, data):
indices = []<EOL>for indexname, indexdata in list(data.items()):<EOL><INDENT>idata = []<EOL>for docname, docdata in list(indexdata.get("<STR_LIT>", {}).items()):<EOL><INDENT>o = get_field(docname, docdata, document_object_field=self.document_object_field, is_document=True)<EOL>o.connection = self.connection<EOL>o.index_name = indexname<EOL>idata.append((docname, o))<EOL><DEDENT>idata.sort()<EOL>indices.append((indexname, idata))<EOL><DEDENT>indices.sort()<EOL>self.indices = OrderedDict(indices)<EOL>
Process indexer data