<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>marius &#187; Lucene</title>
	<atom:link href="http://devilx.net/tag/lucene/feed/" rel="self" type="application/rss+xml" />
	<link>http://devilx.net</link>
	<description></description>
	<lastBuildDate>Mon, 14 May 2012 21:25:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>MediaWiki and Lucene</title>
		<link>http://devilx.net/2009/11/02/mediawiki-and-lucene/</link>
		<comments>http://devilx.net/2009/11/02/mediawiki-and-lucene/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 12:14:31 +0000</pubDate>
		<dc:creator>Marius</dc:creator>
				<category><![CDATA[Linux and stuff ...]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[World Wide Web]]></category>
		<category><![CDATA[Class]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[JAR]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Lucene]]></category>
		<category><![CDATA[MediaWiki]]></category>
		<category><![CDATA[Search]]></category>

		<guid isPermaLink="false">http://www.devilx.net/?p=1035</guid>
		<description><![CDATA[Lately, I had to enhance a MediaWiki-installation for the search to find some special parameters within a code block. It&#8217;s generally known that MediaWiki&#8217;s built-in searcher is really just an example of how searching could work, but nothing you&#8217;d really &#8230; <a href="http://devilx.net/2009/11/02/mediawiki-and-lucene/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Lately, I had to enhance a MediaWiki-installation for the search to find some special parameters within a code block. It&#8217;s generally known that MediaWiki&#8217;s built-in searcher is really just an example of how searching could work, but nothing you&#8217;d really like to use on heavy systems. However, Lucene is a pretty good replacement for MediaWiki&#8217;s built-in search, unfortunately the current EzMwLucene version isn&#8217;t that good integrated into the latest (Debian) Linux version I&#8217;ve been using. The installation on the <a title="Extension:EzMwLucene - MediaWiki" href="http://www.mediawiki.org/wiki/Extension:EzMwLucene">EzMwLucene Extension</a> looks pretty straight-forward, but at least on my installation the lucene/server didn&#8217;t really wanted to come up using the scripts that were shipped within its package. After debugging its startup procedure and taking a look into its classes and JARs, I came up with the following command to run the Lucene-server on a Debian GNU/Linux:</p>
<blockquote><p>export EZMWLUCENE_HOME=/opt/lucene/server<br />
/usr/lib/jvm/java-6-sun-1.6.0.12/jre/bin/java -Dezmwlucene.home=$EZMWLUCENE_HOME -Djava.io.tmpdir=$TMP -cp $EZMWLUCENE_HOME/ezmwlucene.jar:$EZMWLUCENE_HOME/lib/jetty-6.1.14.jar:$EZMWLUCENE_HOME/lib/jetty-util-6.1.14.jar:$EZMWLUCENE_HOME/lib/servlet-api-2.5-6.1.14.jar:$EZMWLUCENE_HOME/lib/commons-codec-1.3.jar:$EZMWLUCENE_HOME/lib/commons-httpclient-3.1.jar:$EZMWLUCENE_HOME/lib/commons-logging.jar:$EZMWLUCENE_HOME/lib/FontBox-0.1.0-dev.jar:$EZMWLUCENE_HOME/lib/lucene-core-2.4.0.jar:$EZMWLUCENE_HOME/lib/lucene-highlighter-2.4.0.jar:$EZMWLUCENE_HOME/lib/PDFBox-0.7.3.jar:$EZMWLUCENE_HOME/lib/poi-3.5-beta3-20080926.jar:$EZMWLUCENE_HOME/lib/poi-scratchpad-3.5-beta3-20080926.jar net.sourceforge.ezmwlucene.service.EzMwLuceneService</p></blockquote>
<p>Those two lines can be packed-up within a shell-script, which then gets ran by a proper /etc/init.d-script. For me, it now just works perfectly.</p>
<p>Enjoy! <img src='http://devilx.net/wp-content/plugins/smilies-themer/Riceballs/smile.png' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://devilx.net/2009/11/02/mediawiki-and-lucene/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

