Copied to clipboard

Flag this post as spam?

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


  • Adam 2 posts 22 karma points
    May 29, 2015 @ 01:52
    Adam
    0

    Lucene/Examine index & search of database data

    Hi,

    Very new to Umbraco. Using v7 latest

    We have some custom data that we are managing within Umbraco. This data isn't in a document type, and is just in a standard database table. Access to it is via the petapoco from DatabaseContext.

    I would like to index this table so that I can search it. I can't find any articles that explain how i'd set this up. Can anyone help?

    Thanks,

    Adam

  • Dennis Aaen 4457 posts 17970 karma points admin hq c-trib
    May 29, 2015 @ 09:36
    Dennis Aaen
    0

    Hi Adam and welcome to our.

    I am not a .NET developer, but perhaps you can get an idea how you could do it by look at Ismail Mayat comment in this thread https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/50026-creating-own-index-with-examine?p=0#comment178900

    Hope this can help you a step further.

    /Dennis

  • Ismail Mayat 4511 posts 10059 karma points MVP 2x admin c-trib
    May 29, 2015 @ 10:03
    Ismail Mayat
    0

    Adam,

    If you download the source code for examine see https://github.com/Shazwazza/Examine and specfically look at the custom indexing example here https://github.com/Shazwazza/Examine/blob/master/Projects/Examine.Web.Demo/OrmReaderDataService.cs as well as explore the config settings etc you should be able to hack that and index your db table.

    Regards

    Ismail

  • Adam 2 posts 22 karma points
    Jun 01, 2015 @ 03:26
    Adam
    0

    Thanks, 

    These links helped. I seem to have it working now.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies