Copied to clipboard

Flag this post as spam?

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


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • slava 9 posts 29 karma points
    Feb 02, 2015 @ 13:59
    slava
    0

    replace search engine

    Hello, I would like to use Elasticsearch with uCommerce, is there a common approach how to replace ravendb to another search engine?

  • Thomas 30 posts 163 karma points
    Feb 03, 2015 @ 15:23
    Thomas
    0

    The easiest sulotion is to completely replace RavenDB as the search engine.

    This can be done by implementing UCommerce.EntitiesV2.IRepository, and registering in the custom.config using the id "SearchRepository".

    <component id="SearchRepository"
    service="UCommerce.EntitiesV2.IRepository, UCommerce"
    type="MyNamespace.MyElasticRepository, MyDll" />

     This ensures that all changes are passed to MyElasticRepository through the SaveMany method.

     

    Kind regards

    Thomas Arvidsen

Please Sign in or register to post replies

Write your reply to:

Draft