You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
const ReservationsESTC = composeWithElastic({
graphqlTypeName: 'ReservationsES',
elasticIndex: 'reservations',
elasticMapping: reservationMapping,
elasticType: 'reservations',
elasticClient: new elasticsearch.Client({
host: 'http://localhost:9200',
apiVersion: '7.7',
log: 'trace',
}),
// elastic mapping does not contain information about is fields are arrays or not
// so provide this information explicitly for obtaining correct types in GraphQL
pluralFields: ['reviews', 'places', 'cities'],
});
Results in this type of post request:
But
type=...
is no longer supported in ES (7.13)#! [types removal] Specifying types in search requests is deprecated.
And results in 0 hits, while removeing the type parameter makes it work fine
The text was updated successfully, but these errors were encountered: