Question

I am importing some data using DIH, I'd like to use script transformer in order to perform some transformations before indexing. As the transformations are a bit complex I am using an external js library.

My question is: Is there a way to import the js library file to my DIH script?

like:

<script src="lib/proj4js.js"></script>
Était-ce utile?

La solution

Unfortunately it seems that there is no way to import js files into DIH data conf file. Here is the answer I got from solr user's mailing list:

solr-user-mailing-list

It seems that, there is no where in script transformer code, where the script import is handled.

:(

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top