-
Notifications
You must be signed in to change notification settings - Fork 223
Deprecated
To issue multiple queries, use:
client.search([{
indexName: 'first index',
query: 'something',
params: {
hitsPerPage: 200
}
}, {
indexName: 'first index',
query: 'something',
params: {
hitsPerPage: 200
}
}], callback);
To issue multiple queries, use:
client.search([{
indexName: 'first index',
query: 'something',
params: {
hitsPerPage: 200
}
}, {
indexName: 'first index',
query: 'something',
params: {
hitsPerPage: 200
}
}], callback);
To issue multiple queries, use:
client.search([{
indexName: 'first index',
query: 'something',
params: {
hitsPerPage: 200
}
}, {
indexName: 'first index',
query: 'something',
params: {
hitsPerPage: 200
}
}], callback);
You can now use:
client.addUserKey(acls, {
validity: value,
maxQueriesPerIPPerHour: value,
maxHitsPerQuery: value,
indexes: value
}, callback)
client.addApiKey(['search']);
client.listApiKeys()
index.addApiKey(['search']);
index.listApiKeys()
You can now use:
index.addUserKey(acls, {
validity: value,
maxQueriesPerIPPerHour: value,
maxHitsPerQuery: value
}, callback)
forwardToSlaves
options were renamed to forwardToReplicas
.
All singular methods like index.addObject
are replaced by their plural version. This simply means that you can wrap the single object in an array, and it will work as before:
const obj = {
objectId: 'some-object',
// more things
};
index.addObjects([obj]);
All singular methods like index.addObject
are replaced by their plural version. This simply means that you can wrap the single object in an array, and it will work as before:
const obj = {
objectId: 'some-object',
// more things
};
index.addObjects([obj]);
All singular methods like index.partialUpdateObject
are replaced by their plural version. This simply means that you can wrap the single object in an array, and it will work as before:
const obj = {
objectId: 'some-object',
// more things
};
index.partialUpdateObjects([obj]);
All singular methods like index.saveObject
are replaced by their plural version. This simply means that you can wrap the single object in an array, and it will work as before:
const obj = {
objectId: 'some-object',
// more things
};
index.saveObjects([obj]);
All singular methods like index.deleteObject
are replaced by their plural version. This simply means that you can wrap the single object in an array, and it will work as before:
index.deleteObjects([objectID]);
All singular methods like index.getObject
are replaced by their plural version. This simply means that you can wrap the single object in an array, and it will work as before:
index.getObjects([objectID]);