# |
Sep 22nd 2011, 10:23 |
dakota |
Section58: you missed the first bit of ujjain's question :) ujjain doesn't want to filter a model, but rather wants to have a app wide text/keyword search that would show matches from various models on one page |
# |
Sep 22nd 2011, 10:22 |
rchavik |
but can only be attached to Node iirc |
# |
Sep 22nd 2011, 10:22 |
rchavik |
ujjain, https://github.com/palam/Croogo-Lucene-Search-Plugin.git uses Zend lucene |
# |
Sep 22nd 2011, 10:21 |
Section58 |
but there is a lot of code to make it happen |
# |
Sep 22nd 2011, 10:21 |
Section58 |
you don't have to use one tho, its not like cake can't do it on its own |
# |
Sep 22nd 2011, 10:21 |
rchavik |
dakota, yeah |
# |
Sep 22nd 2011, 10:20 |
Section58 |
everyone sujested that i should be using a filter plugin |
# |
Sep 22nd 2011, 10:20 |
Section58 |
cause i had issues with not using one over the last few days |
# |
Sep 22nd 2011, 10:20 |
Section58 |
i am backing out of this |
# |
Sep 22nd 2011, 10:20 |
ujjain |
Section58: how would you do it? |
# |
Sep 22nd 2011, 10:19 |
Section58 |
it sounded great till you said shitload and LIKE |
# |
Sep 22nd 2011, 10:19 |
dakota |
rchavik: there is. Part of the zend library |
# |
Sep 22nd 2011, 10:19 |
ujjain |
for many models. |
# |
Sep 22nd 2011, 10:19 |
ujjain |
well, looking at the github search, it seems easier to just make a search controller with a shitload of LIKE queries. |
# |
Sep 22nd 2011, 10:18 |
Section58 |
whats all this talk of filter plugins, you don't need those ...*cough* |
# |
Sep 22nd 2011, 10:18 |
rchavik |
isn't there a php implementation, no java required |
# |
Sep 22nd 2011, 10:17 |
ujjain |
rchavik: hehe, Lucene seems overkill for small sites. |
# |
Sep 22nd 2011, 10:17 |
rchavik |
ujjain, why don't you fix the lucene plugin so that i can use it too ? :) |
# |
Sep 22nd 2011, 10:15 |
ujjain |
I hope that searching multiple types on models simultanously willw orkw ell |
# |
Sep 22nd 2011, 10:15 |
ujjain |
hmm, it does not work with a search index though. |
# |
Sep 22nd 2011, 10:14 |
dogmatic69 |
yep |
# |
Sep 22nd 2011, 10:14 |
dakota |
ah, like most of his code |
# |
Sep 22nd 2011, 10:14 |
dogmatic69 |
savants filter plugin... |
# |
Sep 22nd 2011, 10:13 |
dakota |
dogmatic69: ? |
# |
Sep 22nd 2011, 10:13 |
dakota |
ujjain: that's the one I was talking about. |
# |
Sep 22nd 2011, 10:13 |
dogmatic69 |
"THIS IS BROKEN DO NOT USE" |
# |
Sep 22nd 2011, 10:13 |
ujjain |
hmm, I also found https://github.com/CakeDC/search |
# |
Sep 22nd 2011, 10:13 |
dogmatic69 |
the description is pretty good... |
# |
Sep 22nd 2011, 10:13 |
ujjain |
dakota: hehe, not worth it for 5 sites with 100-1000 visitors. |
# |
Sep 22nd 2011, 10:13 |
dogmatic69 |
https://github.com/josegonzalez/cakephp-filter-plugin |
# |
Sep 22nd 2011, 10:12 |
dakota |
ujjain: or use sphinx or lucene :) |
# |
Sep 22nd 2011, 10:12 |
dogmatic69 |
ujjain: savants filter plugin is good |
# |
Sep 22nd 2011, 10:12 |
ujjain |
Yeah. |
# |
Sep 22nd 2011, 10:12 |
dakota |
ujjain: last update for searchable was june 2009 |
# |
Sep 22nd 2011, 10:11 |
ujjain |
dakota: I want to have a search feature that I can easily implement in multiple sites, without much head ache. |
# |
Sep 22nd 2011, 10:11 |
dakota |
ujjain: iirc, the searchable behaviour is very out of date |
# |
Sep 22nd 2011, 10:11 |
dogmatic69 |
o/ |
# |
Sep 22nd 2011, 10:11 |
dakota |
sup dogmatic69 |
# |
Sep 22nd 2011, 10:11 |
dogmatic69 |
ACTION pokes dakota |
# |
Sep 22nd 2011, 10:11 |
dakota |
the searchable behaviour is for searching your app |
# |
Sep 22nd 2011, 10:11 |
dakota |
ujjain: Ah, I remember that one from ages ago. Well, it depends. what do you want to do? The cakedc one is more for filtering a single model based |