CommonAttributesDescriptor.attributeBuilder(processingAttrs)
.documents(prepareDocumentsForClustering(clusteringRequest, response))
.query(clusteringRequest.getQueryHint());
final long tsClusteringStart = System.nanoTime();
final ProcessingResult result = controller.process(processingAttrs, algorithmId);
final DocumentGroup[] groups = adapt(result.getClusters());
final long tsClusteringEnd = System.nanoTime();
final Map<String,String> info = ImmutableMap.<String,String> builder()
.put(ClusteringActionResponse.Fields.Info.ALGORITHM, algorithmId)
.put(ClusteringActionResponse.Fields.Info.SEARCH_MILLIS, Long.toString(TimeUnit.NANOSECONDS.toMillis(tsSearchEnd - tsSearchStart)))