Sitecore6 Lucene indexing webconfig setup Tip

As far as I remember all indexes are build onpublish event in Sitecore. But that is not the case with Sitecore6x to my suprise indexes for web database were never built. So i took a look at the webconfic and to my amazment i had to ad the folowing to make it work as intended.

<database id="web" singleInstance="true"  type="Sitecore.Data.Database, Sitecore.Kernel">
...
 <indexes hint="list:AddIndex">
    <index  path="indexes/index[@id='system']" />
 </indexes>
...
<Engines.HistoryEngine.Storage>
   <obj  type="Sitecore.Data.$(database).$(database)HistoryStorage,  Sitecore.Kernel">
          <param connectionStringName="$(id)"  />
          <EntryLifeTime>30.00:00:00</EntryLifeTime>
    </obj>
 </Engines.HistoryEngine.Storage>
<Engines.HistoryEngine.SaveDotNetCallStack>false</Engines.HistoryEngine.SaveDotNetCallStack>

</database>

more info about Sitecore and Lucene indexing here
http://sdn.sitecore.net/upload/sdn/articles/administration/lucene-search-engine/lucene-search-engine.pdf

well there you have it, another successful fix (c:

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: