lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pratik Patel <>
Subject Solr Carrot Clustering query with specific label in it
Date Tue, 16 May 2017 17:01:51 GMT

When we do a Carrot Clustering query on a set of solr documents we get back
following type of response.

<arr name="clusters">
      <arr name="labels">
      <double name="score">3.9599865057283354</double>
      <arr name="docs">
      <arr name="labels">
      <double name="score">11.959228467119022</double>
      <arr name="docs">

    <!-- More clusters here, omitted. -->

Each label(cluster) has corresponding set of documents. The question is, is
it possible to make another Carrot Clustering query with specific label in
it so as to only get back documents corresponding to that label.

In my use case, I am trying to write a streaming expression where one of
the stream is documents corresponding to a label(carrot cluster) selected
by user. Hence, I can not use the data present in original response object.

I have been exploring Carrot2 documentation but I can't seem find any
option which lets you specify a label in the query. I am using solr 6.4.1
in cloud mode and clustering algorithm is



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message