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
Answered
Hi, Guys. I Have Question: Where I Can Find Config File For Edit Storage Location On Disk?

Hi, guys. I have question: Where I can find config file for edit storage location on disk?

  
  
Posted 4 years ago
Votes Newest

Answers 4


SuccessfulKoala55 Ok! What best praktik to clear old data from Trains? If I remove data from /opt/trains/data, Trains not brake&

  
  
Posted 4 years ago

SuccessfulKoala55 Thank you ;) 🙌

  
  
Posted 4 years ago

/opt/trains/data contains data stored by ElasticSearch and MongoDB, which you can't delete manually (this will break each service and Trains Server as well).
You can clean up files uploaded to Trains File Server which are located in /opt/trains/data/fileserver - deleting those will simply mean the WebUI will not be able to find them when trying to display experiment data, so if you have very old files related to old experiments that you don't need any more, you can remove them from that folder.
Experiments cleanup can be done using the APIClient tool (see here: https://github.com/allegroai/trains-server/issues/53#issuecomment-660667572 ) - this will clean up both MongoDB and ElasticSearch data.

  
  
Posted 4 years ago

Hi ItchyHippopotamus18 , what exactly are you trying to configure? If you're referring to the disk usage by Trains Server, all the data is stored under the various folder inside /opt/trains/data , so mounting this to a different location or changing this value in the configuration will cause the system to place the database data in a different location

  
  
Posted 4 years ago
951 Views
4 Answers
4 years ago
one year ago
Tags