Ask Your Question
1

Can I use MySQL InnoDB?

asked 2011-05-11 13:49:42 -0500

codedigger gravatar image codedigger
41 3 3

updated 2011-05-12 14:59:25 -0500

Evgeny gravatar image Evgeny flag of Chile
11044 50 84 182
http://askbot.org/

Looks like only question and answer tables need fulltext index, which is not supported by InnoDB. What if I'm going to use a search engine for search of questions and answers anyway, can I not apply Migration 4 and use InnoDB? I have a lot of other tables in InnoDB and really don't want to fall back to MyISAM.

delete close flag offensive retag edit

Comments

Hopefully fixed now. I did not test with InnoDB though, but added some code that would make migration 4 pass for you and fallback to simple title match for the search. Evgeny ( 2011-05-12 15:01:39 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
0

answered 2011-05-11 14:04:42 -0500

Evgeny gravatar image Evgeny flag of Chile
11044 50 84 182
http://askbot.org/

updated 2011-05-12 14:59:02 -0500

As of version 0.6.86, it is possible, but still InnoDB does not support text search properly.

To completely fix this issue, we'll need to support some external search library, such as solr, sphinx, etc.

At the moment, with askbot the best options are either transition your other app to PostgresQL or with a quick fix on our part - accept loss of text search support - until we work with a specialized search library. (e.g. Django Haystack)

link publish delete flag offensive edit

Comments

If I'm willing to lose full text search, would the app still work for other functions under InnoDB? I'm already using Haystack and Solr, so I can provide search on my own page. codedigger ( 2011-05-11 14:39:38 -0500 )edit
Ok, I will provide a fallback to simple search for InnoDB, but for Haystack - need to look into it first, will try though. Evgeny ( 2011-05-11 14:49:30 -0500 )edit
Sphinx search is now available. Evgeny ( 2011-07-17 23:12:51 -0500 )edit
0

answered 2012-01-12 04:59:13 -0500

nil gravatar image nil
1 2 1

@Evengy, it would be great, if you have any documentation/article to say how we can configure haystack with askbot, it will be big+ for user like who prefer solr over sphinx.

Thanks, N.

link publish delete flag offensive edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2011-05-11 13:49:42 -0500

Seen: 195 times

Last updated: Jan 12 '12