Active
Project:
SQL Search (Trip Search)
Version:
5.x-1.6
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
20 Mar 2007 at 03:04 UTC
Updated:
20 Mar 2007 at 09:40 UTC
I am trying to set this up for a custom content type.
I have added two new fields to my custom content type.
Is it possible either with the current set of tools or with some enhancement to include those fields as well in the search on my custom CCK type?
Comments
Comment #1
joel_guesclin commentedAt the moment trip_search uses the title and body fields of a node (it also searches on comments if these are enabled). CCK fields are kept in completely different tables, using specific column names. Consequently, making it possible to search on a CCK field other than title (and whatever ends up in body - it could often be empty) would require a considerable amount of work: in my view the following would be necessary:
All this would be a substantial amount of work.
A much easier enhancement would be to include the teaser in the indexed fields that trip_search uses - since CCK allows you to specify what goes in the teaser, it would be a means of including CCK fields, as long as these appeared in the teaser.
I would be interested to know what "mindless" thinks of this.