What Analyzers if any does the meta data use?

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

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

1 Like

Makes sense, thanks for the confirmation

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