Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Elasticsearch 2.0 Support

40 views
Skip to first unread message

Alex Karpinski

unread,
Feb 16, 2016, 7:33:58 PM2/16/16
to tools-...@lists.mozilla.org
Does anyone know the state of ES 2.x support for Socorro? The socorro
mappings seem to be causing ES 2.2.0 to throw some errors. Mostly I'm
wondering if there are known issues or if I should investigate further.

Alex Karpinski

Adrian Gaudebert

unread,
Feb 18, 2016, 6:24:32 AM2/18/16
to Alex Karpinski, tools-...@lists.mozilla.org
Hello,

We have not done any work on supporting Elasticsearch 2.0. As far as I
know, we support up to version 1.7, because that's the one I'm using during
local development. In production we should be using 1.4.

My intuition tells me that the way we wrote our multi-fields mappings is
not supported by ES 2, since that syntax was deprecated in version 1.0. It
shouldn't be too hard to fix.

Anyway, any feedback, or even better, pull request you can give us will be
greatly appreciated. :)

Cheers,
Adrian
> _______________________________________________
> tools-socorro mailing list
> tools-...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/tools-socorro
>

Alex Karpinski

unread,
Feb 18, 2016, 8:57:27 AM2/18/16
to Adrian Gaudebert, tools-...@lists.mozilla.org
I dropped the current mapping into 2.2.0 and the only error appears to be
that compress is no longer supported on _source. Are there any tests I
could run to check for possible errors in queries/indexes?

Adrian Gaudebert

unread,
Feb 18, 2016, 9:02:46 AM2/18/16
to Alex Karpinski, tools-...@lists.mozilla.org
You can run all the tests in `./socorro/unittest/external/es/`, that's our
test suite for Elasticsearch. If those tests pass, you should be good to
go!
0 new messages