New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mark 'lucene-expression' as 'provided' in pom.xml #4859
Comments
I think the main problem is when using elasticsearch as a embedded client jar, and then I agree, we should make sure its optional. I think that we will end up integrating with it though (as a script engine?), so it will be part of our full distribution eventually. I think provided will work then as well. |
agreed |
We currently pull in the lucene-expression module that is referenced by lucene-suggest. Yet, we don't make use of this dependency at all and it pulls in a bunch of unshaded libs like `antlr` and `asm` which are pretty common in other projects. We should exclude this dependency since we don't use it at all and it causes problems when Elasticsearch is used as a node client. (see #4858) If we mark the dependency as provided it won't be included in the distribution. Closes #4859 Closes #4858
We currently pull in the lucene-expression module that is referenced by lucene-suggest. Yet, we don't make use of this dependency at all and it pulls in a bunch of unshaded libs like `antlr` and `asm` which are pretty common in other projects. We should exclude this dependency since we don't use it at all and it causes problems when Elasticsearch is used as a node client. (see #4858) If we mark the dependency as provided it won't be included in the distribution. Closes #4859 Closes #4858
We currently pull in the lucene-expression module that is referenced by lucene-suggest. Yet, we don't make use of this dependency at all and it pulls in a bunch of unshaded libs like `antlr` and `asm` which are pretty common in other projects. We should exclude this dependency since we don't use it at all and it causes problems when Elasticsearch is used as a node client. (see #4858) If we mark the dependency as provided it won't be included in the distribution. Closes #4859 Closes #4858
Just an idea: Why not make a elasticsearch-client artifact which does only contain dependencies needed for client only nodes? Would that still require all those lucene dependencies? |
We currently pull in the lucene-expression module that is referenced by lucene-suggest. Yet, we don't make use of this dependency at all and it pulls in a bunch of unshaded libs like `antlr` and `asm` which are pretty common in other projects. We should exclude this dependency since we don't use it at all and it causes problems when Elasticsearch is used as a node client. (see elastic#4858) If we mark the dependency as provided it won't be included in the distribution. Closes elastic#4859 Closes elastic#4858
We currently pull in the lucene-expression module that is referenced by lucene-suggest. Yet, we don't make use of this dependency at all and it pulls in a bunch of unshaded libs like `antlr` and `asm` which are pretty common in other projects. We should exclude this dependency since we don't use it at all and it causes problems when Elasticsearch is used as a node client. (see elastic#4858) If we mark the dependency as provided it won't be included in the distribution. Closes elastic#4859 Closes elastic#4858
We currently pull in the
lucene-expression
module that is referenced bylucene-suggest
. Yet, we don't make use of this dependency at all and it pulls in a bunch of unshaded libs likeantlr
andasm
which are pretty common in other projects. We should exclude this dependency since we don't use it at all and it causes problems when Elasticsearch is used as a node client. (see #4858 )If we mark the dependency as provided it won't be included in the distribution.
The text was updated successfully, but these errors were encountered: