diff --git a/docs/data_search.md b/docs/data_search.md index 6049a3fe40ce55ef7207ae138b257c96a2cb2ccd..e21532a0d9699ee2347ff5b5fecdfe702bfe5343 100644 --- a/docs/data_search.md +++ b/docs/data_search.md @@ -431,3 +431,24 @@ For example if the user wants all observations in csv format: ```bash curl "http://localhost:8080/search/observations?a=1;2;3&f=csv" ``` + +## Search trajectory parameter (param s: not of use for a search) + +There is, for the client, an optional parameter `s`. The latter is used to check +on which step, the user is passed on `criteria`, `output` or `result` during a search through a dataset (1 if +passed, 0 if not). + +For instance, if the user passed through all of them while searching a dataset, +you will see in the search bar something like: +``` +"http://localhost:4200/instance/default/search/result/observed_spectra?s=111&a=1;3;4;5;7;8;9;11" +``` + +If you stopped at the result table, you will see: +``` +"http://localhost:4200/instance/default/search/result/observed_spectra?s=110&a=1;3;4;5;7;8;9;11" +``` + +This parameter is _not of use for a search, and can be omitted safely_ while +performing a query. We mention it here, for the sake of completeness and +clarity.