You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by 胡一博 <hu...@163.com> on 2018/03/08 10:48:44 UTC

what`s the pink segment on solr UI meaning?

hello,
I run solr 5.5.1. I was found some pink segments on the "Segment Info" tag of solr UI.
What`s that meaning ? Is my cluster not healthy?

Re: what`s the pink segment on solr UI meaning?

Posted by Shawn Heisey <ap...@elyograg.org>.
On 3/8/2018 3:48 AM, 胡一博 wrote:
> I run solr 5.5.1. I was found some pink segments on the "Segment Info" 
> tag of solr UI. What`s that meaning ? Is my cluster not healthy?

I found the pink color (#FFC9F9) in a css file:

server\solr-webapp\webapp\css\angular\segments.css

It was in a definition with the name "merge-candidate".

Backtracking that to HTML code, I was then able to trace further to find 
the Java code in the segment info handler that actually turns the 
segments pink.

Based on what I found, I think that pink segments are those segments 
which the system thinks are most likely to be chosen for automatic 
merging, according to whatever merge policy you have active.  Most 
likely the merge policy is TieredMergePolicy.

The pink color is not an indication of a problem.  Sounds like the admin 
UI needs a color legend for the segments display, so that users can 
instantly know what they are looking at.  It also needs to be mentioned 
in the documentation, where I cannot find "pink" mentioned anywhere 
other than the page about the classic query parser, which is completely 
unrelated.

Thanks,
Shawn