solr-power icon indicating copy to clipboard operation
solr-power copied to clipboard

[CMSP-486] Add is_solr_query filter

Open sboisvert opened this issue 2 years ago • 4 comments

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 avatar Jun 29 '23 14:06 sboisvert

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

rwagner00 avatar Jun 29 '23 18:06 rwagner00

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

jazzsequence avatar Jun 29 '23 20:06 jazzsequence

@jazzsequence The ticket is: CMSP-486

rwagner00 avatar Jun 29 '23 23:06 rwagner00

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

PatelUtkarsh avatar Mar 25 '24 12:03 PatelUtkarsh