mirror of
https://github.com/meilisearch/meilisearch.git
synced 2024-11-27 04:25:06 +08:00
fix style
This commit is contained in:
parent
26d29783ce
commit
2d31371975
51
errors.yaml
Normal file
51
errors.yaml
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
---
|
||||||
|
errors:
|
||||||
|
- code: create_index
|
||||||
|
description: "Error relatice to index creation, check out our guide on [index creation](link.com)"
|
||||||
|
- code: existing_index
|
||||||
|
description: "An index with this name already exists, check out our guide on [index creation](link.com)"
|
||||||
|
- code: invalid_index_uid
|
||||||
|
description: "The provided index formatting is wrong, check out our guide on [index creation](link.com)"
|
||||||
|
- code: open_index
|
||||||
|
description: "An error occured while trying to open the requested index, ..."
|
||||||
|
- code: invalid_state
|
||||||
|
description: ""
|
||||||
|
- code: missing_primary_key
|
||||||
|
description: ""
|
||||||
|
- code: primary_key_already_present
|
||||||
|
description: ""
|
||||||
|
- code: max_field_limit_exceeded
|
||||||
|
description: ""
|
||||||
|
- code: missing_document_id
|
||||||
|
description: ""
|
||||||
|
- code: invalid_facet
|
||||||
|
description: ""
|
||||||
|
- code: invalid_filter
|
||||||
|
description: ""
|
||||||
|
- code: bad_parameter
|
||||||
|
description: ""
|
||||||
|
- code: bad_request
|
||||||
|
description: ""
|
||||||
|
- code: document_not_found
|
||||||
|
description: ""
|
||||||
|
- code: internal
|
||||||
|
description: ""
|
||||||
|
- code: invalid_token
|
||||||
|
description: ""
|
||||||
|
- code: maintenance
|
||||||
|
description: ""
|
||||||
|
- code: missing_authorization_header
|
||||||
|
description: ""
|
||||||
|
- code: missing_header
|
||||||
|
description: ""
|
||||||
|
- code: not_found
|
||||||
|
description: ""
|
||||||
|
- code: payload_too_large
|
||||||
|
description: ""
|
||||||
|
- code: retrieve_document
|
||||||
|
description: ""
|
||||||
|
- code: search_error
|
||||||
|
description: ""
|
||||||
|
- code: unsupported_media_type
|
||||||
|
description: ""
|
||||||
|
...
|
@ -73,7 +73,6 @@ optional = true
|
|||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tempdir = "0.3.7"
|
tempdir = "0.3.7"
|
||||||
tokio = { version = "0.2.18", features = ["macros", "time"] }
|
tokio = { version = "0.2.18", features = ["macros", "time"] }
|
||||||
serde_url_params = "0.2.0"
|
|
||||||
|
|
||||||
[dev-dependencies.assert-json-diff]
|
[dev-dependencies.assert-json-diff]
|
||||||
git = "https://github.com/qdequele/assert-json-diff"
|
git = "https://github.com/qdequele/assert-json-diff"
|
||||||
|
@ -175,7 +175,6 @@ impl SearchQuery {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/// Parses the incoming string into an array of attributes for which to return a count. It returns
|
/// Parses the incoming string into an array of attributes for which to return a count. It returns
|
||||||
/// a Vec of attribute names ascociated with their id.
|
/// a Vec of attribute names ascociated with their id.
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user