• Allow binary sort values. elastic#17959

    The `ip` field uses a binary representation internally. This breaks when
    rendering sort values in search responses since elasticsearch tries to write a
    binary byte[] as an utf8 json string. This commit extends the `DocValueFormat`
    API in order to give fields a chance to choose how to render values.
    
    Closes elastic#6077
    jpountz committed May 6, 2016