Copied to clipboard

Flag this post as spam?

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


  • Peter Bridger 11 posts 52 karma points
    Jan 19, 2012 @ 12:05
    Peter Bridger
    0

    Using Examine + Lucene to search XML stored within a property

    I've created a custom data type and data editor which allows for quite a few things to be stored. Because of this I'm using SerializationHelper.ValueToXmlString() to serialize my object.

    My question is can/does Lucene index the XML content stored within this serialized data so that it can be searched from the public site?

    Thanks
    Pete

  • Rodion Novoselov 694 posts 859 karma points
    Jan 19, 2012 @ 12:13
    Rodion Novoselov
    0

    Hi. I suppose it should be able to do that as long as your data are stored as a "readable" text. You will just need to configure your property as to be indexed in the Examine configuration.

  • Peter Bridger 11 posts 52 karma points
    Jan 20, 2012 @ 11:05
    Peter Bridger
    0

    Thanks for your response Rodion - I was getting pretty deep with Examine, but that was quite a few months ago and the knowledge has faded from my mind.

    I don't surpose you know of any examples online where this approach is used? 

    Pete 

  • Rodion Novoselov 694 posts 859 karma points
    Jan 20, 2012 @ 11:12
    Rodion Novoselov
    0

    There was recently a blog post about using Examine in Umbraco:

    http://umbraco.com/follow-us/blog-archive/2011/9/16/examining-examine.aspx

    If you want to go deeper and catch details about how Examine/Lucene.NET works I would reccomend the following series of articles here:

    http://codeclimber.net.nz/archive/2009/08/27/how-to-get-started-with-lucene.net.aspx

Please Sign in or register to post replies

Write your reply to:

Draft