Copied to clipboard

Flag this post as spam?

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


  • Niclas Schumacher 67 posts 87 karma points
    Sep 27, 2013 @ 11:05
    Niclas Schumacher
    0

    Examine indexer not saving index

    Hallo guys! 
    I've made my own indexer, and it works fine on my test umbraco site. But when i transfered it over to the "real" testsite, it dosn't index anything. When i go into examine inspector nothing is stored. 

    I have a field i put on the index myself via GatheringNodeDataHandler, and by debugging that usercontrol, i can see that the indexer IS running, but somehow not saving the indexed content- 

    Anyone who knows how i can solve this ? 

    a bouns question, can i update Lucene reference in my umbraco solution without much trouble ? i'd like to get a hold on the shingle functionality :) 

    Happy friday to you guys!

  • Niclas Schumacher 67 posts 87 karma points
    Sep 27, 2013 @ 13:32
    Niclas Schumacher
    0

    Solved it, it was because there was a error in the GatheringNodeDatHandler. It seems that the index stops if it hits and error. :/ 
    - though, i couldn't find it at first with debug, though later i got the error in the debug.. There was many nodes, so, it took some time to pop up.. 

  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Sep 27, 2013 @ 13:38
    Ismail Mayat
    0

    Niclas,

    Always wrap stuff in gatheringnode data with a try catch then log the error.

    Regards

    Ismail

  • Niclas Schumacher 67 posts 87 karma points
    Sep 27, 2013 @ 13:39
    Niclas Schumacher
    0

    I did ;)

Please Sign in or register to post replies

Write your reply to:

Draft