getCommonPrefixBytesRef
Returns the longest BytesRef that is a prefix of all accepted strings and visits each state at most once.
Return
common prefix, which can be an empty (length 0) BytesRef (never null), and might possibly include a UTF-8 fragment of a full Unicode character