<?php

declare(strict_types=1);

namespace App\Framework\Search;

/**
 * Available search field types
 */
enum SearchFieldType: string
{
    case TEXT = 'text';
    case KEYWORD = 'keyword';
    case INTEGER = 'integer';
    case LONG = 'long';
    case FLOAT = 'float';
    case DOUBLE = 'double';
    case BOOLEAN = 'boolean';
    case DATE = 'date';
    case DATETIME = 'datetime';
    case TIMESTAMP = 'timestamp';
    case BINARY = 'binary';
    case OBJECT = 'object';
    case NESTED = 'nested';
    case GEO_POINT = 'geo_point';
    case GEO_SHAPE = 'geo_shape';
    case IP = 'ip';
    case COMPLETION = 'completion';
    case TOKEN_COUNT = 'token_count';
}
