Web Software Architecture and Engineering – Life on the Bleeding Edge

Here are some simple instruction to installing Seeker on Windows. I believe only slight adjustments may be necessary for other platforms.
1. Download Lucene

  • Lucene 2.3.2 seems to be latest version. Find it @ http://lucene.apache.org/.
  • Click on the link that talks about “Binary and source distributions…”.
  • That should take you to a Mirrors page, or click here to directly go there.
  • Click on the Mirror you prefer, and you should see an old school directory listing. I clicked on “lucene-2.3.2.zip” and downloaded the file.
  • Opening the file, you’ll find the JAR file you need: “lucene-core-2.3.2.jar”.

2. Install Lucene in ColdFusion

  • Installing JARs is easy. Simply place it in the CLASS PATH. That usually means the /lib directory. Since I have a Multi-Instance install of ColdFusion though, mine goes in: “%CFRoot%JRun4serverscfusioncfusion-earcfusion-warWEB-INFcfusionlib”.
  • That’s it. Restart CF.

3. Install Seeker

  • Seeker can downloaded @ http://seeker.riaforge.org/.
  • Version 0.5 seems to be the latest. You’ll note four folders inside the zip. The two that concern us today are customTags and cfAdmin.
  • CustomTags: Place the files in the customTags folder or add a new customTag path pointing to this folder in CFAdmin. Nothing new here.
  • CFAdmin: Place this folder as a sub-folder to the /cfide/administrator folder. In other words, for my Multi-Instance install of ColdFusion, I had to go to: “%CFRoot%JRun4serverscfusioncfusion-earcfusion-warCFIDEadministrator”. This should be easy to find in normal CF installs. Here is the trick though. Inside this folder, create a folder called Seeker. Place the files inside CFAdmin inside Seeker. So in the end, you should NOT have a CFAdmin folder anywhere. And finally, ging back to the Administrator folder, find custommenu.xml and place this code inside the menu tags: <submenu label=”Seeker”><menuitem href=”seeker/index.cfm” target=”content”>Seeker Home</menuitem></submenu>. Feel free to change “Seeker Home” to whatever label works for you. Reload the CFAdmin interface, and now in your left menu items should be Seeker.

You’re done.
Next, I’ll explore the demos, and perform some tests with our internal DB. Stay tuned.
PS: Let me know if there are any mistakes in the install, I’ll quickly fix them.

Advertisements

Comments on: "ColdFusion & Lucene: Installing Seeker" (2)

  1. Nice write up. I completely missed Ray’s Lucene implementation and wrote my own.

    Also, if you’re doing any type of web based indexing, be sure to check out Nutch. (http://lucene.apache.org/nutch/)

  2. Excellent post – thanks for that. Meant I could leave my brain on standby and get everything installed for Lucene quickly and easily.

    Looking forward to getting my head around the system now and working out how to integrate it into the big site I’m working on.. 🙂

    Cheers.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: