The link field is already recognized, you only need to add it thanks to the related fields select list in the bottom of search index ui. For the name field, I posted a patch here => http://drupal.org/node/1423160#comment-5741950 , try it, it should work for you.
For cck_phone... I didn't try.
Thanks for your work on that.
As I said originally, I'm happy to make the patches so I'll do one for cck_phone.
So to answer the question, what you have to do to make fields indexable is to give the field a property type.
This can be done using hook_field_info() (or hook_field_info_alter() if need be).
For further details see entity.api.php in the entity module and look at the doco for:
hook_entity_property_info()
entity_hook_field_info()
Comments
Comment #1
cappadona commentedI'm also having trouble with this and am happy to chip in as well if someone can point me in the right direction.
Comment #2
rooby commentedCan anyone point us in the right direction?
Comment #3
jsacksick commentedThe link field is already recognized, you only need to add it thanks to the related fields select list in the bottom of search index ui. For the name field, I posted a patch here => http://drupal.org/node/1423160#comment-5741950 , try it, it should work for you.
For cck_phone... I didn't try.
Comment #4
rooby commentedThanks for your work on that.
As I said originally, I'm happy to make the patches so I'll do one for cck_phone.
So to answer the question, what you have to do to make fields indexable is to give the field a property type.
This can be done using hook_field_info() (or hook_field_info_alter() if need be).
For further details see entity.api.php in the entity module and look at the doco for:
hook_entity_property_info()
entity_hook_field_info()
Also, for examples see field.info.inc in the entity module and also check out the patch linked in #3 and the patch at #1079782: support hook_entity_property_info().
Comment #5.0
(not verified) commentedFixing broken links