Coder Social home page Coder Social logo

vc-module-elastic-search's Introduction

VirtoCommerce.ElasticSearch

CI status Quality gate Reliability rating Security rating Sqale rating

VirtoCommerce.ElasticSearch module implements ISearchProvider defined in the VirtoCommerce.Core module and uses Elasticsearch engine which stores indexed documents on a standalone Elasticsearch or Elastic Cloud server.

Version History

1.1.0

Installation

Installing the module:

Configuration

VirtoCommerce.Search.SearchConnectionString

The search configuration string is a text string consisting of name/value pairs seaprated by semicolon (;). Name and value are separated by equal sign (=).

For Elasticsearch provider the configuration string must have three parameters:

provider=Elasticsearch;server=localhost:9200;scope=default

For Elastic Cloud, the configuration string must have four parameters:

provider=Elasticsearch;server=https://4fe3ad462de203c52b358ff2cc6fe9cc.europe-west1.gcp.cloud.es.io:9243;scope=default;key={SECRET_KEY}
  • provider should be Elasticsearch
  • server is a network address and port of the Elasticsearch server v5.x.
  • scope is a common name (prefix) of all indexes. Each document type is stored in a separate index. Full index name is scope-documenttype. One server can serve multiple indexes.
  • user is a user name for either elastic cloud cluster or private elastic server. Optional. Default value is elastic.
  • key is a password for either elastic cloud cluster or private elastic server. Optional.

You can configure the search configuration string either in the VC Manager UI or in VC Manager web.config. Web.config has higher priority.

  • VC Manager: Settings > Search > General > Search configuration string
  • web.config: connectionStrings > SearchConnectionString:
<connectionStrings>
    <add name="SearchConnectionString" connectionString="provider=Elasticsearch;server=localhost:9200;scope=default" />
</connectionStrings>

License

Copyright (c) Virto Solutions LTD. All rights reserved.

Licensed under the Virto Commerce Open Software License (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://virtocommerce.com/opensourcelicense

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

vc-module-elastic-search's People

Contributors

akak1977 avatar alivemen avatar anivirtoway avatar artem-dudarev avatar belyakovsergey avatar kostyrin avatar ksavosteev avatar lnetrebskii avatar mvktsk avatar olegoo avatar tatarincev avatar trueboroda avatar vc-ci avatar vectorfield4 avatar wimvergouwe avatar yecli avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.