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
Anyone else having problems getting results for the internal content search? I've been working with Examine a lot and have it working the way I want for external searching, but internal seach never returns any results.
- I've looked at the internal index in Luke, and it looks correct- I've deleted the internal indexes and let them be recreated- The internal member search works fine- No error in system log- Config below for internal search from ExamineSettings.config:
<add name="InternalIndexer" type="UmbracoExamine.UmbracoContentIndexer, UmbracoExamine" runAsync="true" supportUnpublished="true" supportProtected="true" interval="10" analyzer="Lucene.Net.Analysis.WhitespaceAnalyzer, Lucene.Net"/>
...and from ExamineIndex.config:
<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>
Did you upgrade to a new version of Examine by any chance?
If so see this post http://our.umbraco.org/forum/developers/extending-umbraco/13673-Help-upgrading-Examine-from-RC3-to-RTM-10-
The backoffice search only matches against NodeName, are you searching against a valid one?
Thanks Rich, that's it.
To be specific, I needed to update the SearchProvider analyzer to Lucene.Net.Analysis.Standard.StandardAnalyzer. I had already updated the indexer's analyzer but apparently that wasn't enough.
Hi,Is there a way that I can make the internam search look through other properties of Media items, other than the name?I extended the IndexSet and I can see the properties getting indexed, but I cannot see them in the search results. I was wondering where is the code that handles that? Is is in a library like umbraco.presentation.umbraco.Search.QuickSearchHandler?Damjan
Well behind on answering here, but you can prefix your search term by *, then you'll search all indexed fields.
I found out from the well hidden documentation on line 58 in QuickSearchHandler.ashx.cs in the Umbraco.Web project.// if it starts with * then search all fields.
thank you very much Lars-Erik :)I found the "*" a not so long ago and actually ended up using the "*" search to find images by their properties
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted