Mar 18, 2011

Experience of dbx recovery

Recently i had a task about email recovery, some messages in Inbox were missing after folder compaction of Outlook Express 6 (running on Windows XP Prof. SP3) and there is no another copy in email server.

Nov 26, 2010

Basic inverted index in MongoDB

i m attracted by Ward Bekker's article Simple ranked text search for MongoDB and his ruby code, he used mapreduce to create inverted index for a set of documents, and ranked the search result by another mapreduce. i modified a bit his code and implement in my PHP application.

Oct 31, 2010

Basic usage of MapReduce in MongoDB

After reading some useful MongoDB MapReduce materials (see References below), it is time to try it myself in practice. Consider a business rating system, it allows users to rate businesses by selecting the point in the range 1(bad)-5(good), the document structure is as follow. The business 'Old Novice' got 2 ratings.
{
  name: 'Old Novice',
  rating : [ {user: 'ngsiolei', point: 3},
             {user: 'lei', point: 4} ]
}