}
req.setArtifactInfoFilter(new AndMultiArtifactInfoFilter(filters));
if (uniqueRGA) {
req.setArtifactInfoPostprocessor(new ArtifactInfoPostprocessor()
{
public void postprocess(IndexingContext ctx, ArtifactInfo ai) {
ai.context = "Aggregated";
ai.repository = null;
}
});
}
else {
// we may do this only when !uniqueRGA, otherwise UniqueGAArtifactFilterPostprocessor nullifies
// ai.repository and ai.context
req.setArtifactInfoPostprocessor(new ArtifactInfoPostprocessor()
{
public void postprocess(IndexingContext ctx, ArtifactInfo ai) {
String result = ai.context;
try {