Project: getPut
for import/export, javascript
for examples and utilities. Both for use with Lucidworks Fusion.
The getPut directory contains utilities useful when getting or putting objects and artifacts from/to Fusion. It can be used to back up, restore, or migrate a Fusion App.
- 29 Aug 2018 Initial release
- 15 Oct 2018 - Add the
relatedObjects=false
flag when using PUT on collections in order to avoid extra Profile and Pipeline creation. Also add--ignoreExternal
arg toputApp.py
allowing an import to skip external collection config. This can be used to avoid creation and configset update for external collections which may not be maintained via Fusion. - 15 Nov 2018 Add support in
putApp
for declaring a varFile containing replacement tokens usefull in password injection.
The javascript directory contains sample Index and Query Pipeline JavaScript stages along with a set of shared utility functions intended to be accessed via Fusion's blob store and used by JavaScript stages.
25 Sep 2018 - Add mime-type checks in util.queryHtp2String()
and (implicitly) util.queryHttp2Json()
. Mime-Typs of application/json
or starting with text
are processed by util.queryHttp2String()
14 Sep 2018 - Wire in Maven to minify utilLib.js
and loadBlobScript.js
. Note, the minified loadBlobScript functions still need to be copy/pasted into utilLib.js
if modified.
10 Sep 2018 - Add util.exec()
and util.execAndBuffer()
for executing shell process via stage script.
29 Aug 2018 - Initial release
18 Oct 2018 - Add contact info
24 Oct 2018 - Add --keep param to getApp.py
. This allows export of selected signals collections.
The ideas for the getPut scripts originated with the import-export scripts
at https://github.com/lucidworks/fusion-examples. The need to simplify
just what got exported lead to the prefixing paradigm in the 3.x based
getProject
and putProject
scripts. At the same time, Python was used
instead of bash for ease of use in processing .json results and debug capability.
The sharable utilLib.js and pipeline templates grew out of a Blog post I made in late 2017. https://lucidworks.com/2017/08/16/fusion-javascript-shared-scripts-utility-functions-unit-tests/
If you would like more information about the content on this site, contact:
- Patrick Hoeffel, patrick.hoeffel@lucidworks.com
- Andrew Shumway, andrew.shumway@lucidworks.com