enonic / doc-xp

Enonic XP > 7.0 Reference Documentation
2 stars 4 forks source link

Make sure all references to _alltext are in lowercase #397

Open ComLock opened 2 years ago

ComLock commented 2 years ago

_alltext with uppercase T gets changed from uppercase in hightlight input to lowercase in highlight output. Which is not good when for example building GraphQL schemas and queries.

ASFAIK lowercase works everywhere, and is how it is actually indexed too. I've tested query string and query dsl.

rymsha commented 2 years ago

well, actually by design of XP index filed names are case insensitive. ~(or better say, everything gets normalized to lowercase)~

rymsha commented 2 years ago

actually only search index is lowercased