1

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>
1
  • 1
    Don't think there is an import feature. You can dump the contents of the js into the script tag and use it.
    – Jayendra
    Dec 27, 2012 at 3:44

1 Answer 1

1

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.

:(

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.