Hi, We have multiple components that uses the Solr search feature on our websites. But we have some documents in the index that we never want to display in the search results (nothing secret or anything, just uninteresting for the user to see). So far, we have added a fq to all our queries, that filters out these documents. But we would like to not have to do this, since there is always a risk of us forgetting to add that fq parameter.
So, today i tried adding this fq in a "appends" list in the standard requestHandler. I needed to add it to the standard one, since that's the one that all the search components use (ie, no qt parameter defined, and i would prefer not to have to change that). That worked fine. Until I needed to do a query in the solr admin GUI, and realized that this filter query was used there too, effectively hiding a bunch of documents that I as an administrator need to see. Is there a way to avoid this problem? Can I somehow configure Solr to not use this filter query when in the admin GUI? If I define a separate request handler in solrconfig, can i make the admin GUI always use this by default? I don't want to have to manually change the request handler in the admin GUI every time. What I tried so far: * Adding the fq in the "appends" in the standard request handler, as mentioned above. Causing the filter to always be in effect, even in admin GUI * Keeping the configuration as above, but also adding a request handler with name="/select", that doesn't have this fq defined. Then the filter was never applied, not in admin GUI and not on any website search