What Analyzers if any does the meta data use?


(James Land) #1

I was trying to run some Term queries on an elastic index. I noticed that unlike all the other fields in my query the _id field did not seem to get tokenized at all. Just wanted to confirm this and see if someone could point me to the any documentation I may have missed. It looks like if I used the term query on the _id field the only "term" that works is an exact match of the _id field itself, is this the case for all of the other term metadata fields as well?

Thanks


(Zachary Tong) #2

Yeah, internal fields like _id aren't analyzed at all... they are essentially keyword fields. So you'll only be able to query them with exact matches like term queries


(James Land) #3

Makes sense, thanks for the confirmation


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.