Hi Matt,

------ Original Message ------
From: "Matthew Wild" <mwi...@gmail.com>
To: "XMPP Standards" <standards@xmpp.org>
Sent: 03/06/2022 10:50:03
Subject: [Standards] Moving server-side MAM search forwards

  1) Add a "simple" search type, which is recommended to be
implemented as a baseline for interoperability. For simple searches,
the server promises that no search terms or symbols will be
interpreted as special syntax - what you search is what you get.

  2) Extend the existing ("advanced") search field with a
recommendation that the server includes a <desc> element (already
defined in XEP-0004) to explain the supported syntax to the user, and
an (entirely optional) machine-readable hint that can be used to
indicate to a client that a commonly-used syntax is supported.

If it's not a silly question - do we *need* a simple type as well as the default search? I think using <desc/> to describe syntax makes sense, but I'm not entirely sold on the need for the simple search (less so for it to be the recommendation) - almost all the search fields people use daily have special syntax (search engines, mail clients, chat clients, OS file search...) and by being well-crafted I strongly suspect most users have never clicked the syntax expansion and never realised there was an advanced syntax (and never suffered for it). Given that even the proposed simple search allows implementation-specific magic to be performed, would we not be better off by sticking to the one field, and providing helpful hints on it (maybe just <desc/>) rather than needing to somehow bifurcate the search UI?

/K

_______________________________________________
Standards mailing list
Info: https://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: standards-unsubscr...@xmpp.org
_______________________________________________

Reply via email to