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
Unanswered
Hi, I Encountered A Few Problems:


Hi AgitatedDove14 , I try to use your method( local_text_file = task.connect_configuration('filenotingit.txt') ) to access local_text_file.
But when I write with open(local_text_file,'r') as f: print(f.read()) , it print nothing at console... This's part of my code:
` task = Task.init(project_name='Example',task_name='Test')
task.execute_remotely(queue_name="Important_Queue", clone=False, exit_process=True)

config_file = os.path.join('cfg_test','cfg.txt')
config_file = task.connect_configuration(config_file)

with open(config_file, "r") as f:
print(f.read()) `Did i make any mistake?
Thanks 🙏

  
  
Posted 4 years ago
144 Views
0 Answers
4 years ago
one year ago