hey

On Wed, Jun 11, 2008 at 6:21 AM, Dr. Tarique Sani <[EMAIL PROTECTED]> wrote:
>
> On Jun 11, 3:01 am, "Jonathan Snook" <[EMAIL PROTECTED]> wrote:
>> I wasn't sure but that's great to know. It's be great to see a model
>> behavior for this that would automatically create lucene documents for
>> every record and then maybe a search method that would allow records
>> to be retrieved. actsAs Lucene would be very nice. (and if you have
>> such a thing already, I'd love to see it :) )

>
> I have used Zend_Search _Lucene with cakePHP and it works great - but
> I never figured out how to paginate the search results from Lucene
One can't use the built in paginator cause it would need a seperate
model with paginate and paginateCount . It's always an option...

I wasn't working on the paginating stuff yet but i think i just use
the LimitIterator.
>From my benchamrks it's not really worth caching the results but
cookbook doesn't have such a big dataset... so im not yet sure if i'll
add caching.

Tarigue did you use Lucene as a crawler or as db search ?

About the current state:
the console indexer/searcher is working
the behavtior - searching is working  (without pagination)
Now i'm working on highlighting and limiting the text that is returned
for the results.


-- 
Marcin Domanski
http://kabturek.info

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to