0

I just enable the Search Form (provide by the search module) block to allow the visitor to make searches.

When a search is done the entered word is searched in all field of the nodes.

Can I exclude a field?

Let's say the content type has the fields: title, body and provider.

Then when a search is done I need to exclude the field provider from the search.

I have the custom_search module enabled but I see no way to exclude fields.

2

Default Search is not customizable. Consider using one of more advanced solutions:

  • Search API with client module that will suit your needs.
  • Finder with proper views configuration.
|improve this answer|||||
  • I was sure last line of question wasn't there when I answered. Strange. – Mołot Jun 26 '13 at 9:44
  • but OP not made any edit, not possible – Bala Jun 26 '13 at 9:45
  • Of all the people here, you should know that edits are not always visible – Mołot Jun 26 '13 at 9:48
  • i know because i posted the question, may be this one different, please don't mistake me – Bala Jun 26 '13 at 9:50
  • thanks Molot. As far as I see the Search Api is the right way to do this – chefnelone Jun 26 '13 at 10:17

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