<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Exploring Lucene&#8217;s Indexing Code: Part 1</title>
	<atom:link href="http://www.lucidimagination.com/blog/2009/03/04/exploring-lucenes-indexing-code-part-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lucidimagination.com/blog/2009/03/04/exploring-lucenes-indexing-code-part-1/</link>
	<description>Exclusively dedicated to Apache Lucene/Solr open source search technology</description>
	<lastBuildDate>Sat, 04 Feb 2012 01:13:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Mark Miller</title>
		<link>http://www.lucidimagination.com/blog/2009/03/04/exploring-lucenes-indexing-code-part-1/comment-page-1/#comment-1448</link>
		<dc:creator>Mark Miller</dc:creator>
		<pubDate>Mon, 23 Mar 2009 10:24:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.lucidimagination.com/blog/?p=263#comment-1448</guid>
		<description>The issue with the shared StringBuilder is that the indenting (which the StringBuilder is used for), won&#039;t work correctly if the builder/buffer is shared across threads. That is why I didn&#039;t just use a StringBuffer - I didn&#039;t want to lull anyone into thinking the code was written to work with multiple threads - the indenting would have to be tracked per thread.</description>
		<content:encoded><![CDATA[<p>The issue with the shared StringBuilder is that the indenting (which the StringBuilder is used for), won&#8217;t work correctly if the builder/buffer is shared across threads. That is why I didn&#8217;t just use a StringBuffer &#8211; I didn&#8217;t want to lull anyone into thinking the code was written to work with multiple threads &#8211; the indenting would have to be tracked per thread.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lance Norskog</title>
		<link>http://www.lucidimagination.com/blog/2009/03/04/exploring-lucenes-indexing-code-part-1/comment-page-1/#comment-1418</link>
		<dc:creator>Lance Norskog</dc:creator>
		<pubDate>Mon, 23 Mar 2009 01:51:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.lucidimagination.com/blog/?p=263#comment-1418</guid>
		<description>StringBuilder (as of Java 1.5) has replaced StringBuffer as the class used by the compiler to implement &quot;string + string + string&quot;. StringBuffer is thread-safe (and thus much much slower) and can be used in this example. 

(StringBuffer is like Hashtable and Vector: thread-safe doodads from original Java because of course everyone will write multi-threaded code with this great new language that makes threaded code easy and fun.)</description>
		<content:encoded><![CDATA[<p>StringBuilder (as of Java 1.5) has replaced StringBuffer as the class used by the compiler to implement &#8220;string + string + string&#8221;. StringBuffer is thread-safe (and thus much much slower) and can be used in this example. </p>
<p>(StringBuffer is like Hashtable and Vector: thread-safe doodads from original Java because of course everyone will write multi-threaded code with this great new language that makes threaded code easy and fun.)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lucid Imagination &#187; Exploring Lucenes Indexing Code: Part 2</title>
		<link>http://www.lucidimagination.com/blog/2009/03/04/exploring-lucenes-indexing-code-part-1/comment-page-1/#comment-919</link>
		<dc:creator>Lucid Imagination &#187; Exploring Lucenes Indexing Code: Part 2</dc:creator>
		<pubDate>Wed, 18 Mar 2009 21:37:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.lucidimagination.com/blog/?p=263#comment-919</guid>
		<description>[...] Previous: Exploring Lucenes Indexing Code: Part 1  [...]</description>
		<content:encoded><![CDATA[<p>[...] Previous: Exploring Lucenes Indexing Code: Part 1  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Miller</title>
		<link>http://www.lucidimagination.com/blog/2009/03/04/exploring-lucenes-indexing-code-part-1/comment-page-1/#comment-23</link>
		<dc:creator>Mark Miller</dc:creator>
		<pubDate>Thu, 05 Mar 2009 23:18:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.lucidimagination.com/blog/?p=263#comment-23</guid>
		<description>No problem Mike - I&#039;ve added a sample aspect to the post.</description>
		<content:encoded><![CDATA[<p>No problem Mike &#8211; I&#8217;ve added a sample aspect to the post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Smith</title>
		<link>http://www.lucidimagination.com/blog/2009/03/04/exploring-lucenes-indexing-code-part-1/comment-page-1/#comment-22</link>
		<dc:creator>Mike Smith</dc:creator>
		<pubDate>Thu, 05 Mar 2009 22:33:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.lucidimagination.com/blog/?p=263#comment-22</guid>
		<description>Can you can export that from Eclipse and share?</description>
		<content:encoded><![CDATA[<p>Can you can export that from Eclipse and share?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Miller</title>
		<link>http://www.lucidimagination.com/blog/2009/03/04/exploring-lucenes-indexing-code-part-1/comment-page-1/#comment-21</link>
		<dc:creator>Mark Miller</dc:creator>
		<pubDate>Thu, 05 Mar 2009 16:57:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.lucidimagination.com/blog/?p=263#comment-21</guid>
		<description>Hey Stephen,

I use AspectJ to get the traces. That allows me to very simply weave code into the Lucene code base. Its a very simple aspect that simply injects a trace before and after selected method calls. Every &#039;before&#039; I increase the indent and every &#039;after&#039; I decrease it. Fairly simple, but pretty effective. AspectJ has some command line tools, but I just used the Eclipse integration - only took about 5 minutes to setup - you simply drop the aspect file into the Lucene project and run it.</description>
		<content:encoded><![CDATA[<p>Hey Stephen,</p>
<p>I use AspectJ to get the traces. That allows me to very simply weave code into the Lucene code base. Its a very simple aspect that simply injects a trace before and after selected method calls. Every &#8216;before&#8217; I increase the indent and every &#8216;after&#8217; I decrease it. Fairly simple, but pretty effective. AspectJ has some command line tools, but I just used the Eclipse integration &#8211; only took about 5 minutes to setup &#8211; you simply drop the aspect file into the Lucene project and run it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stephen Green</title>
		<link>http://www.lucidimagination.com/blog/2009/03/04/exploring-lucenes-indexing-code-part-1/comment-page-1/#comment-19</link>
		<dc:creator>Stephen Green</dc:creator>
		<pubDate>Thu, 05 Mar 2009 15:04:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.lucidimagination.com/blog/?p=263#comment-19</guid>
		<description>Interesting stuff, Mark.

How did you generate those traces?  That would be a very handy tool to have around...</description>
		<content:encoded><![CDATA[<p>Interesting stuff, Mark.</p>
<p>How did you generate those traces?  That would be a very handy tool to have around&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

