All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.redisearch.client.ConfigOption Maven / Gradle / Ivy

The newest version!
package io.redisearch.client;

import redis.clients.jedis.commands.ProtocolCommand;
import redis.clients.jedis.util.SafeEncoder;

public enum ConfigOption implements ProtocolCommand {
    NOGC,
    MINPREFIX,
    MAXEXPANSIONS,
    TIMEOUT,
    ON_TIMEOUT,
    MIN_PHONETIC_TERM_LEN,
    ALL("*");
  
    private final byte[] raw;

    ConfigOption() {
      raw = SafeEncoder.encode(this.name());
    }
    
    ConfigOption(String name) {
        raw = SafeEncoder.encode(name);
    }

    @Override
    public byte[] getRaw() {
      return raw;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy