Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CMSP-486] Add is_solr_query filter #588

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Commits on Jun 29, 2023

  1. Add is_solr_query filter

    Right now it's impossible to turn off Solr for specific types of searches. 
    
    Another considered solution was to allow for $query->get( 'solr_integrate' ); to be set to false and have that overwrite the result of $query->is_search() but the filter seems like it would give more flexibility and be clearer in it's goal.
    sboisvert authored Jun 29, 2023
    Configuration menu
    Copy the full SHA
    0770652 View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2023

  1. Change variable name for clarity

    $enabled seems clearer than $is_solr_query
    sboisvert authored Jun 30, 2023
    Configuration menu
    Copy the full SHA
    e0ff46c View commit details
    Browse the repository at this point in the history