Sorry for not replying for few days.
I was working on other things.
It seems problem is with realiasing indices. In this function we first
create index, then alias this index and delete all existing indices with
same alias (because we can have index with same alias) and then activating
index and set it's settings.
After this bulk operation is executed.
So the only thing that could be problem (at least in my mind :)) is that
alias operation is executed too slowly (async operation) so some documents
are indexed and then in the middle of the job realiasing is executed (which
includes deleting indices with same alias and after that indexing another
docs).
I changed this to work with changing order of bulk indexing and realiasing,
so noew I first create index and index all docs with bulk and after this
add alias to documents and eventually delete all other indices (beside
newly created) with same aliases as new index.
Question is:
Is there any change in executing or performance of alias operation in new
elasticsearch ?
I'm interested what caused this problem...
On Monday, September 9, 2013 5:40:55 PM UTC+2, aldm wrote:
Hi,
we upgraded es version from 0.20.2 to 0.90.3 and we have some troubles.
First of all, we had trouble getting terms facets using
class InternalStringTermsFacet.
'term' os returning ByteText object in new version and was returning
String in old version and we had one dependency in our application which
created problem.
I fixed taht but now there is another problem, with bulk indexing using
bulk processor.
For some reason, processor is not indexing all documents.
We had is out logs
BulkProcessor: executing bulk 1 containing 73 actions
But only 28 documents are indexed in this action. What could be problem
here?
Same code works for previous versions.
Is there any changes in bulk processor or bulk indexing in new versions (I
didn't find it on elasticsearch.org).
Thanks in advance
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.