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?
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.
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?
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
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.
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
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
is working on a reply...