Unique Count with Tokenizer


(Sergio Pavez) #1

I have a term that is using Word Delimiter Token Filter. This configurations allows me to split a value like this "WORD1" into "WORD" and "1".

My problem is that I want the unique count of this term as a whole. As of now if I apply a Unique Count with just one value ("WORD1") it gives me two, one for "WORD" and the other for the number "1".

How can I make the Unique Count to search for the term as a whole value and not the tokens of it? (I need it to be tokenized in order to apply a filter to it)


(Tim Sullivan) #2

You might want to use a Multi-Field mapping to have a field in your index with the Word Delimiter Token Filter, and a "raw" value that can be used for cardinality metrics.


(system) #3