Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is someone working on a feature to enable searching for Taxonomy terms?
Comments
Comment #1
jhodgdonWhat 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.
Comment #2
jhodgdonComment #3
asb CreditAttribution: asb commentedThanks for the quick reply! I'm looking for a replacement for Taxonomy Search which has not been ported to D6. From the project page:
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
Comment #4
jhodgdonThanks 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.
Comment #5
asb CreditAttribution: asb commented> - 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
Comment #6
jhodgdonWhat 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?
Comment #7
asb CreditAttribution: asb commentedYou'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...
Comment #8
alexbk66- CreditAttribution: alexbk66- commentedYeah, I created the same issue: way to include taxonomy terms to the search
Comment #9
jhodgdonThis 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.
Comment #10
alexbk66- CreditAttribution: alexbk66- commentedExactly right, I asked in Forums because I didn't know which module is available to achieve the required functionality. Apparently none:(
Comment #11
quotesBro CreditAttribution: quotesBro commentedThere 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.
Comment #12
vuilI close the issue as Closed (outdated) because it is for Drupal 6 version which is not supported anymore.