<?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>teamzone.ch &#187; Lucene</title>
	<atom:link href="http://teamzone.ch/tag/lucene/feed/" rel="self" type="application/rss+xml" />
	<link>http://teamzone.ch</link>
	<description>Welcome to the Joint-Venture Blog from Fabio Cortesi and Stefan Jäger.</description>
	<lastBuildDate>Sat, 05 Jun 2010 13:23:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Luke &#8211; The Lucene Index Toolbox</title>
		<link>http://teamzone.ch/2009/06/13/luke-the-lucene-index-toolbox/</link>
		<comments>http://teamzone.ch/2009/06/13/luke-the-lucene-index-toolbox/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 09:13:32 +0000</pubDate>
		<dc:creator>Stefan Jäger</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Lucene]]></category>

		<guid isPermaLink="false">http://teamzone.ch/2009/06/13/luke-the-lucene-index-toolbox/</guid>
		<description><![CDATA[Lucene offers great full text search capabilities. It is based on an index, which is maintained by Lucene. With Luke, the Lucene Index Toolbox (http://www.getopt.org/luke/) you can analyze your index and let explain queries.
After startup, you have to select your index. For this example, I created a test index with one file. It’s content is [...]]]></description>
			<content:encoded><![CDATA[<p>Lucene offers great full text search capabilities. It is based on an index, which is maintained by Lucene. With Luke, the Lucene Index Toolbox (<a title="http://www.getopt.org/luke/" href="http://www.getopt.org/luke/">http://www.getopt.org/luke/</a>) you can analyze your index and let explain queries.</p>
<p>After startup, you have to select your index. For this example, I created a test index with one file. It’s content is “this is a lucene test”. I used the StandardAnalyzer, which uses the WhitespaceTokenizer and filters out all tokens less than 3 characters and stop words. This will result in an index of the terms “lucene” and “test”.</p>
<p><a href="http://teamzone.ch/wp-content/uploads/2009/06/image.png"  rel="lightbox" rel="lightbox[roadtrip]"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://teamzone.ch/wp-content/uploads/2009/06/image-thumb.png" width="500" height="392" /></a>&#160;</p>
<p> <span id="more-400"></span>
<p>&#160;</p>
<p>In the register Documents, you can browse through all documents. Because we only have one file in our test index, we can directly jump to document 0. In the “Brows by term:” panel, we can browse through all terms, which are “lucene” and “test”. Very useful, to analyze the index for a specific document.</p>
<p><a href="http://teamzone.ch/wp-content/uploads/2009/06/image1.png"  rel="lightbox" rel="lightbox[roadtrip]"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://teamzone.ch/wp-content/uploads/2009/06/image-thumb1.png" width="500" height="392" /></a> </p>
<p>&#160;</p>
<p>Also very interesting is the register Search. I typed in the phrase “this is a lucene test”. In the “Query Details” panel, we can see, that the query will be “lucene test”. The reason is simple. Every query get’s also analyzed by the same analyzer, which is used for building the index.</p>
<p><a href="http://teamzone.ch/wp-content/uploads/2009/06/image2.png"  rel="lightbox" rel="lightbox[roadtrip]"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://teamzone.ch/wp-content/uploads/2009/06/image-thumb2.png" width="500" height="392" /></a> </p>
<p>&#160;</p>
<p>If you are using Lucene, just try Luke out. You can start it with Java Web Start from <a href="http://www.getopt.org/luke/luke.jnlp">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://teamzone.ch/2009/06/13/luke-the-lucene-index-toolbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
