3

I have a content type with a taxonomy field on it that needs to be included in the standard search of Drupal 7.

Is there a way to do this or do I have to set up a view to override the standard search?

If I do have to use a view, how can I set it up to allow searching all fields on a node from one text field in the search form?

I thought Drupal did this with it standard search but it doesn't seem to.

5
+50

If you choose "Node" as an active search module it will index the full node including taxonomy terms:

enter image description here

Here you can see the tag "bros" is returned in the core search:

enter image description here

Are you sure that the site is fully indexed?

8
  • Are you sure this will index also taxonomy field ? Please see drupal.org/node/172812 Implement taxonomy term search. – Refineo Apr 24 '12 at 11:11
  • 2
    The Node Search module will index terms that are attached to nodes. The queue above is in response to vocabularies and terms that are not attached to nodes. If you want to index terms by themselves, or fields attached to terms, then I would recommend using the search_api module which will let you index terms alone or index info associated with terms attached to nodes. – acouch Apr 24 '12 at 13:37
  • Hello, the site is fully indexed and the search settings are as you have pictured above. I still do not get results for the taxonomy. It is a custom taxonomy and a custom node type, would that have any effect on it? – Nalum Apr 26 '12 at 10:40
  • 1
    Are the taxonomy terms showing up on the full nodes themselves? – acouch Apr 26 '12 at 14:24
  • +1 Your last comment. It helped me to solve a similar issue. Obviously taxonomy terms have to be displayed on the full node. However I would not like to display them as I use another module to handle this so I would have them displayed twice. – Refineo Apr 27 '12 at 18:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.