Introduction

Have you ever wondered if you could use Drupal as your CMS and other technology
to distribute contents to users? Mongodb indexer could well be a key part of
(such) a system that answers this question. MongoDB indexer sends your metadata
to MongoDB without intefering/altering your main storage engine. You can add
extra data to a mongo document; or alter a mongo document before it is sent to
MongoDB. "There is a hook for that", of course.

A practical use case is a combination of: Drupal to manage your contents;
MongoDB indexer to send metadata to MongoDB clusters; Node.js to distribute
the contents from MongoDB clusters.

Features

  • Selectable content types to be sent to MongoDB including custom entities,
    nodes, comments, taxonomy, users, and files.
  • Ability to re-indexing a single node content type or a single bundle of
    a custom entity.
  • Re-indexing operation are separated from normal indexing operation.
  • Fexibility in setting up PHP MongClient connection in settings.php.
  • Support for a single MongoDB instance or a Replica Set.

Project page: MongoDB Indexer
Git: git clone --branch 7.x-1.x http://git.drupal.org/sandbox/tungscit/2336329.git mongodb_indexer

Comments

PA robot’s picture

We are currently quite busy with all the project applications and we prefer projects with a review bonus. Please help reviewing and put yourself on the high priority list, then we will take a look at your project right away :-)

Also, you should get your friends, colleagues or other community members involved to review this application. Let them go through the review checklist and post a comment that sets this issue to "needs work" (they found some problems with the project) or "reviewed & tested by the community" (they found no major flaws).

I'm a robot and this is an automated message from Project Applications Scraper.

leopathu’s picture

Status: Needs review » Needs work

Hi tungscit,
You have created a form for module configuration at "admin/config/search/mongodb-indexer". Thats good.
but you written the form on the same page. best way to use the configuration form mongodb_indexer_settings($form, &$form_state) in the separated file (mongodb_indexer.admin.inc)

You could simply include the mongodb_indexer.drush.inc, mongodb_indexer.api with the MY_MODULE.info file
(ex : files[] = mongodb_indexer.drush.inc )

tungscit’s picture

Status: Needs work » Needs review

Hi leopathu,

Many thanks for the comments!

We think that it is not necessary or optional to separate the setting form to a separated file.
Regarding the .info, according to this documentation, the files property is optional and is used for loading interface or class.

I'm going put this back to need review.

firebird’s picture

Status: Needs review » Reviewed & tested by the community

I've run the Pareview checks, gone through the project application checklist, and reviewed the code manually. I couldn't find any issues. As such, marking the application as RTBC.

kscheirer’s picture

Status: Reviewed & tested by the community » Fixed

Great code! Couldn't find any issues either, though you should prefer single quotes where possible for Drupal code standard.

Thanks for your contribution, tungscit!

I updated your account so you can promote this to a full project and also create new projects as either a sandbox or a "full" project.

Here are some recommended readings to help with excellent maintainership:

You can find lots more contributors chatting on IRC in #drupal-contribute. So, come hang out and stay involved!

Thanks, also, for your patience with the review process. Anyone is welcome to participate in the review process. Please consider reviewing other projects that are pending review. I encourage you to learn more about that process and join the group of reviewers.

Thanks to the dedicated reviewer(s) as well.

tungscit’s picture

Thanks kscheirer for reviewing the project!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

rubic’s picture

Superb module!!! will test it with recent commerce project.. hope it will work fine!!!