protected BytesRef encode(IntsRef ordinals){
  return facetsConfig.dedupAndEncode(ordinals);
}

protected BytesRef encode ( IntsRef ordinals ) { return facetsConfig . dedupAndEncode ( ordinals ) ; }
expert : encodes category ordinals into a bytesref . override in case you use custom encoding , other than the default done by facetsconfig .
