We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Sphinx plugin

Development and Programming

mweichert's avatar
mweichert
68 posts
17 years ago
mweichert's avatar mweichert

Hello!

This is my first forum post; please forgive me and advise if this topic is in the wrong forum.

Is there a Sphinx (http://www.sphinxsearch.com) plugin for EE developed yet? We will be developing a directory-like application using ExpressionEngine, and found Sphinx to be the best tool for the job because of it’s fast indexing, querying, and geo spatial support.

If not, we will start developing one, but didn’t want to risk reinventing the wheel.

Cheers, Mike

       
Ingmar Greil's avatar
Ingmar Greil
29,243 posts
17 years ago
Ingmar Greil's avatar Ingmar Greil

I am fairly certain that no such plugin exists yet.

       
mweichert's avatar
mweichert
68 posts
17 years ago
mweichert's avatar mweichert

Thanks for the response.

I’m now starting to familiarize myself with the architecture of EE. So far, so good - looks impressive.

Reading the following article from the knowledge base, http://expressionengine.com/knowledge_base/article/what_is_the_difference_between_a_plugin_a_module_and_an_extension/, I understand that I’m probably looking at creating a module rather than a plugin.

I’m having a hard time understanding how to work with hooks. I need to run some code each time a field group is created or modified (including the fields associated with that group). Can someone post or refer me to an example please?

Oh, and is there an article that describes the db structure in detail? I need to select all fields belonging to a field group.

Thanks, wish me luck! 😉

Cheers, Mike

       
Ingmar Greil's avatar
Ingmar Greil
29,243 posts
17 years ago
Ingmar Greil's avatar Ingmar Greil

Mike, I am going to move this over to the “modules” section for some community input. Oh, and … god luck 😊

       
mweichert's avatar
mweichert
68 posts
17 years ago
mweichert's avatar mweichert

Thanks Ingmar.

I found the data I needed in the database and will be creating views to make Sphinx happier. Getting deeper into the documentation, I think I’m developing a plugin (as I’ll be writing new tags), and a module (to setup sphinx and provide a control panel menu for indexing). Can the plugin somehow be combined in the module? I’m thinking only in terms of packaging.

Thanks, Mike

       
Brian M.'s avatar
Brian M.
529 posts
17 years ago
Brian M.'s avatar Brian M.

Most people usually make a .zip file of their modules. I’ve seen people just bundle a plug-in or extension along with the module in a .zip. I don’t think there’s any way to actually put a plug-in inside of a module.

I haven’t found an article that describes the DB structure - I’ve just poked my way around and figured things out. I’d love to know if such a thing exists. If not it would make a good feature request.

Regarding understanding hooks, I personally just read through the tutorials and dev docs and then started experimenting. It took a bit, but if you’re familiar with PHP it will end up making sense. Finding the right hook can be difficult at times.

       
Leevi Graham's avatar
Leevi Graham
1,143 posts
17 years ago
Leevi Graham's avatar Leevi Graham
Thanks Ingmar. I found the data I needed in the database and will be creating views to make Sphinx happier. Getting deeper into the documentation, I think I’m developing a plugin (as I’ll be writing new tags), and a module (to setup sphinx and provide a control panel menu for indexing). Can the plugin somehow be combined in the module? I’m thinking only in terms of packaging. Thanks, Mike

A module has the ability to replace ee template tags like a plugin does. You shouldn’t need a plugin and a module, only the module part. mod.module_name.php handles the replacements.

I’m pretty sure there is info in the docs.

Cheers

       
Fred Boyle's avatar
Fred Boyle
73 posts
16 years ago
Fred Boyle's avatar Fred Boyle

Has this gone anywhere and been created? We’ll be having a need for a Sphinx plugin to integrate into EE soon.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.