PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Tuesday, August 23, 2022

[FIXED] How to store data in Elastic search?

 August 23, 2022     elasticsearch, magento2, vue-component, vue.js     No comments   

Issue

I am working on to store , wishlist items in server in Vue + magento setup

How to store data in elastic search ?


Solution

If u didn't disabled anything default from settings, elasticsearch does for you when a field is not stored (default) and the _source field is enabled (default too).

By default, Elasticsearch keeps a copy of all the JSON documents you offer it for indexing in a field called _source . You get a copy of this stored data on each query that matches the document. So yes: you are able to store your data in Elasticsearch and retrieve it too.

How ElasticSearch works: https://medium.com/tech-explained/can-elasticsearch-store-data-4b840308ea6f



Answered By - SC Kim
Answer Checked By - Timothy Miller (PHPFixing Admin)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing