Saturday, March 10, 2007

Added Coalevo Local How-To

Added a How-To for running Coalevo locally. The corresponding package may be downloaded from the same page.

Monday, March 5, 2007

Fulltext entry searching live

The fulltext searching for entries is now available on our testbed.


After 70-649 and 70-270, students can either enter into work, or continue studying towards a 646-204 plan. Majority that plans to study focuses on 220-601 in the long run and hence has to write 642-901 as well.


Indexing doesn't happen instantly, so don't expect that you post something and you can search for it immediately :)

Saturday, March 3, 2007

Using Lucene FilteredQuery

The FAQ of Lucene just drops in the keyworld FilteredQuery, but at a first glance it doesn't seem to be such a straightforward thing to do.

Now, the problem at hand was to search in subscribed fora of a discussion system, thus only revealing stuff the user is able to see and that he is most likely nterested in. So lets say a user is subscribed to the Lobby (LBY) and the Humor (HUM) fora. When he specifies a search query for an entry that is about a policeman, we would like to achieve something like:

policeman AND forum:(LBY OR HUM)

But not quite. Actually we would like this to be a little bit more intelligent. So let's construct a FilteredQuery.

//1. Base query construction (parsing; queries static for the example)
Query uquery = queryParser.parse("policeman");
Query fquery = queryParser.parse("forum:(LBY OR HUM)");

//2. QueryFilter and FilterQuery construction
QueryFilter qf = new QueryFilter(fquery); //the query filter we want
FilteredQuery fq = new FilteredQuery(uquery, qf); //the filtered query

//3. Search
indexSearcher.search(fq);


That's all there is to it actually. Logically it becomes more interesting when your filters don't change too much, because then the caching capabilities kick in to deliver a good query performance.

Let's hope the user will find that one good joke about the policeman he was looking for ;)

Full Text Searching in Discussion Entries

I think the title tells most of the story, the image the rest. A little bit tricky, but huge potential.

Thursday, March 1, 2007

New version up and running

A new testbed version is up and running. Language Setting is
available, and templates in English and German. Some bugs have been
fixed, and some commands added/extended.

Have fun!

Translation...done!

>3.5k Lines of language templates translated. A new import is in
process, and German will be available when the test system is up again.