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
I've just started experimenting with Sonic so apologies if I'm missing something obvious!
Using the below code I am ingesting a simple sentence then querying it with 2 different search terms. I would have expected that both return the ingested message but actually only the second query returns anything.
Why doesn't the first return any result?
// Using https://www.npmjs.com/package/sonic-channel
await sonicChannelIngest.push("messages", "userid_1", "email_id_1", "I met darren yesterday. Great fun!")
let res = await sonicChannelSearch.query("messages", "userid_1", "I met darren")
console.log(res); // []
res = await sonicChannelSearch.query("messages", "userid_1", "darren yesterday")
console.log(res); // [ 'email_id_1' ]
The text was updated successfully, but these errors were encountered:
I've just started experimenting with Sonic so apologies if I'm missing something obvious!
Using the below code I am ingesting a simple sentence then querying it with 2 different search terms. I would have expected that both return the ingested message but actually only the second query returns anything.
Why doesn't the first return any result?
The text was updated successfully, but these errors were encountered: