def holdingpen_search_factory(self, search, **kwargs): """Override search factory.""" search, urlkwargs = default_search_factory(self, search, **kwargs) includes = [ 'metadata.titles', 'metadata.abstracts', 'metadata.authors', 'metadata.earliest_date', 'metadata.publication_info', 'metadata.number_of_pages', 'metadata.arxiv_eprints', 'metadata.public_notes', 'metadata.inspire_categories', 'metadata.name', 'metadata.positions', 'metadata.acquisition_source', 'metadata.arxiv_categories', 'metadata.references', '_workflow', '_extra_data.relevance_prediction', '_extra_data.user_action', '_extra_data.classifier_results.complete_output', '_extra_data.classifier_results.fulltext_used', '_extra_data.journal_coverage', '_extra_data._action', '_extra_data.matches', '_extra_data.crawl_errors', '_extra_data.conflicts', '_extra_data.reference_count', '_extra_data.validation_errors', '_extra_data.callback_url', ] search = search.extra(_source={"include": includes}) return search, urlkwargs
def holdingpen_search_factory(self, search, **kwargs): """Override search factory.""" search, urlkwargs = default_search_factory(self, search, **kwargs) includes = [ 'metadata.titles', 'metadata.abstracts', 'metadata.field_categories', 'metadata.authors', 'metadata.name', 'metadata.positions', 'metadata.acquisition_source', 'metadata.field_categories', '_workflow', '_extra_data.relevance_prediction', '_extra_data.user_action', '_extra_data.classifier_results.complete_output' ] search = search.extra(_source={"include": includes}) return search, urlkwargs
def holdingpen_search_factory(self, search, **kwargs): """Override search factory.""" search, urlkwargs = default_search_factory(self, search, **kwargs) includes = [ 'metadata.titles', 'metadata.abstracts', 'metadata.authors', 'metadata.earliest_date', 'metadata.publication_info', 'metadata.number_of_pages', 'metadata.arxiv_eprints', 'metadata.public_notes', 'metadata.inspire_categories', 'metadata.name', 'metadata.positions', 'metadata.acquisition_source', 'metadata.arxiv_categories', 'metadata.references', '_workflow', '_extra_data.relevance_prediction', '_extra_data.user_action', '_extra_data.classifier_results.complete_output', '_extra_data.classifier_results.fulltext_used', '_extra_data.journal_coverage', '_extra_data._action', '_extra_data.matches', '_extra_data.crawl_errors', '_extra_data.conflicts', '_extra_data.reference_count', '_extra_data.validation_errors', '_extra_data.callback_url', ] search = search.extra(_source={"include": includes}) return search, urlkwargs