Hi,

The number of clusters primarily depends on the parameters of the specific
clustering algorithm. If you're using the default Lingo algorithm, the
number of clusters is governed by
the LingoClusteringAlgorithm.desiredClusterCountBase parameter. Take a look
at the documentation (
https://cwiki.apache.org/confluence/display/solr/Result+Clustering#ResultClustering-TweakingAlgorithmSettings)
for some more details (the "Tweaking at Query-Time" section shows how to
pass the specific parameters at request time). A complete overview of the
Lingo clustering algorithm parameters is here:
http://doc.carrot2.org/#section.component.lingo.

Stanislaw

--
Stanislaw Osinski, stanislaw.osin...@carrotsearch.com
http://carrotsearch.com

On Fri, May 29, 2015 at 4:29 AM, Zheng Lin Edwin Yeo <edwinye...@gmail.com>
wrote:

> Hi,
>
> I'm trying to increase the number of cluster result to be shown during the
> search. I tried to set carrot.fragSize=20 but only 15 cluster labels is
> shown. Even when I tried to set carrot.fragSize=5, there's also 15 labels
> shown.
>
> Is this the correct way to do this? I understand that setting it to 20
> might not necessary mean 20 lables will be shown, as the setting is for
> maximum number. But when I set this to 5, it should reduce the number of
> labels to 5?
>
> I'm using Solr 5.1.
>
>
> Regards,
> Edwin
>

Reply via email to