I would like to know how a given document has been analyzed by ES / Lucene
for debug needs.
Here is my story :
I define a setting (new analyzer) when creating my index. My analyzer is a
lowercase with keyword (aka key_lowercase)
I push document into this index. There is a field in it (prop1.prop2.prop3)
with the value "term1 term2 term3"
When I analyze this value with the _analyze API, I can see that there is
only one token "term1 term2 term3". That's what I am waiting for.
I try to search on this field with a wildcard like "term1*term3". No
If I try to search for "term1", I got a result. So it seems that my Document
field has been tokenized into 3 tokens.
So, that's why I would like to know if there is a way to see what ES/Lucene
have done with my document.
Any idea ? Changing the log level ?
Thanks for any help