diff --git a/CHANGELOG.md b/CHANGELOG.md index 5b85cef5..433f46ab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Sharp dependency has been updated. *It might require reinstalling yarn dependencies* - @lukeromanowicz +- Replaced index property value `not_analyzed` with `true` for `options` field in attribute schema - @adityasharma7 (#334) ### Fixed - Missing `res` and `req` parameters are now passed to ProductProcessor - @jahvi (#218) diff --git a/README.md b/README.md index 1c6027ba..bb2df976 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Besides a big improvement for the shopping experience, we also want to create a - Docker and Docker Compose Already included in `vue-storefront-api` Docker image (required locally, if you do not use containerization): -- Node.js 8.x or higher +- Node.js 10.x or higher - Yarn ## Installation @@ -82,7 +82,7 @@ This backend is using ElasticSearch data formats popularized by [ElasticSuite fo Please use data migration mechanism provided to manipulate Redis, ElasticSearch or kue. Details: https://github.com/DivanteLtd/vue-storefront-api/tree/master/doc ## Adding custom modules with own dependencies (Yarn only) -When adding custom [Extensions to the API](https://github.com/DivanteLtd/vue-storefront/blob/master/doc/Extending%20vue-storefront-api.md) you might want to define some dependencies inside them. Thanks to [Yarn workspaces](https://yarnpkg.com/lang/en/docs/workspaces/) dependecies defined inside your custom module will be intaled when you execute `yarn` at project root level, so it's way esier and faster than installing all modules dependcies separetly. +When adding custom [Extensions to the API](https://github.com/DivanteLtd/vue-storefront/blob/master/doc/Extending%20vue-storefront-api.md) you might want to define some dependencies inside them. Thanks to [Yarn workspaces](https://yarnpkg.com/lang/en/docs/workspaces/) dependencies defined inside your custom module will be installed when you execute `yarn` at project root level, so it's way easier and faster than installing all modules dependencies separately. To do this, define the `package.json` with your dependencies in your custom module: - `src/api/extensions/{your-custom-extension}/package.json` diff --git a/config/default.json b/config/default.json index 586be40a..990271cd 100644 --- a/config/default.json +++ b/config/default.json @@ -14,8 +14,6 @@ "host": "localhost", "port": 9200, "protocol": "http", - "user": "elastic", - "password": "changeme", "min_score": 0.01, "indices": [ "vue_storefront_catalog", diff --git a/config/elastic.schema.attribute.json b/config/elastic.schema.attribute.json index aae5807f..6edbabd6 100644 --- a/config/elastic.schema.attribute.json +++ b/config/elastic.schema.attribute.json @@ -10,9 +10,9 @@ "properties": { "value": { "type": "text", - "index": "not_analyzed" + "index": true } } } } -} \ No newline at end of file +}