@dmyung I'm confused about why "xforminstance" has to be lowercase here when querying the `doc_type`. As you can see here (hqusers_c04090fb2624b7d36f06b140f1e8f189/user/_search) I query the `doc_type` of the user with the same casing that's in the actual document. Whereas when I try to do that for xforms, it doesn't return the xforms.

I checked the mappings for both:
xforms: https://github.com/dimagi/commcare-hq/blob/master/corehq/pillows/mappings/xform_mapping.py#L15
users: https://github.com/dimagi/commcare-hq/blob/master/corehq/pillows/mappings/user_mapping.py#L24

as you can see, the `doc_type` for users in not analyzed unlike the one for xforms, which is where I'm guessing the issue arises. Does ES default to a lowercase analyzer / automatically run a lowercase analyzer on all mappings of type strings? Or is there some custom analyzer we're running that I'm missing