Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
is there a way to explicitly rebuld the examine index?
I deleted the examine index-directory, restartet IIS & the app-pool and exmine will generate its new directories with
in it and generates the .exa and .lck files BUT the queue remains empty and so the index will not be refreshed.
shuoldn't it generate a .add file in the queue for each node in the CMS? Why does this not happen? Any Ideas?
therse are my settings from the examinesettings file:
<add name="MyIndexer" type="UmbracoExamine.MemberLuceneExamineIndexer, UmbracoExamine" runAsync="true" supportUnpublished="false" supportProtected="true" interval="60" analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net" indexSet="MyIndexSet"/>
<add name="MySearcher" type="UmbracoExamine.LuceneExamineSearcher, UmbracoExamine" analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net" enableLeadingWildcards="true" indexSet="MyIndexSet"/>
and the ones in the examineIndex.config:
<IndexSet SetName="MyIndexSet" IndexPath="~/data/ExamineIndexes/de/MyIndexSet/" IndexParentId="2077"> <IndexAttributeFields> <add Name="id" /> <!-- REQUIRED --> <add Name="nodeName" /> <!-- REQUIRED --> <add Name="updateDate" /> <add Name="releaseDate" /> <add Name="contentDate" /> <add Name="writerName" /> <add Name="path" /> <add Name="nodeTypeAlias" /> <!-- REQUIRED --> <add Name="parentID"/> <add Name="niceUrl"/> <add Name="umbracoNiceUrl"/> <add Name="version"/> <add Name="pressId"/> <add Name="isAdHoc"/> </IndexAttributeFields> <IndexUserFields /> <IncludeNodeTypes /> <ExcludeNodeTypes /> </IndexSet>
I run Umbraco 4.5.2 and Examine 1.0
ok, i have it:
<add name="MyIndexer" type="UmbracoExamine.MemberLuceneExamineIndexer, UmbracoExamine"...
is wrong. it's pointing to the wrong indexer. should be:
LuceneExamineIndexer instead ( too much copy&paste i guess :-)
As far as I'm aware, to rebuild the Examine/Lucene index, you'll need to republish at least one of the content nodes - hopefully that should kick-start it?
Thats true, or just empty up the index folder. But anyway, my mistake was a wrong configuration, which didn't let the indexing start.
I knocked together a little utility you can grab it here extract the files to your usercontrols directory then in your dashboard.config add the following:
<tab caption="Umbraco examine">
When you log into the backend under developer section all your indexes will be listed with a button to rebuild next to it, clicking that will fire up the rebuild process.
Hey thats a smart idea Ismail
thanks - I'll give it a try
It'd be great if you could get that on the our.umbraco.org. It's really helpful, and I'm sure a ton of people could use it.
Released as package see http://our.umbraco.org/projects/backoffice-extensions/examine-index-admin dont forget to vote if you like it.
So the magic is done by:
that's exactly what I was looking for.
Thanks for this package.
I installed it after I added a new value to ExcludeNodeTypes in the ExamineIndex.config but found the pages of the type I had added were still being found in the search.
I rebuilt the index as instructed but found that no search results would appear until I had performed a publish of the home node and all its subpages.
Is that right?
I'm still finding my way about Examine.
Thanks Ismail it works!
I am wondering, why doesn't Umbraco update the indexes automatically when you edit and publish content..??
I am trying to implement ExamineManager.Instance.IndexProviderCollection[indexToRebuild].RebuildIndex();
When the site loads due to issue:
Can this be done please?
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted