Another Word For It Patrick Durusau on Topic Maps and Semantic Diversity

June 24, 2011

How to use Scala and Lucene to create a basic search application

Filed under: Lucene,Scala,Search Engines — Patrick Durusau @ 10:45 am

How to use Scala and Lucene to create a basic search application

From the post:

How to use Scala and Lucene to create a basic search application. One of the powerful benefits of Scala is that it has full access to any Java libraries; giving you a tremendous number of available resources and technology. This example doesn’t tap into the full power of Lucene, but highlights how easy it is to incorporate Java libraries into a Scala project.

This example is based off a Twitter analysis app I’ve been noodling on; which I am utilizing Lucene. The code below takes a list of tweets from a text file; creates an index that you can search and extract info from.

Nice way to become familiar both with Scala and Lucene.

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Powered by WordPress