Calling an indexation procedure on a database that doesn't have an ES config logs a NPE
Current behaviour
If there no ES configuration on the database on which you are connected and you try to run this kind of query : CALL elasticsearch.indexAll({ batchSize:500, async:false });
, a NPE is logged in the console.
Expeted behaviour
The procedure should return an exception that says that there no ES configuration attached to the database