Drupal Search does not search for non-core fields

cmgui - March 8, 2009 - 23:13

Hi All

I created a content-type called 'addressbook' using CCK and added some custom fields (e.g. text, email, etc) to the the new content-type
and then created a few new nodes of the 'addressbook' type.
But when I tried to search for a word which is in one of the fields, Drupal could not find it.

It seems that Drupal search only looks at the standard node fields, e.g. Title and Body, or am I missing something?

Thank you.
cmgui

ok -- i just found this: http://drupal.org/project/field_indexer
will try it out...
it would be nice if cck custom fields are searchable by drupal search by default instead of having to add another module...

=-=

VeryMisunderstood - March 9, 2009 - 19:24

drupal search may go the way of the dinosaur. investigate apache solr which is what drupal.org is now using.

thank you

cmgui - March 9, 2009 - 21:00

thank you VeryMisunderstood
solr runs in tomcat -- something which i like to avoid.
hope somebody will develop a drupal-clucene integration module.

=-=

VeryMisunderstood - March 9, 2009 - 21:01

there is a luceneapi.module in the contrib area = http://drupal.org/project/luceneapi

Thank you. Not sure if it

cmgui - March 9, 2009 - 21:21

Thank you.
Not sure if it will work with Clucene (Lucene ported to C++).
http://clucene.wiki.sourceforge.net/

Anyway, nevermind ... will stick to Drupal search for now ...

Are Clucene indexes compatible with Java lucene?

cpliakas - June 16, 2009 - 01:56

Hi.

I'm coming in very late to this conversation, but Search Lucene API may be able to search your CLucene index. I did a quick search and could not find if Clucene indexes are binary compatible with their java counterparts, but if so, Search Lucene API will be able to search them. If you have a test Clucene index that you wouldn't mind sharing, I can test it out and give you the code to integrate the search into your site.

~Chris

 
 

Drupal is a registered trademark of Dries Buytaert.