Moogle Code Search Help

http://www.ibrix.info/search/

Thibaud Lopez Schneider
July 30, 2009

1) Overview

Moogle Code Search is a search engine for M3 7.1 code created independently by Thibaud Lopez Schneider as an experiment aiming to provide better search to M3 developers. M3 is an application from Lawson Software. Moogle Code Search indexes and provides full-text search on the M3 API Repository (which is publicly available), as well as on the Movex MetaData Publisher (MDP) (which is restricted to Lawson Software employees only). My idea is that the easier it is for developers to find and create code for M3, the more code around M3 will eventually be produced. It is a win-win scenario for both M3 developers and Lawson Software. See the Screenshots here below for an illustration.

2) Screenshots

Here are some screenshots of Moogle Code Search in action:

3) Examples

Here are some examples to search for M3 API: Here are some examples to search the M3 database metadata:

4) How it works

Moogle Code Search is a client-side search engine, i.e. the collecting, indexing and search is performed in your browser, not on the server. It uses Google Gears, PubTools Search, and custom code. Google Gears is a plug-in for browsers that adds HTML5 capabilities, a SQLite database, a full-text search module, multi-threading for JavaScript and other features to the browser. PubTools Search is an open-source project using Dojo that provides the collecting, indexing, and search. I then added some custom code to PubTools Search to tailor the search engine to the needs of Moogle Code Search. Moogle Code Search has been tested on Microsoft Internet Explorer 7 and Firefox 2.


5) Installation

To install Moogle Code Search follow these steps:
  1. Install Google Gears in your browser.
  2. Download the indexes as a ZIP file and unzip the content in the respective folder of your browser:
    For Internet Explorer: C:\Documents and Settings\\Local Settings\Application Data\Google\Google Gears for Internet Explorer\www.thibaudlopez.net\http_80\
    For Firefox: C:\Documents and Settings\\Local Settings\Application Data\Mozilla\Firefox\Profiles\\Google Gears for Firefox\www.thibaudlopez.net\http_80\
  3. Go to Moogle Code Search.
  4. You will be prompted by Google Gears to trust the site www.thibaudlopez.net. The site will not collect any data from your computer and will not store any data other than for the purpose of the indexing mentioned above.
  5. Start using it. Refer to the Examples chapter above for some ideas, or refer to the Usage chapter here below for detailed instructions.
Optional. You can add Moogle Code Search as a Search Provider to Internet Explorer. See a screenshot of the result here. For that, follow these instructions:
  1. Go to Add Search Providers to Internet Explorer.
  2. Type this URL: http://www.ibrix.info/search/?q=TEST .
  3. Type this name: Moogle Code Search.
  4. Click Install.
  5. You can use the shortcut key CTRL+E in the browser to enter the search field automatically.

6) Usage

There are two tabs in Moogle Code Search: This is how to use Moogle Code Search:

7) Feature list

This is the list of features already implemented:

8) Wish list

This is a theoretical wish list that will most certainly never be implemented:

Disclaimer

Because Moogle Code Search uses a client-side search engine (Google Gears and PubTools Search) it will most certainly stay in the BETA status. It is provided AS IS, without any support, or guarantee. M3 is a trademark of Lawson Software. Moogle Code Search is not affiliated to Lawson Software, and the views expressed in Moogle Code Search do not necessarily represent those of Lawson Software. Moogle Code Search is not related to Google. The Moogle logo was created by respecting the Guidelines for Third Party Use of Google Brand Features.

References

back