Is someone working on a feature to enable searching for Taxonomy terms?

Comments

jhodgdon’s picture

What in particular are you looking for? Taxonomy terms are normally displayed on node pages, so you could normally search for them using the Nodes sub-module.

jhodgdon’s picture

Status: Active » Postponed (maintainer needs more info)
asb’s picture

Thanks for the quick reply! I'm looking for a replacement for Taxonomy Search which has not been ported to D6. From the project page:

Provides a "Taxonomy" tab on Drupal's standard search interface. Taxonomy terms, descriptions, and synonyms are indexed and searchable. The resulting page provides users a list of terms matching the keywords, and also gives users with the "administer taxonomy" permission a quick link to edit the term. This module is useful for managing large taxonomies.

There is also a related feature request for taxonomy.module in Drupal core 8.x-dev: #172812: Implement SearchPlugin for taxonomy

Is something similar provided by the 'Nodes' sub-module (from 'Search by Page') you mentioned?

Greetings, -asb

jhodgdon’s picture

Status: Postponed (maintainer needs more info) » Active

Thanks for the explanation. The Nodes module doesn't provide this functionality, if I understand what you are wanting correctly.

So yes, this is a new feature request... Here's my understanding:
- Each taxonomy term would be indexed -- the indexed information would be the term name, description, and synonyms.
- If a search matched any of the indexed information, the link would take you to the (your URL)/term/(term ID) page, so you would be viewing the taxonomy term page.

That is certainly doable -- consider this feature requested. I don't know when it might be done though, as it may not be my highest priority.

asb’s picture

> - Each taxonomy term would be indexed -- the indexed information would be the term name, description, and synonyms.

... and relationships, maybe even it's position in a hierarchy (sub-term of...) or limited to a specified vocabulary ;)

Thank you for considering this feature request. Even a simple Search tab that allows to look up nothing but a term from any vocabulary would be helpful!

Greetings, -asb

jhodgdon’s picture

What do you mean that its relationships would be indexed and its position in a hierarchy? The search index consists of text... What text are you suggesting would be indexed? I think an example would be helpful... also, are you using some contrib module to define relationships? I'm not aware of that feature in the core Taxonomy module.

Also, Search by Page doesn't normally use tabs. These results would be mixed in with all the other results in a Search by Page environment.

You can have one environment appear as a tab on the core Search page if you are using Search by Page, so maybe that is what you are thinking?

asb’s picture

You're totally right, let's not make this more complicated than really necessary. We should postpone fine tuning and potential extensions and keep this feature request as simple as possible...

alexbk66-’s picture

Yeah, I created the same issue: way to include taxonomy terms to the search

jhodgdon’s picture

This feature would not be difficult to write as an add-on module to Search by Page. There is documentation about the API included in the module download, and of course 4 examples of how to implement the API in the 4 existing sub-modules.

alexbk66 - where you posted before was a Forum post; this is the official Issue requesting the feature.

alexbk66-’s picture

where you posted before was a Forum post; this is the official Issue requesting the feature

Exactly right, I asked in Forums because I didn't know which module is available to achieve the required functionality. Apparently none:(

quotesBro’s picture

There is http://drupal.org/project/taxonomy_search
D6 port: http://drupal.org/node/261903), but it needs work.

Also there is http://drupal.org/project/taxonomy_find, but it is intended for administrators only.

Since taxonomy_search is abandoned and there is no more module for this purpose, I think it would be reasonable to add the feature to search for taxonomy terms to Search by Page module.

vuil’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

I close the issue as Closed (outdated) because it is for Drupal 6 version which is not supported anymore.