I may have found a solution to my most pressing issue but I think it only reinforces my other questions. Out of desperation I clicked through to see the generated headers for CSSearchableItemAttributeSet and, unlike the documentation which is in alphabetical order, the header has .htmlContentData and .textContent right next to each other. That gave me the idea to try a query string of textContent == "someSearchTerm" and now it seems to work! Although I'm grateful for this, it raises more questions for me because I only assign to .htmlContentData but yet I have to query "textContent". How can I figure this out in the future without blindly guessing?
Topic:
App & System Services
SubTopic:
General
Tags: