

All changes made using commands in transaction mode are applied at once or none of the changes are applied based on the way transaction mode is terminated.Įnter the expert shell.

Saves the configuration changes made since the last save operation. The most common operations are show, add, set, delete A feature is a group of related commands.Ĭommands have the syntax Operation feature parameter Gaia commands are organized into features. To ensure that these changes remain after you reboot, that is, to save your changes permanently, run save config at the CLI prompt. Immediately after installation, the default user name and password are admin and admin.Ĭonfiguration changes you enter using the CLI are applied immediately to the running system. Connect to the platform using a command-line connection (SSH or a console) over a TCP/IP network.The default shell of the CLI is called clish.

This chapter gives an introduction to the Gaia command line interface (CLI). Return json.Introduction to the Command Line Interface In This Chapter num_results, offset: to control the number of returned results and the offset since the first result (so pagination is possible) * this parameter is bypassed with the descriptor_values target type, as the list is automatically built with the descriptors specified in the target metric_descriptor_names*: a list of descriptor names (separated by ,) that will be used as to build the distance metric (preset will be overwritten) preset: set of descriptors that will be used to determine the similarity distance (by default 'lowlevel' preset) TODO: how to filter multidimensional featuresĪlong with target and filter other parameters can be specified: The filter is defined as a string following the same syntax as solr filter that is then parsed and translated toĪ representation that gaia can understand. Gaia index, a list of descriptors with values or the content of a file attached to a post request. The query point is defined with the target and target_type parameters, and can be either a sound id from the Gaia will sort the results by similarity according to this point), and a filter to reduce the scope of the search. This function allows the definition of a query point that will be used by gaia as the target for the search (i.e.

This function is used as an interface to all search-related gaia funcionalities we use in freesound. Def api_search(self, request, target_type=None, target=None, filter=None, preset=, metric_descriptor_names=None, num_results=, offset=, in_ids=None):
