hello, i have successfull installed sfLucenePlugin. but i run into problems:
my search.yml config: fields: id: unindexed text: boost: 1.5 type: text tag: text user: text created_at: unindexed updated_at: unindexed 1. Is there a better way to get all entries? $query = new sfLuceneCriteria($this->getLuceneInstance()); $query->add('*'); 2. I will filter on field created_at with input_date_range_tag and addRange. I think the problem is that created_at is not numeric(2008-05-01 09:40:59) on a timestamp field? $filter = $this->getRequestParameter('filter'); if(isset($filter['date']['from'])) { $from = $filter['date']['from']; $from = date('Ymd', mktime(0, 0, 0, $from['month'], $from['day'], $from['year'])); $to = $filter['date']['to']; $to = date('Ymd', mktime(0, 0, 0, $to['month'], $to['day'], $to['year'])); $query->addRange($from, $to, 'created_at'); } --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---