On Tuesday, March 04, 2008, Sébastien CAS wrote: > With getter : > $result->getPublishUp() => I obtain this error : "Field name "publish_up" > not found in document." > > Without getter : > $result->publishUp : I access to the correct value. Hey, Sorry for responding so late -- I was out of town.
Anyways, I am unable to reproduce your problem. My search.yml: 1 MyIndex: 2 models: 3 FooEntity: 4 fields: 5 body: unindexed 6 whatever: text 7 publishUp: text 8 id: keyword 9 description: publishUp 10 index: 11 encoding: UTF-8 12 cultures: [en] 13 analyzer: utf8num And the model: 10 class FooEntity extends BaseFooEntity 11 { 12 public function getWhatever() 13 { 14 return $this->getBody(); 15 } 16 17 public function getPublishUp() 18 { 19 return rand(0, 10); 20 } 21 } 22 23 sfLucenePropelBehavior::getInitializer()->setupModel('FooEntity'); Are you using the latest version of sfLucene? Try upgrading to the one in SVN. Carl --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---