You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since providing an index and an analyzer is required, it would be nice to support environment variables so there can be set some defaults to the current shell environment.
Some suggestions:
ELYZER_ROOT_URL=http://server/9123 => same as --es http://server/9123
ELYZER_INDEX=myIndex => same as --index myIndex
ELYZER_ANALYZER=myAnalyzer => same as --analyzer myAnalzer`
The environment variables would be the fallback if the appropriate argument is not passed to elyzer. I.e. command line arguments "always win".
Together with #6 this would make a good fit to make this a quick and handy tool:
export ELYZER_ROOT_URL=http://server:9123
export ELYZER_INDEX=myIndex
export ELYZER_ANALYZER=myAnalyzer
$ elyzer analyze this text for me thank you
The text was updated successfully, but these errors were encountered:
Since providing an index and an analyzer is required, it would be nice to support environment variables so there can be set some defaults to the current shell environment.
Some suggestions:
ELYZER_ROOT_URL=http://server/9123
=> same as--es http://server/9123
ELYZER_INDEX=myIndex
=> same as--index myIndex
ELYZER_ANALYZER=myAnalyzer
=> same as --analyzer myAnalzer`The environment variables would be the fallback if the appropriate argument is not passed to
elyzer
. I.e. command line arguments "always win".Together with #6 this would make a good fit to make this a quick and handy tool:
The text was updated successfully, but these errors were encountered: