I am trying to figure out how to use umbraco examine and it looks pretty simple, I just can't get it to index my site. I have used the umbraco video tutorial.
I can get it to create the App_Data\ExamineIndexes\DemoIndex folder and most of the files in there. But the App_Data\ExamineIndexes\DemoIndex\Index folder only have the "segments.gen" and "segments_1" files. When using that "Luke - Lucene Index Toolbox" it say "Index successfully opened" but nothing seems to be indexed.
How and when should examine index my nodes?
What I have: Umbraco 4.6 Alpha Examine as is in Umbraco
ExamineIndex.config
<ExamineLuceneIndexSets> <!-- The internal index set used by Umbraco back-office - DO NOT REMOVE --> <IndexSet SetName="InternalIndexSet" IndexPath="~/App_Data/TEMP/ExamineIndexes/Internal/"> <IndexAttributeFields> <add Name="id" /> <add Name="nodeName" /> <add Name="updateDate" /> <add Name="writerName" /> <add Name="path" /> <add Name="nodeTypeAlias" /> <add Name="parentID" /> </IndexAttributeFields> <IndexUserFields /> <IncludeNodeTypes/> <ExcludeNodeTypes /> </IndexSet>
<!-- The internal index set used by Umbraco back-office for indexing members - DO NOT REMOVE --> <IndexSet SetName="InternalMemberIndexSet" IndexPath="~/App_Data/TEMP/ExamineIndexes/InternalMember/"> <IndexAttributeFields> <add Name="id" /> <add Name="nodeName"/> <add Name="updateDate" /> <add Name="writerName" /> <add Name="loginName" /> <add Name="email" /> <add Name="nodeTypeAlias" /> </IndexAttributeFields> <IndexUserFields/> <IncludeNodeTypes/> <ExcludeNodeTypes /> </IndexSet>
Examine Indexing problems
Hi,
I am trying to figure out how to use umbraco examine and it looks pretty simple, I just can't get it to index my site. I have used the umbraco video tutorial.
I can get it to create the App_Data\ExamineIndexes\DemoIndex folder and most of the files in there. But the App_Data\ExamineIndexes\DemoIndex\Index folder only have the "segments.gen" and "segments_1" files. When using that "Luke - Lucene Index Toolbox" it say "Index successfully opened" but nothing seems to be indexed.
How and when should examine index my nodes?
What I have:
Umbraco 4.6 Alpha
Examine as is in Umbraco
ExamineIndex.config
<ExamineLuceneIndexSets>
<!-- The internal index set used by Umbraco back-office - DO NOT REMOVE -->
<IndexSet SetName="InternalIndexSet" IndexPath="~/App_Data/TEMP/ExamineIndexes/Internal/">
<IndexAttributeFields>
<add Name="id" />
<add Name="nodeName" />
<add Name="updateDate" />
<add Name="writerName" />
<add Name="path" />
<add Name="nodeTypeAlias" />
<add Name="parentID" />
</IndexAttributeFields>
<IndexUserFields />
<IncludeNodeTypes/>
<ExcludeNodeTypes />
</IndexSet>
<!-- The internal index set used by Umbraco back-office for indexing members - DO NOT REMOVE -->
<IndexSet SetName="InternalMemberIndexSet" IndexPath="~/App_Data/TEMP/ExamineIndexes/InternalMember/">
<IndexAttributeFields>
<add Name="id" />
<add Name="nodeName"/>
<add Name="updateDate" />
<add Name="writerName" />
<add Name="loginName" />
<add Name="email" />
<add Name="nodeTypeAlias" />
</IndexAttributeFields>
<IndexUserFields/>
<IncludeNodeTypes/>
<ExcludeNodeTypes />
</IndexSet>
<IndexSet SetName="DemoIndexSet" IndexPath="~/App_Data/ExamineIndexes/DemoIndex/">
<IndexAttributeFields>
<add Name="id" />
<add Name="nodeName"/>
<add Name="nodeTypeAlias" />
<add Name="parentID" />
</IndexAttributeFields>
<IndexUserFields>
<add Name="bodyText" />
<add Name="umbracoNaviHide"/>
</IndexUserFields>
<IncludeNodeTypes />
<ExcludeNodeTypes />
</IndexSet>
</ExamineLuceneIndexSets>
ExamineSettings.config
<Examine>
<ExamineIndexProviders>
<providers>
<add name="InternalIndexer" type="UmbracoExamine.UmbracoContentIndexer, UmbracoExamine"
supportUnpublished="true"
supportProtected="true"
interval="10"
analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"/>
<add name="InternalMemberIndexer" type="UmbracoExamine.UmbracoMemberIndexer, UmbracoExamine"
supportUnpublished="true"
supportProtected="true"
interval="10"
analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net"/>
<add name="DemoIndexer"
type="UmbracoExamine.UmbracoMemberIndexer, UmbracoExamine"
dataService="UmbracoExamine.DataServices.UmbracoDataService, UmbracoExamine"
indexSet="DemoIndexSet"
supportUnpublished="false"
supportProtected="false"
runAsync="true"
interval="10"
analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net" />
</providers>
</ExamineIndexProviders>
<ExamineSearchProviders defaultProvider="InternalSearcher">
<providers>
<add name="InternalSearcher" type="UmbracoExamine.UmbracoExamineSearcher, UmbracoExamine"
analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"/>
<add name="InternalMemberSearcher" type="UmbracoExamine.UmbracoExamineSearcher, UmbracoExamine"
analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net" enableLeadingWildcards="true"/>
<add name="DemoSearcher"
type="UmbracoExamine.UmbracoExamineSearcher, UmbracoExamine"
analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net"
indexSet="DemoIndexSet" />
</providers>
</ExamineSearchProviders>
</Examine>
Have you re-published your content?
As this should start the indexing of the nodes
Tom
Yes, and that made it create the examine folder structure.
Try changing the following to
to
The change is the indexer type from a memberIndexer to a Lucene Indexer
Tom
Uuh, ofcause. "UmbracoMemberIndexer"... DOH
Thanks. everything is just dandy now. :)
is working on a reply...