Comments (4)
@jhonathas According to the Elasticsearch docs, this should only happen when you write the same document to an index twice, while specifying the ?version
parameter. The ?version
querystring parameter tells Elasticsearch to reject writes if the _version
field in the document is different than the one in the query string.
https://www.elastic.co/guide/en/elasticsearch/guide/current/optimistic-concurrency-control.html
Some questions that will help nail this down:
- What version of Elasticsearch are you using?
- Are you including
_version
in your documents? (In the Elasticsearch.Document implementations)
from elasticsearch-elixir.
Hi,
My elastic search version, is: 6.5.2.
Follow print from my document.
The example of the error that I had presented was of the ProfileDocument, but since it is giving error in others also, follows print of the document. I do not use version inside.
Taking advantage, an error that gives several times and it may be that one error has connection with the other is this error here:
Thank you very much for the help
from elasticsearch-elixir.
The error continues. From what I saw the error happens here -
And when it goes from there, it gives error here -
These are the 2 code locations that time out.
I tried to do this in the store:
@impl true
def transaction (fun) do
{: ok, result} = Repo.transaction(fun, pool_timeout: :infinity, timeout: :infinity)
result
end
But it did not resolve.
I am indexing 964,000 lines from postgres.
Any idea?
from elasticsearch-elixir.
@jhonathas I'm sorry you're still experiencing this issue. Unfortunately, I don't have a clear idea what might be causing it. :-( Happy for anyone to help with this who can.
from elasticsearch-elixir.
Related Issues (20)
- Aggregations are not returned when searching.
- support for embedded schema HOT 1
- Update release HOT 4
- Index.starting_with/2 returning unauthorized.
- Raw query search bug
- Different HTTP Client? HOT 2
- Indexing with hot_swap or build always fails with `Malformed content, found extra data after parsing: START_OBJECT` HOT 8
- New release with latest code? HOT 1
- DELETE with a body
- TLS CLIENT ALERT: Fatal - Unknown CA HOT 2
- ES8 compatibility mode with ES7
- Timeout while fetching cluster config HOT 2
- Reloading Indexes on New Record Insertion in DB HOT 4
- Release 1.0.1 HOT 2
- Deleting with a body HOT 1
- Failed to run cli app HOT 1
- question: Is custom index aliasing and searching possible?
- Get document on a given index
- bash in the wrapper script
- Elasticsearch.API.AWS doesn't work on OTP 24 HOT 1
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 elasticsearch-elixir.