I would like to know if there is any difference in querying the taxonomy field by term id vs term label.
When a managed metadata field is crawled, it creates 2 crawled properties -
- ows_taxid_fieldname (which is automatically mapped to a managed
property "owstaxidfieldname" and contains the term id)
- ows_fieldname (This contains the term label)
I can either query by owstaxidfieldname like owstaxidfieldname:#guid. But this requires term id. Other way is to use the mapped property of ows_fieldname and query using the term label.
I'm using the advanced search webpart to query on the managed field. Since the end user wouldn't know the Term GUID, I have mapped the text field so that user can search against the term label. Is there any performance implication in using a term id managed property vs text field?