Hi folks,
Maybe this is documented somewhere, and someone can point me at it. For the
ManifoldCF Solr plugins, we supply a SearchComponent, which wraps the supplied
query in order to perform authorization restrictions on returned documents.
The component only fires if the SHARDS parameter is null, as follows:
if (!params.getBool(COMPONENT_NAME, true) || params.get(ShardParams.SHARDS)
!= null)
return;
The question is, should the component be configurable to fire first, e.g. when
SHARDS is set to something? It would seem like it could cut down on the
overall work required. What would best practice be in this case?
Thanks in advance!
Karl