plone / plone.schemaeditor

Provides through-the-web editing of a Zope schema/interface.
8 stars 10 forks source link

confusion between Index and SearchableTextIndex #37

Open djay opened 8 years ago

djay commented 8 years ago

User problem

from https://community.plone.org/t/how-to-using-own-fields-in-live-search/2307/4

its not clear to users the difference between an SearchableText index and other indexes. This is probably caused by a few things

perhaps we could have an UI where you can enable a field to be either:

davilima6 commented 8 years ago

Searchable text already includes id + title + summary + text + keywords/tags for native CTs. Also custom CTs get automatically indexed if they use IBasic, IDublinCore or ICategorization behaviors instead of manually defining those fields. I wish that would also happen for IRichText so I don't need to do this but I can understand if it's disabled by default to avoid bloating the catalog.

All in all I agree it'd be a nice to have feature. If we think risks exist we could add it as an addon until the idea matures and they are better measured. Maybe collective.dexteritytextindexer could extend plone.schemaeditor UI?

Later on it'd be probably be nice to also allow setting permissions to individual fields ttw as well. Maybe even custom validators with Restricted Python if that's not too limiting.

gforcada commented 8 years ago

@davilima6 were you asking for https://github.com/collective/collective.dexteritytextindexer/pull/11 you can thank @datakurre :-)

gforcada commented 8 years ago

I would love to see someone making a PLIP about merging collective.dexterityindexer to the core

davilima6 commented 8 years ago

It's been awhile I don't use that package and I hadn't noticed the new feature. Excellent! Thanks, @datakurre!

Should I open another issue for allowing to set rw permissions per field? Anything else?