org.apache.solr.analysis

Class ReversedWildcardFilter

    • Constructor Detail

      • ReversedWildcardFilter

        protected ReversedWildcardFilter(TokenStream input,
                              boolean withOriginal,
                              char markerChar)
    • Method Detail

      • reverse

        public static void reverse(char[] buffer,
                   int start,
                   int len)
        Partially reverses the given input buffer in-place from the given offset up to the given length, keeping surrogate pairs in the correct (non-reversed) order.
        Parameters:
        buffer - the input char array to reverse
        start - the offset from where to reverse the buffer
        len - the length in the buffer up to where the buffer should be reversed