Hi

Is there a way to expose the native cck fields in Drupal 7's advanced search? I'm working in a test environment and was able to index the site so that the search function will search and return results for text in the native cck fields. However, I would like those fields to be exposed in the search so that people can search for text specific to a field. Is this possible?

I tried adding the fields to the Search Index display, but that's not exposing the fields in the advanced search.

Thanks

Julianna

Comments

julianna’s picture

I was hoping to be able to add the search fields directly to site.com/search, but was able to create a "custom search" page using views:

  1. Go to Structure > Views
  2. Create a new View
  3. Set the desired criteria (in this case, I set the View to only show one content type)
  4. Under Filter Criteria, added the fields I wanted to search
  5. For each field, set to "Expose this filter to visitors" and changed the other options as desired