Hi everyone, I have a case can not get data via ElasticSearch, I want to get data from iwa_bussiness in the database directly. Have any Ivy API to support this case?. Thank!

asked 28.08 at 08:51

Phuoc%20Nguyen's gravatar image

Phuoc Nguyen
11225
accept rate: 0%

Hi Alex Suter, In my case I want to get list of dossier from database directly.

(28.08 at 23:10) Phuoc Nguyen Phuoc%20Nguyen's gravatar image

See my answer below. Why do you care about this?

(29.08 at 02:36) Alex Suter ♦♦ Alex%20Suter's gravatar image

As far as you make a search with ivy.repo.search(...) you will end up an in an Elasticsearch query. If you load your business data by id with ivy.repo.find(...) there will be no Elasticsearch query. It is not possible to load a list of BusinessData directly from SystemDb.

At the end of the day, you should not care about our internals.

link

answered 29.08 at 02:35

Alex%20Suter's gravatar image

Alex Suter ♦♦
2.8k91942
accept rate: 86%

edited 29.08 at 02:35

Thank for your answer Alex Suter. My problem still not solved

(29.08 at 04:15) Phuoc Nguyen Phuoc%20Nguyen's gravatar image

We don't provide an API for that and there is no plan to provide such an API in future. What's the problem to end up with Elasticsearch?

(29.08 at 04:16) Alex Suter ♦♦ Alex%20Suter's gravatar image
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×35
×20
×9

Asked: 28.08 at 08:51

Seen: 131 times

Last updated: 29.08 at 04:16