LUCENE-5016:  Sampling can break FacetResult labeling

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487807 13f79535-47bb-0310-9956-ffa450edef68
improve javadocs

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1487817 13f79535-47bb-0310-9956-ffa450edef68
Updating branch

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/security@1487845 13f79535-47bb-0310-9956-ffa450edef68