o19s/solr-tmdb

settings.cfg file missing

numb478 opened this issue · 2 comments

a configuration file referenced in the code is not found the repository.

file: 'ltr/train/indexMlTmdb.py '

code snippet

'config.read('settings.cfg')

44 | esUrl=config['DEFAULT']['ESHost']
45 | if len(argv) > 1:
46 | esUrl = argv[1]
'
is there any other config file which has all values required ?

epugh commented

@softwaredoug can you shed some light? Is this one of those projects that for the LTR class we need to update?

The file has since been added. However the code in question was meant for Elasticsearch so it seems odd it ended up in this repo. I've opened PR #11 to clean that up.