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

Conversation

sboisvert
Copy link

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.

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 sboisvert requested a review from a team as a code owner June 29, 2023 14:52
@rwagner00
Copy link

I created a ticket to look at this internally, thank you for the PR!

@jazzsequence
Copy link
Contributor

jazzsequence commented Jun 29, 2023

I love this. +100 to more filters.
@rwagner00 can you update this with the Jira # and/or update the title.

@rwagner00
Copy link

@jazzsequence The ticket is: CMSP-486

$enabled seems clearer than $is_solr_query
@pwtyler pwtyler changed the title Add is_solr_query filter [CMSP-486] Add is_solr_query filter Sep 12, 2023
@PatelUtkarsh
Copy link
Contributor

I'd also love to have some control using this filter to exclude specific rest api requests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants