Hi!

Sorry but this does not make too much sense to me.

You need to get an instance of the Zend Lucene class, assuming you did
everything as
explained in the Jobeet tutorial:
http://www.symfony-project.org/jobeet/1_4/Propel/en/17

  $index = JobeetJobPeer::getLuceneIndex();
and then you do separate searches to get the highes and lowest ranking
element:
  $index->find($query, 'ranking', SORT_NUMERIC, SORT_DESC);
  $index->find($query, 'ranking', SORT_NUMERIC, SORT_ASC);

And the best would be to do these operations in an action not in the
view.

    gabriel

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
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

Reply via email to