Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Andrew Waegel 126 posts 126 karma points
    Nov 09, 2010 @ 20:06
    Andrew Waegel
    0

    No results for internal / backend search

    Hello,

    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>
  • Rich Green 2246 posts 4008 karma points
    Nov 09, 2010 @ 21:31
    Rich Green
    0

    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-

    Rich

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Nov 09, 2010 @ 22:06
    Aaron Powell
    0

    The backoffice search only matches against NodeName, are you searching against a valid one?

  • Andrew Waegel 126 posts 126 karma points
    Nov 09, 2010 @ 22:30
    Andrew Waegel
    0

    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.

    - Andrew

  • Damjan 12 posts 31 karma points
    Jun 11, 2013 @ 17:25
    Damjan
    0

    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 

  • Lars-Erik Aabech 350 posts 1102 karma points MVP 8x c-trib
    Oct 14, 2013 @ 15:36
    Lars-Erik Aabech
    0

    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.

     

  • Damjan 12 posts 31 karma points
    Oct 14, 2013 @ 17:07
    Damjan
    0

    Hey,

    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

    Damjan 

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies