(self)
return ElasticPillowReindexer(
            pillow_or_processor=get_report_xform_to_elasticsearch_pillow(),
            change_provider=change_provider,
            elasticsearch=get_es_new(),
            index_info=REPORT_XFORM_INDEX_INFO,
            **self.options
        )
Returns a reindexer that will only reindex data from enabled domains
Returns a reindexer that will only reindex data from enabled domains
Returns a reindexer that will only reindex data from enabled domains
def build(self):
        """Returns a reindexer that will only reindex data from enabled domains
        """
        domains = getattr(settings, 'ES_XFORM_FULL_INDEX_DOMAINS', [])
        change_provider = get_domain_form_change_provider(domains=domains)
        return ElasticPillowReindexer(
            pillow_or_processor=get_report_xform_to_elasticsearch_pillow(),
            change_provider=change_provider,
            elasticsearch=get_es_new(),
            index_info=REPORT_XFORM_INDEX_INFO,
            **self.options
        )
def build ( self ) : domains = getattr ( settings , 'ES_XFORM_FULL_INDEX_DOMAINS' , [ ] ) change_provider = get_domain_form_change_provider ( domains = domains ) return ElasticPillowReindexer ( pillow_or_processor = get_report_xform_to_elasticsearch_pillow ( ) , change_provider = change_provider , elasticsearch = get_es_new ( ) , index_info = REPORT_XFORM_INDEX_INFO , * * self . options )