Corrupt index, checksum failed

2014-08-28 Thread Sviatoslav Abakumov
Hello. I was using Elasticsearch v1.2.2 on Ubuntu 14.04 x64 with SSD. I have one index 'myindex' with around 100k of not so complex documents plus indices that Marvel generates. Recently I started getting such kind of errors: https://gist.github.com/51aae04d077a53919c31 It looks like shards

Shards become unallocated during indexing

2014-04-29 Thread Sviatoslav Abakumov
Hello, I have a 40-shard index, currently its size is 39 GB. There's only one type in the index, and one of the fields is of nested type that holds complex documents. When I start to populate the index further, after adding about 3000 documents server becomes unavailable for some time. Then it

Use facets to group documents by index and type

2014-04-24 Thread Sviatoslav Abakumov
Hello, I'd like to get how much documents of particular index AND type, like this: {'f4': {'_type': 'terms', 'missing': 0, 'other': 0, 'terms': [{'count': 99, 'term': 'light_beer/comment'}, {'count': 99, 'term': 'dark_beer/comment'}], 'total':

Re: Use facets to group documents by index and type

2014-04-24 Thread Sviatoslav Abakumov
, Sviatoslav Abakumov abakumov.sviatos...@progforce.com wrote: Hello, I'd like to get how much documents of particular index AND type, like this: {'f4': {'_type': 'terms', 'missing': 0, 'other': 0, 'terms': [{'count': 99, 'term': 'light_beer/comment

Re: Automatically build `input` for `completion` fields?

2014-04-23 Thread Sviatoslav Abakumov
.. --Alex On Wed, Apr 2, 2014 at 10:26 AM, Sviatoslav Abakumov abakumov.sviatos...@progforce.com wrote: Hello, I have an index `facebook` with type `post`. I need to provide users with autocompletions using terms that appear in `post.message`. Also the list of completions should be sorted by score