<?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>Kommentarer til: Sitecores Lucene integration</title>
	<atom:link href="http://pentialized.dk/2008/11/05/sitecores-lucene-integration/feed/" rel="self" type="application/rss+xml" />
	<link>http://pentialized.dk/2008/11/05/sitecores-lucene-integration/</link>
	<description>Uformel blog om webudvikling, Sitecore og livet hos Pentia</description>
	<lastBuildDate>Wed, 29 Aug 2012 14:05:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>Af: carknee</title>
		<link>http://pentialized.dk/2008/11/05/sitecores-lucene-integration/#comment-71</link>
		<dc:creator>carknee</dc:creator>
		<pubDate>Fri, 13 Aug 2010 16:00:28 +0000</pubDate>
		<guid isPermaLink="false">http://mcore.wordpress.com/?p=65#comment-71</guid>
		<description>Thanks Alexey. That got me going down the right path and I found a solution. http://seankearney.com/archive/2010/08/13/sitecore-6-lucene-luke.aspx</description>
		<content:encoded><![CDATA[<p>Thanks Alexey. That got me going down the right path and I found a solution. <a href="http://seankearney.com/archive/2010/08/13/sitecore-6-lucene-luke.aspx" rel="nofollow">http://seankearney.com/archive/2010/08/13/sitecore-6-lucene-luke.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Af: Jens Mikkelsen</title>
		<link>http://pentialized.dk/2008/11/05/sitecores-lucene-integration/#comment-70</link>
		<dc:creator>Jens Mikkelsen</dc:creator>
		<pubDate>Wed, 09 Dec 2009 18:09:02 +0000</pubDate>
		<guid isPermaLink="false">http://mcore.wordpress.com/?p=65#comment-70</guid>
		<description>Hi John,

I also replied you on the SDN, but here is the link to the 3 part articleseries on LearnSitecore again: http://learnsitecore.cmsuniverse.net//Developers/Articles/2009/06/LuceneQuery3.aspx</description>
		<content:encoded><![CDATA[<p>Hi John,</p>
<p>I also replied you on the SDN, but here is the link to the 3 part articleseries on LearnSitecore again: <a href="http://learnsitecore.cmsuniverse.net//Developers/Articles/2009/06/LuceneQuery3.aspx" rel="nofollow">http://learnsitecore.cmsuniverse.net//Developers/Articles/2009/06/LuceneQuery3.aspx</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Af: John Bubriski</title>
		<link>http://pentialized.dk/2008/11/05/sitecores-lucene-integration/#comment-69</link>
		<dc:creator>John Bubriski</dc:creator>
		<pubDate>Tue, 08 Dec 2009 21:30:32 +0000</pubDate>
		<guid isPermaLink="false">http://mcore.wordpress.com/?p=65#comment-69</guid>
		<description>How exactly would you save the path in a field?  Right now I am trying to limit the index to only items under /sitecore/content/ but the only way I find to do it is to filter the hit results in my for loop.

How can I filter the index exactly?  I don&#039;t know how to add the path field as an indexed field in the web.config.

Thanks.</description>
		<content:encoded><![CDATA[<p>How exactly would you save the path in a field?  Right now I am trying to limit the index to only items under /sitecore/content/ but the only way I find to do it is to filter the hit results in my for loop.</p>
<p>How can I filter the index exactly?  I don&#8217;t know how to add the path field as an indexed field in the web.config.</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Af: Jens Mikkelsen</title>
		<link>http://pentialized.dk/2008/11/05/sitecores-lucene-integration/#comment-68</link>
		<dc:creator>Jens Mikkelsen</dc:creator>
		<pubDate>Mon, 23 Feb 2009 12:09:44 +0000</pubDate>
		<guid isPermaLink="false">http://mcore.wordpress.com/?p=65#comment-68</guid>
		<description>Hi Alexey,

Thanks for your comment. I just tried it out, but it didn&#039;t seem to work. 

I think that the record gets registered as &quot;compressed&quot;. When Luke opens the index it tries to Uncompress with the Java uncompresser, which isn&#039;t compatible with .net&#039;s way.

If I implement my own compresser not altering the text, it still tries to uncompress it.</description>
		<content:encoded><![CDATA[<p>Hi Alexey,</p>
<p>Thanks for your comment. I just tried it out, but it didn&#8217;t seem to work. </p>
<p>I think that the record gets registered as &#8220;compressed&#8221;. When Luke opens the index it tries to Uncompress with the Java uncompresser, which isn&#8217;t compatible with .net&#8217;s way.</p>
<p>If I implement my own compresser not altering the text, it still tries to uncompress it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Af: Alexey</title>
		<link>http://pentialized.dk/2008/11/05/sitecores-lucene-integration/#comment-67</link>
		<dc:creator>Alexey</dc:creator>
		<pubDate>Fri, 20 Feb 2009 21:06:38 +0000</pubDate>
		<guid isPermaLink="false">http://mcore.wordpress.com/?p=65#comment-67</guid>
		<description>Hi Jens,

There&#039;s a &quot;Lucene.Net.CompressionLib.class&quot; key in web.config, defining the compression mechanism used.

You can try to implement your own dummy compression (actually doing nothing), and still use Luke to browse the indexes in Sitecore 6.

Not 100% sure if this will work, but could be worth trying.

Regards, Alexey</description>
		<content:encoded><![CDATA[<p>Hi Jens,</p>
<p>There&#8217;s a &#8220;Lucene.Net.CompressionLib.class&#8221; key in web.config, defining the compression mechanism used.</p>
<p>You can try to implement your own dummy compression (actually doing nothing), and still use Luke to browse the indexes in Sitecore 6.</p>
<p>Not 100% sure if this will work, but could be worth trying.</p>
<p>Regards, Alexey</p>
]]></content:encoded>
	</item>
	<item>
		<title>Af: Sitecore Fetch Squad &#187; Blog Archive &#187; Introducing the Lucene Index Viewer</title>
		<link>http://pentialized.dk/2008/11/05/sitecores-lucene-integration/#comment-66</link>
		<dc:creator>Sitecore Fetch Squad &#187; Blog Archive &#187; Introducing the Lucene Index Viewer</dc:creator>
		<pubDate>Wed, 18 Feb 2009 09:31:32 +0000</pubDate>
		<guid isPermaLink="false">http://mcore.wordpress.com/?p=65#comment-66</guid>
		<description>[...] have earlier complained about Sitecore 6 Lucene implementation hard-coding compression, making it impossible to view the index in Luke. Further I have often [...]</description>
		<content:encoded><![CDATA[<p>[...] have earlier complained about Sitecore 6 Lucene implementation hard-coding compression, making it impossible to view the index in Luke. Further I have often [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Af: Introducing the Lucene Index Viewer &#171; Molten Core</title>
		<link>http://pentialized.dk/2008/11/05/sitecores-lucene-integration/#comment-65</link>
		<dc:creator>Introducing the Lucene Index Viewer &#171; Molten Core</dc:creator>
		<pubDate>Wed, 11 Feb 2009 22:25:20 +0000</pubDate>
		<guid isPermaLink="false">http://mcore.wordpress.com/?p=65#comment-65</guid>
		<description>[...] the Lucene Index&#160;Viewer  I have earlier complained about Sitecore 6 Lucene implementation hard-coding compression, making it impossible to view the index in Luke. Further I have often [...]</description>
		<content:encoded><![CDATA[<p>[...] the Lucene Index&nbsp;Viewer  I have earlier complained about Sitecore 6 Lucene implementation hard-coding compression, making it impossible to view the index in Luke. Further I have often [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Af: Jens Mikkelsen</title>
		<link>http://pentialized.dk/2008/11/05/sitecores-lucene-integration/#comment-64</link>
		<dc:creator>Jens Mikkelsen</dc:creator>
		<pubDate>Wed, 19 Nov 2008 08:11:14 +0000</pubDate>
		<guid isPermaLink="false">http://mcore.wordpress.com/?p=65#comment-64</guid>
		<description>Hi Priyanka,

I have dropped an answer here http://sdn5.sitecore.net/forum/ShowPost.aspx?PostID=12791

Cheers
Jens</description>
		<content:encoded><![CDATA[<p>Hi Priyanka,</p>
<p>I have dropped an answer here <a href="http://sdn5.sitecore.net/forum/ShowPost.aspx?PostID=12791" rel="nofollow">http://sdn5.sitecore.net/forum/ShowPost.aspx?PostID=12791</a></p>
<p>Cheers<br />
Jens</p>
]]></content:encoded>
	</item>
	<item>
		<title>Af: Priyanka</title>
		<link>http://pentialized.dk/2008/11/05/sitecores-lucene-integration/#comment-63</link>
		<dc:creator>Priyanka</dc:creator>
		<pubDate>Tue, 18 Nov 2008 06:34:04 +0000</pubDate>
		<guid isPermaLink="false">http://mcore.wordpress.com/?p=65#comment-63</guid>
		<description>Hi Jens,

First of all thnaks a lot for your reply.

I would like to clear that we are going to have around 400 sites in single installation of Sitecore so we can not use the first option.

We dont have seprate templates for each websites so i dont think we can just do this through web.config file. I believe we need to use Custom Indexing for this, i have gone through documentation for it but i dont understand what and where exactly i need to start work.
For example, there is function like  &quot;protected override void AddFields(Item item, Document document)&quot; in given codefile but i want to know do i have loop through all the Items and only add those Items to index which are related to perticular site? That looks very odd way or i dont understand how can remove items here if its not related to site?
Could you please provide me referance to some code example, where Custom indexing it integrated with code(i got the codefiles from Lucene-sitecore online). I am not sure whether its the place to discuss issues related to sitecore or not, if its not then please provide me emailId or so where i can send my query for search things.

Thanks a lot!!!</description>
		<content:encoded><![CDATA[<p>Hi Jens,</p>
<p>First of all thnaks a lot for your reply.</p>
<p>I would like to clear that we are going to have around 400 sites in single installation of Sitecore so we can not use the first option.</p>
<p>We dont have seprate templates for each websites so i dont think we can just do this through web.config file. I believe we need to use Custom Indexing for this, i have gone through documentation for it but i dont understand what and where exactly i need to start work.<br />
For example, there is function like  &#8220;protected override void AddFields(Item item, Document document)&#8221; in given codefile but i want to know do i have loop through all the Items and only add those Items to index which are related to perticular site? That looks very odd way or i dont understand how can remove items here if its not related to site?<br />
Could you please provide me referance to some code example, where Custom indexing it integrated with code(i got the codefiles from Lucene-sitecore online). I am not sure whether its the place to discuss issues related to sitecore or not, if its not then please provide me emailId or so where i can send my query for search things.</p>
<p>Thanks a lot!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Af: Jens Mikkelsen</title>
		<link>http://pentialized.dk/2008/11/05/sitecores-lucene-integration/#comment-62</link>
		<dc:creator>Jens Mikkelsen</dc:creator>
		<pubDate>Mon, 17 Nov 2008 11:31:56 +0000</pubDate>
		<guid isPermaLink="false">http://mcore.wordpress.com/?p=65#comment-62</guid>
		<description>Hi Priyanka,

As far as I know there is no default out-of-the-box way to do this, but you might ask on the SDN forum. 

However it is not that hard to implement yourself. There are two ways to solve this issue:

1. You could keep all documents in one index and then just save the path in a field. In your search you could then just use a PrefixQuery to ensure, that the indexitem holds a path, that starts with the root of your site. 

2. You could create an index per site and then override the indexing class excluding all documents not relevant for the given site.

Either way you should probably override the Sitecore.Data.Indexing.Index class. You can take a look the class using the Reflector.

If you don&#039;t have to much data, I would recommend you to go with option 1. This is the simplest and you won&#039;t clutter up your configuration if you have many sites.

Hope that helps you.</description>
		<content:encoded><![CDATA[<p>Hi Priyanka,</p>
<p>As far as I know there is no default out-of-the-box way to do this, but you might ask on the SDN forum. </p>
<p>However it is not that hard to implement yourself. There are two ways to solve this issue:</p>
<p>1. You could keep all documents in one index and then just save the path in a field. In your search you could then just use a PrefixQuery to ensure, that the indexitem holds a path, that starts with the root of your site. </p>
<p>2. You could create an index per site and then override the indexing class excluding all documents not relevant for the given site.</p>
<p>Either way you should probably override the Sitecore.Data.Indexing.Index class. You can take a look the class using the Reflector.</p>
<p>If you don&#8217;t have to much data, I would recommend you to go with option 1. This is the simplest and you won&#8217;t clutter up your configuration if you have many sites.</p>
<p>Hope that helps you.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
