We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This seems closely related to #377 but opening a new issues as that one is closed.
Getting "expected struct HitsTotal" issue with this on elasticsearch 6.7 (and the following versions for both elastic and elastic_derive crates).
(Parse(ParseError { inner: Error(\"invalid type: integer `0`, expected struct HitsTotal\", line: 11, column: 16) }))
#[derive(Clone, Debug, Serialize, Deserialize, ElasticType)] pub struct PortfolioIdListing { pub id: String, pub idlisting: types::IdListing, } let response = esc .search::<es_models::PortfolioIdListing>() .index(EsIndex::Portfolio.name()) .body(json!({ "query": { "bool": { "must": { // -1 is what the JS import script sets them to by default "term": { "pf_likes": -1 }, }, "must_not": { "terms": { "idlisting": exclude }, }, } }, "size": Value::Number(BATCH_SIZE.into()), "_source": ["id", "idlisting"] })) .send()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This seems closely related to #377 but opening a new issues as that one is closed.
Getting "expected struct HitsTotal" issue with this on elasticsearch 6.7 (and the following versions for both elastic and elastic_derive crates).
Relevant code
The text was updated successfully, but these errors were encountered: