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

Reply via email to