tpwd / ke_search

Search Extension for TYPO3 Content Management System, including faceting search functions.
https://extensions.typo3.org/extension/ke_search/
GNU General Public License v3.0
8 stars 31 forks source link

Feature request: Add tags to searchable content, so that sword finds also tags #183

Open chrisi51 opened 1 year ago

chrisi51 commented 1 year ago

We just recognized, that the sword from the normal searchbox does not seem to be used to search in the tags of the index.

So if i have a tag foo on a news for example, it is listed in the tags column of tx_ke_search_index of the corresponding entry. But if i just put foo in the searchbar, it is not getting found. if i put foo at the end of the content column of the entry, it is found.

So it seems, you can't search for tags, except if you put in a corresponding filter? Or do i have any configuration issue or is it even a bug?

Our tags are very dynamic and so it would be not practicable to put all those tags into single filter.

Thx for any help =)

christianbltr commented 1 year ago

Yes, that is in fact by design. The idea was to only make content searchable with the fulltext search which is in fact visible to the user. To solve this you could add a hook to the indexer to add the tags to the database columns content or content_hidden.

This requirement comes up every once in a while so maybe it would be a good idea to make this a feature of ke_search, maybe as a configurable option.

Also meta information from the page properties could be included, e. g. the "keywords" field which is also currently not indexed.

Inovanet commented 5 days ago

Is there something new to this feature?

christianbltr commented 5 days ago

No, not yet. Are interesting in sponsoring this feature or providing a Pull Request?