Wildcard facet filter


(nickt9999) #1

Hi All,

I am using the ElasticSearch Perl module
Is it possible to add wildcard facet filter to the below?

$result = $es->search(
    facets  => {
        my_facet => {
            terms => { field => webhost, size => 3 },
            facet_filterb => {
                _timestamp => {
                    'gte' => 'now-1h',
                    'lte' => 'now',
                },
            }
        },
    }
);

Thanks in advance

Nick


(system) #2