Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
I Am Seeing Issue When Running A Script With Command As

i am seeing issue when running a script with command as python -m test.scripts.script to be scheduled as task in trains. Trains doesn't pickup the last script part and hence execution fails with error .trains/venvs-builds/3.7/bin/python: No module named test.scripts.__main__; 'test.scripts' is a package and cannot be directly executed

Posted 3 years ago
Votes Newest

Answers 2

Hi PompousParrot44
What do you have in the Execution/"script path" ?

Posted 3 years ago

there are multiple scripts under test/scripts folder.. example is running one script from that folder

Posted 3 years ago