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
I have the following configuration:
<add name="SiteSearchIndexer" type="UmbracoExamine.UmbracoContentIndexer, UmbracoExamine"runAsync="true"supportUnpublished="true"supportProtected="true"interval="10"indexSet="SiteSearchIndexSet"analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"/>
<IndexSet SetName="SiteSearchIndexSet" IndexPath="~/App_Data/TEMP/ExamineIndexes/SiteSearch/"> <IndexAttributeFields> <add Name="id" /> <add Name="nodeName" /> <add Name="updateDate" /> </IndexAttributeFields> <IndexUserFields> <add Name="content" /> <add Name="metadescription" /> <add Name="metakeywords" /> <add Name="officeText" /> <add Name="intro" /> </IndexUserFields> <IncludeNodeTypes/> <ExcludeNodeTypes /> </IndexSet>
Here is the code I use for searching:
var provider = (LuceneSearcher)ExamineManager.Instance.SearchProviderCollection["SiteSearchSearcher"];var results = provider.Search(query, true, "");
If I search for ONE word, it works fine. If I search for two words, it never finds anything. What's wrong with my configuration?
I think this is posted in the wrong area.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Examine search configuration
I have the following configuration:
<add name="SiteSearchIndexer" type="UmbracoExamine.UmbracoContentIndexer, UmbracoExamine"
runAsync="true"
supportUnpublished="true"
supportProtected="true"
interval="10"
indexSet="SiteSearchIndexSet"
analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"/>
<IndexSet SetName="SiteSearchIndexSet" IndexPath="~/App_Data/TEMP/ExamineIndexes/SiteSearch/">
<IndexAttributeFields>
<add Name="id" />
<add Name="nodeName" />
<add Name="updateDate" />
</IndexAttributeFields>
<IndexUserFields>
<add Name="content" />
<add Name="metadescription" />
<add Name="metakeywords" />
<add Name="officeText" />
<add Name="intro" />
</IndexUserFields>
<IncludeNodeTypes/>
<ExcludeNodeTypes />
</IndexSet>
Here is the code I use for searching:
var provider = (LuceneSearcher)ExamineManager.Instance.SearchProviderCollection["SiteSearchSearcher"];
var results = provider.Search(query, true, "");
If I search for ONE word, it works fine. If I search for two words, it never finds anything. What's wrong with my configuration?
I think this is posted in the wrong area.
is working on a reply...