Skip to content

Restrict queried fields to those that are indexed #7

@DavidACameron-USDA

Description

@DavidACameron-USDA

This is a performance enhancement. The list of fields that is returned by a Solr query needs to be restricted to those that have been added to the index. Because of the way that SearchApiSolrBackend::extractResults() is written, only those fields are available for display. Any other fields in the Solr output are wasted overhead, which could be highly detrimental to some sites depending on the data they have stored in the index. It could also be really bad for sites that have their index hosted by a third party. That unneeded data would do nothing but eat up their bandwidth.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions