question: protected BytesRef encode ( IntsRef ordinals ) { return facetsConfig . dedupAndEncode ( ordinals ) ; }
target:  Expert: encodes category ordinals into a BytesRef. Override in case you use custom encoding, other than the default done by FacetsConfig.