Wildcard facet filter


(Nick Toseland) #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

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/5447f2c7-8c48-4ec4-b306-9371b2f941ec%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #2