What are the pros/cons of using the Sphinx Storage Engine in MySQL (doc) over the normal api?
1 Answer
Pros
- If there is no Sphinx API for the language you are using SphinxSE allows you to do searches through MySQL.
- If you are doing background processing and storing the search results in your database SphinxSE allows you to move the data from the searchd service directly into MySQL instead of going through an application layer.
Cons
- You have to compile SphinxSE into MySQL.
- Using SphinxSE requires some additional setup besides the basic searchd and indexer configuration.
- (This one is more my opinion) Searching through the API is more intuitive than using the SphinxSE SQL syntax.