My initial optimism over fixing up jena-text was misplaced.

Currently,

1/ jena-fuseki-server is still 46M, not ~22M

Netty is in twice: as org/jboss/netty/ and io/netty

Half the files in Fuseki are due to ElasticSearch.

2/ It turns out that something uses reflection to trigger code that uses log4j2. Fixed with for log4j-api and log4j-to-slf4j - but what else lurks?

There is a lot of log4j2 stuff getting in (chainsaw, lf5 and more) despite the dependencies being for log4j-api and log4j-to-slf4j. It does not look too big but the question is why is it there at all.

3/ jena-text:pom.xml

says:

<!-- Skip the default running of this plug-in (or everything is run twice...see below) -->

what is the "below"?

4/ In the code

"client" is a static : is this intentional or a bug?

public TextIndexES(TextIndexConfig config, Client client, String indexName) {
        this.docDef = config.getEntDef();
        this.client = client;              <<-------Warning
        this.indexName = indexName;
    }

There is a concurrency but because the static is assigned with an unprotected:

if(client == null) {

}

        Andy

Reply via email to