What is the best stone for indextank?

I use indextank with a hero. Which is better to use a gem, indextank or thinktank? I looked at the documentation and tutorials for both, and it seems that thinking is easier to use. Related / next question: what are the advantages / disadvantages of each?

+4
source share
2 answers

It depends on what you do. If you are writing a simple application that is not based on ActiveRecord, indextank allows you to add and search for content without saving anything in your application. Example: if you extract tweets, you can index them directly without having a data model on your side. This is a lower level, so to speak.

If you use ActiveRecord or another ORM, you should take a look at Tanker, it is more actively developed than ThinkingTank:

https://github.com/kidpollo/tanker

Hope this answers your question, if not please talk to us at http://indextank.com (the chat widget on the main page) will be happy to help!

+7
source

As Diego said, Tanker really seems to be going a lot. Alternatively, you can use IndexTanked:

https://github.com/zencoder/index-tanked

We wrote this library to search on zencoder.com. Documentation does not exist yet, but it is.

One of the important features included in IndexTanked, which was necessary for us, was fault tolerance. IndexTanked includes custom backup methods for use in the event of index refusal, deletion from an index, or search. In addition, it restricts indextank calls by checking whether indexed fields have changed during updates. You can even get the fields that we check so you can select the minimum viable fields for indexing when necessary.

You can leave the author, Adam, a line at adam@zencoder.com if you have questions (completely reasonable with no documents).

+2
source

All Articles