Re: Combining Zend_lucene, Vendors, Component does not my cake make

2009-03-12 Thread DoughBasher
Thanks Erik. I'll definitely have a look there. This reinventing the wheel thing is getting old (and so am I). Regards, Dough! On Mar 13, 2:05 am, Esoteric wrote: > If you look at the application that runs the book.cakephp.org, our > wonderful cakephp devs have already made using Zend_Lucene p

Re: Combining Zend_lucene, Vendors, Component does not my cake make

2009-03-12 Thread Esoteric
If you look at the application that runs the book.cakephp.org, our wonderful cakephp devs have already made using Zend_Lucene pretty simple, takes a little bit of work to decipher how ot use it, but I am using it on www.tribaloutpost.com and it works phenominally. If I have time I might write it u

Re: Combining Zend_lucene, Vendors, Component does not my cake make

2009-03-12 Thread DoughBasher
Hi Martin, Thanks for your comments. I was trying to cobble together info from various sources on the net by brave folks who attempted the Lucene-Cake bastardisation route before me. I agree with the 'set_include_path' It was the latest attempt after a long series of attempts to get it to work. I

Re: Combining Zend_lucene, Vendors, Component does not my cake make

2009-03-12 Thread DoughBasher
Brendon, Will do. It may be a cold day in hell before then, but once I have annoyed the guys on IRC enough to get the solution, I will post it. Of course, if you get it to work don't hesitate to fling it my way. Thanks Dough! On Mar 12, 9:17 pm, Brendon Kozlowski wrote: > If you end up gettin

Re: Combining Zend_lucene, Vendors, Component does not my cake make

2009-03-12 Thread Brendon Kozlowski
If you end up getting this working, I'd love to hear how you managed to do it, if you have the time! On Mar 12, 12:13 am, DoughBasher wrote: > I have been, for days, trying to add Zend_lucene search to my cake > site. It works perfectly when I use it in my controller (i.e. without > the componen

Re: Combining Zend_lucene, Vendors, Component does not my cake make

2009-03-12 Thread Martin Westin
Hi, I have a few comments: You should not have to mess with "set_include_path" at all. You never assign the controller to the $controller property. You assign it to $this->data for some reason. Even if you change that so that $this->controller is the controller you don't do database calls to co

Combining Zend_lucene, Vendors, Component does not my cake make

2009-03-11 Thread DoughBasher
I have been, for days, trying to add Zend_lucene search to my cake site. It works perfectly when I use it in my controller (i.e. without the component) but I am not having much luck turning it into a component so that it will be available to all of my controllers. This is a site-wide search and th