Difference between #13 and #15 of
Adding search to Yii blog example (using Zend Lucene)

Changes

Title unchanged

Adding search to Yii blog example (using Zend Lucene)

Category unchanged

Tutorials

Yii version unchanged

Tags unchanged

blog, demo, search, zend, zf, lucene, tutorial

Content unchanged

[...]
Actually if you want it pass between pages via ajax, and don't handle the offset issues etc. ( it is easy but... we still most likly want ajax)

So you can consider doing the pagination via CArrayDataProvider
You have there example http://www.yiiframework.com/doc/api/1.1/CArrayDataProvider
Just pass the result array than you can create CListView with some basic view for search result element, and you are done...
CArrayDataProvider will do all the dirty work for you!
29 1
47 followers
Viewed: 89 806 times
Version: 1.1
Category: Tutorials
Written by: dckurushin
Last updated by: klammeraffe
Created on: Oct 7, 2011
Last updated: 11 years ago
Update Article

Revisions

View all history