indexer: fix missing import and argument name
- FIX Adds missing get_nearest_terms_in_idxphrase_with_collection import. Fixes the name of field argument, and returns an empty list when no model is passed. (closes #3271)
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Jacopo Notarstefano <jacopo.notarstefano@cern.ch>