Copied to clipboard

Flag this post as spam?

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


  • Laurens 4 posts 34 karma points
    Jan 15, 2013 @ 14:12
    Laurens
    0

    searching blog with examine

    hey guys

    I am trying to create a site wide search. and for that i need to search the blog as well.
    So I created a new index to search for everything I need.
    and it works fine for everything except for my blog
    I used Luke to check the index file and they don't show up there either, while other changes do.
    has someone seen this problem before or does someone know how to fix it?

    Umbraco version: 4.11.0
    ExamineIndex.config:

    <IndexSet SetName="FrontIndexSet" IndexPath="~/App_Data/TEMP/ExamineIndexes/Front/" IndexParentId="1048">
          <IndexAttributeFields>
            <add Name="id" />
            <add Name="nodeName" />
            <add Name="updateDate" />
            <add Name="writerName" />
            <add Name="path" />
            <add Name="nodeTypeAlias" />
            <add Name="parentID" />
          </IndexAttributeFields>
          <IndexUserFields>
            <add Name="uBlogsyContentTitle" />
            <add Name="uBlogsyContentBody" />
            <add Name="uBlogsyCommentName" />
            <add Name="uBlogsyCommentMessage" />
            <add Name="uBlogsyContentSummary" />
            <add Name="introText" />
                <add Name="Name" />
                <add Name="title" />
                <add Name="menuTitle" />
                <add Name="text" />
                <add Name="intro" />
          </IndexUserFields>
          <IncludeNodeTypes>
            <add Name="Home" />
                <add Name="GridViewLevel1" />
            <add Name="uBlogsyLanding" />
            <add Name="uBlogsyPost" />
            <add Name="uBlogsyComment" />
                <add Name="GridviewLevel2" />
                <add Name="DetailPage" />
                <add Name="Contact" />
                <add Name="Customers" />
                <add Name="Downloads" />
                <add Name="Event" />
                <add Name="Events" />
                <add Name="MovieGallery" />
                <add Name="News" />
                <add Name="NewsItem" />
            <add Name="DefaultTextPage" />
            <add Name="SocialStream" />
          </IncludeNodeTypes>
          <ExcludeNodeTypes />
        </IndexSet>   
  • Ismail Mayat 4171 posts 8732 karma points MVP admin c-trib
    Jan 15, 2013 @ 18:44
    Ismail Mayat
    0

    Does the blog sit under parent 1048?

  • Laurens 4 posts 34 karma points
    Jan 16, 2013 @ 09:46
    Laurens
    0

    yes 1048 is the root of my complete website.

  • Ismail Mayat 4171 posts 8732 karma points MVP admin c-trib
    Jan 16, 2013 @ 10:14
    Ismail Mayat
    100

    Is there anything in the log table? Also are you doing anything with GatheringNodeData event?  Also can you take out Indexparentid then rebuild the index see if that allows indexing of blog items.

    Regards

    Ismail

  • Laurens 4 posts 34 karma points
    Jan 17, 2013 @ 10:11
    Laurens
    0

    removing the IndexParentId did do the trik.(I don't understand why)

    but i am not sure if it is the best idea sinds i have some things in umbraco that are not part of my site.

    is there any explaination why it does not find the blog when i add a parent id?

  • Ismail Mayat 4171 posts 8732 karma points MVP admin c-trib
    Jan 17, 2013 @ 10:36
    Ismail Mayat
    0

    I think it may be bug have a look at codeplex issues section.  If you want to ignore other parts of your site then ensure those types are added to exclude aliases in the examine config, alternatively you could update your search query to ignore anything that has a certain parentid the parent id will be in the path field. One thing to note the path will need to be made searchable see http://thecogworks.co.uk/blog/posts/2012/november/examiness-hints-and-tips-from-the-trenches-part-2/ on how to use gatheringnodedata event to make path searchable

    Regards

    Ismail

  • Abdul Raheem 17 posts 61 karma points
    Dec 19, 2014 @ 16:12
    Abdul Raheem
    0

    Hi, I am facing the same problem, How did you imlemented search ?
    I wanted to itegrate ublogsy with my site search, search is working fine, but i never shows any link to the blog. 

  • Abdul Raheem 17 posts 61 karma points
    Dec 26, 2014 @ 18:32
    Abdul Raheem
    0

    Hi i have implemented the search and is searching blog content, but now the issue is "whenever i update blog content indexes are not updated" but on the other hand any update in the content from the rest of the websites indexes are updated. It doesnot work when after rebuilding the indexex, it only works when i delete the indexes.

    Can any one guide me why i ma facing this issue.

Please Sign in or register to post replies

Write your reply to:

Draft