Comments (3)
yes, actually that should be pretty easy, I will add support as soon as I find time. :)
for now consider the following workaround:
payload = create_bulk_payload(ordered_indexes)
elastic_url = ShopApi.config :elastic_url
index_name = ShopApi.config :elastic_index_name
url = "#{elastic_url}/#{index_name}/_bulk"
Elastix.HTTP.post(url, payload)
where payload
would be a concatenated string of json indexing payloads, in between and ending with an \n
the final line of data must end with a newline character \n.
from elastix.
Awesome, thanks--that worked great! Feel free to close this if you want, or keep it open until the support is added
from elastix.
Closed thanks to @FabienHenon #23
from elastix.
Related Issues (19)
- Set request headers/support non-shield authorization header? HOT 1
- Support for Document Partial Updates HOT 2
- Timeout on HTTP Request HOT 4
- Throwing away errors HOT 2
- Custom Headers/AWS auth. HOT 4
- Update the Hex repo with latest changes HOT 3
- Document.index_new is producing the wrong url HOT 3
- Release 0.5.0 dont have Count functionality in Elastix.search module HOT 1
- Elasticsearch host with path (http://myhost/namespacedir) is stripped of path (/namespacedir)
- API to update Settings HOT 1
- Search multiple indices HOT 2
- broken with latest version of HTTPoison HOT 2
- Wrong @spec for Index.exists?
- Comparison with elasticsearch-elixir? HOT 1
- Update poison version at the hex.pm
- Elasticsearch 7 Mapping HOT 7
- Is it possible to override default HTTP lib used in elastix?
- Can not perform delete without auth options
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from elastix.