It is very important that custom profile fields can be included in search results on my website. What I mean is, if someone lists "Dogs" as an interest on their profile, then their profile should come up when someone does a search for the term 'dogs'.

Comments

jmeeter’s picture

Bump

jmeeter’s picture

Bump

WorldFallz’s picture

Please don't bump your post more than once in any 24 hr period. Thanks.

As to your question, core search searches users and nodes separately and I don't believe includes profile info when searching for users-- just the username. However, if you go to a users page and click on the answer to the profile field in question, you'll retrieve a list of all users with that same value.

In order to make user profiles full node content (and therefore searchable, among other things), use the content_profile module.

Anonymous’s picture

There's also a Search Facets module which searched CCK facet fields I believe.

WorldFallz’s picture

Yes, but that requires profiles to be nodes (and thus usable with cck) first.

aaron’s picture

I haven't tested yet, but as users and profiles are open to Views 2, this should be possible with a view.

aaron’s picture

Also http://drupal.org/project/profileplus has a dev version for 6 (not sure how stable it is, but you can take a look).