0

If I create my own custom node type by writing my own module(s), is Drupal "smart" enough to index the contents of this new node type from my module? If not, then would I need to use the Search API's so that contents are included in search results?

1 Answer 1

1

Core search module will index all nodes, no matter where they have been defined (manually through admin/custom module.).

2
  • Thanks. I will just have to take your word for it. I was hoping more people would chime in to confirm what you said.
    – user785179
    Commented Oct 16, 2012 at 23:15
  • You're welcome. You can test that easily - enable search, create content type, index it and then try to find it on the front end. Commented Oct 17, 2012 at 8:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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