문제

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>
도움이 되었습니까?

해결책

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.

:(

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top