@Rich I restarted the webserver. No change. If I look in the ExamineIndexes/MenargWebsite/Index folder the two files in there, segments.gen and segments_1, have a datestamp of 26/08/2011
However I look in the ExamineIndexes/MenargWebsite folder, there are two files there, PS54C002.exa and PS54C002.lck that have a datestamp of today (29/08/2011)
But this node has some different settings than the normal content indexers, more specifically the 'type' and 'analyzer' settings are different.
I changed the value for the 'type' setting to: type="UmbracoExamine.UmbracoContentIndexer, UmbracoExamine" and the value for the 'analyzer' setting to: analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"
Examine does not index content
Hi, I have a problem with Examine, it doesn't index anything. If I look in an index file, the only thing that's there is:
"ÿÿÿ÷ 9µ;J o&TB"
I have configured my IndexSet like this:
<!-- Custom index set for searching the menarg website -->
<IndexSet SetName="MenargIndexSet" IndexPath="~/App_Data/TEMP/ExamineIndexes/MenargWebsite/">
<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>
Is there something wrong with this configuration?
Thanks for your help,
Anthony
Hey,
Did you remember to add the provider into /config/ExamineSettings.config as well?
Rich
Hi Rich,
Yes, I added it:
<add name="MenargSearcher" type="UmbracoExamine.UmbracoExamineSearcher, UmbracoExamine"
analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net" indexSet="MenargIndexSet" enableLeadingWildcards="true" />
Hmm, anything relevant in the umbraco log table?
Rich
And your indexer? Did you add that one as well?
Cheers,
/Dirk
Hi Dirk,
Yes, I added the indexer as well:
<add name="MenargIndexer" type="UmbracoExamine.UmbracoMemberIndexer, UmbracoExamine"
supportUnpublished="false"
supportProtected="true"
interval="10"
analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net" />
@Rich, no I don't find anything relevant in the umbracoLog table
Even when you publish your nodes?
Also did you restart the site after you made the config changes?
Rich
@Rich I restarted the webserver. No change. If I look in the ExamineIndexes/MenargWebsite/Index folder the two files in there, segments.gen and segments_1, have a datestamp of 26/08/2011
However I look in the ExamineIndexes/MenargWebsite folder, there are two files there, PS54C002.exa and PS54C002.lck that have a datestamp of today (29/08/2011)
phew, found it, I mistakenly copied the InternalMemberIndexer node:
<add name="InternalMemberIndexer" type="UmbracoExamine.UmbracoMemberIndexer, UmbracoExamine"
supportUnpublished="true"
supportProtected="true"
interval="10"
analyzer="Lucene.Net.Analysis.Standard.StandardAnalyzer, Lucene.Net"/>
But this node has some different settings than the normal content indexers, more specifically the 'type' and 'analyzer' settings are different.
I changed the value for the 'type' setting to: type="UmbracoExamine.UmbracoContentIndexer, UmbracoExamine"
and the value for the 'analyzer' setting to: analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"
and now it works :)
is working on a reply...