Copied to clipboard

Flag this post as spam?

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


  • Jonas Eriksson 930 posts 1825 karma points
    Mar 01, 2010 @ 05:42
    Jonas Eriksson
    0

    No search results, problems indexing the site?

    Hi, the package seems very useful, thanks for sharing it!

    I have some problems geting started though. I installed it and tried searching, it first found stuff in content nodes as is should, but not in media.

    After installing the pdf ifilter and restarting the server nothing happened. Then I tried adding a new pdf in media, and then it was found!

    But short time of happiness, to get all pdf's indexed I tried reindexing the site... After that nothing is found, not even content. Huh!? The site is under development and only contains some 20 nodes.

    What's the difference between umbraco/reindex.aspx and your umbsearch2-reindex? 

    I did try them both, last time umbsearch2 it seems to do nothing, it finishes in 00:00:00 time. (Also I tried deleting the files in the dontdelete-folder). 

    Regards

    Jonas

  • Ismail Mayat 4288 posts 9247 karma points MVP 2x admin c-trib
    Mar 01, 2010 @ 11:45
    Ismail Mayat
    1

    Jonas,

    umbraco/reindex.aspx is to reindex internal index that will not contain media and is used as source of internal search box top left of ui.  UmbSearch2 should have its own dashboard control to reindex?  I have not used it myself but I am assuming thats how the index can be rebuilt?

    Regards

    Ismail

  • Ron Brouwer 273 posts 768 karma points
    Mar 01, 2010 @ 11:56
    Ron Brouwer
    0

    Hi Jonas,

    If the search isn’t working properly you might have to recreate your index files. You can do this by navigating to /usercontrols/umbsearch2/reindexsite.aspx.
    if you can't navigate to '/usercontrols/umbsearch2/reindexsite.aspx', there were probably not sufficient writing rights during the installation of UmbSearch2. You will have to change the line <add key="umbracoReservedPaths" value="/umbraco/" /> to <add key="umbracoReservedPaths" value="/umbraco/,/usercontrols/umbsearch2/" /> in the web.config. Normally this will be done automatically during the installation.
    If the page 'reindexsite.aspx' isn't working properly, try first deleting the folder 'usercontrols\UmbSearch2\UmbSearch2IndexDontDelete'. I know this is a nasty workaround though it's the best I can offer at the moment.

    Ron

  • Jonas Eriksson 930 posts 1825 karma points
    Mar 01, 2010 @ 12:15
    Jonas Eriksson
    0

    Ismail & Ron, thanks,

    Ok, after reading more careful, I deleted the folder usercontrols\UmbSearch2\UmbSearch2IndexDontDelete. I just deleted the files before (thought that folder deletion would cause an error such as if one deletes _systemUmbracoIndexDontDelete folder).

    The umbsearch2 index builds with progress indicator and no errors. Looks good, and three files shows up in the folder... No errors in the log. But no search results. And the controls should work with my settings, they did before (on content), until I reindexed the first time. This is strange. 

    Regards 

    Jonas

  • Ron Brouwer 273 posts 768 karma points
    Mar 01, 2010 @ 18:43
    Ron Brouwer
    0

    I'll ask Hans to help you tomorrow.

    Ron

  • Jonas Eriksson 930 posts 1825 karma points
    Mar 01, 2010 @ 21:41
    Jonas Eriksson
    0

    Great Ron, thanks!

  • Sebastiaan Janssen 4842 posts 14346 karma points MVP admin hq
    Apr 20, 2010 @ 14:14
    Sebastiaan Janssen
    0

    I've done everything mentioned here, I even checked the generated index with Luke and I can search just fine in Luke, but I get no results at all in umbsearch2. 

    I've checked the umbracoLog table and the windows event log, but no exceptions or errors are being generated, I just keep getting the message that my search generated no results. Any thoughts?

  • Ismail Mayat 4288 posts 9247 karma points MVP 2x admin c-trib
    Apr 21, 2010 @ 11:50
    Ismail Mayat
    0

    Sebastian,

    Do a search but tag the page with querystring parameter umbDebugShowTrace=true see if you are getting errors in the stack trace.

    Regards

     

    Isamil

  • Sebastiaan Janssen 4842 posts 14346 karma points MVP admin hq
    Apr 23, 2010 @ 11:07
    Sebastiaan Janssen
    0

    Thanks Ismail, nothing to see in the trace either.. 

  • Sebastiaan Janssen 4842 posts 14346 karma points MVP admin hq
    Apr 28, 2010 @ 15:12
    Sebastiaan Janssen
    0

    Never mind, I believe (not 100% sure, but that must be it), that I forgot to select the SearchStartNodeId.. #stupid

  • Jonas Eriksson 930 posts 1825 karma points
    May 20, 2010 @ 10:31
    Jonas Eriksson
    0

    I moved the site to another server and got it working. Don't know what was wrong on the first server though. Great! Now it's time to start formatting the results.

    Regards

    /Jonas

  • Sebastiaan Janssen 4842 posts 14346 karma points MVP admin hq
    May 20, 2010 @ 10:33
    Sebastiaan Janssen
    0

    Jonas, did you move from a 64 bit to a 32 bit server? I've had problems getting iFilters to work on 64 bit machines.

  • Jonas Eriksson 930 posts 1825 karma points
    May 20, 2010 @ 18:38
    Jonas Eriksson
    0

    Sebastiaan, ok thanks for the note, but the previous server was also running 32bits.

  • Jonas Eriksson 930 posts 1825 karma points
    May 21, 2010 @ 10:50
    Jonas Eriksson
    0

    The problem re-appeared when I renamed the files in my media folders. Throws an exception on save:

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Stack Trace:

    [NullReferenceException: Object reference not set to an instance of an object.]
       UmbSearch2.EventHandlers.MediaIndexer.Media_AfterSave(Media sender, SaveEventArgs e) +57
       umbraco.cms.businesslogic.media.Media.FireAfterSave(SaveEventArgs e) +27
       umbraco.cms.businesslogic.media.Media.Save() +63

    After renaming it won't find the files anymore, and re-indexing does not help.

    Regards

    Jonas

  • Jonas Eriksson 930 posts 1825 karma points
    May 21, 2010 @ 10:55
    Jonas Eriksson
    0

    I managed to rebuild complete index by deleting the indexfolder as mentioned. But still I get the error on media save, so I expect the editor to get back to me when they upload next pdf. :-)

    Luckily the source is avaliable, so I have a chance to find out what's going on.

  • Bjørn Fridal 274 posts 784 karma points
    Sep 05, 2014 @ 13:53
    Bjørn Fridal
    0

    Hi,

    I realize this is a way old thread, but one of my clients is having the same problem, as described here.

    We tried deleting the UmbSearch2IndexDontDelete folder and ran Reindexsite.aspx It ran in about 15 seconds, no errors and no searchresults. The search has been working for years, but it broke (YSOD on document/media publish) recently which when first tried deleting UmbSearch2IndexDontDelete.

    If I hit refresh in the UmbSearch2IndexDontDelete directory I see new files each time. Sometimes a couple, somestimes 40. It just keeps going like that.

    Cheers
    Bjørn  

Please Sign in or register to post replies

Write your reply to:

Draft