Search by field for cck
markj - June 12, 2006 - 21:43
| Project: | Content Construction Kit (CCK) |
| Version: | 5.x-1.7 |
| Component: | General |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | by design |
Jump to:
Description
I notice that http://drupal.org/cck-status says that "Create advanced search interface" will be handled by views.module. I can't find any update on the views pages and was wondering if there is any activity on this task... I'm looking for the equivalent of Flexisearch for CCK. I'd be happy to help work on this if there's any interest.

#1
I would love to be able to search by individual fields. Unfortunately I'm not technically savvy enough for this.
#2
I'm thinking of sponsoring development of this
http://drupal.org/node/77149
#3
Yes I think it would be very useful, I'm not advanced enogh in php to handle it myself
#4
The easiest way to do this at the moment is to create a view with the listing you want, then add filters for the fields you want to search on and set them to "exposed." This will give you a custom search form.
A more complicated advanced search module is possible, but it will not be made part of the CCK core. Feel free to start a new project for that if you wish.
#5
I've already started 'search_cck.module' and have the indexing (into the search_index table) and basic SQL queries working. I'm now prototyping an admin tool for management of the forms, based on content type.
#6
The combination of Field Indexer and Faceted Search now allows per-field keyword searches.