#How to do query on `string array` attribute??

10 messages · Page 1 of 1 (latest)

earnest mortar
#

imagine i have an attribute named hashtags which is string array of hashtags (ie, like twitter hashtags),

in query, i have to get all the docs which have "hashtag1" or "hashtag2" in its hashtags colum.

how to implement it ??

gaunt slate
#

I think that you can use Query.equal(atrb, [...hastags])

#

[hashtag1, hashtag2] means hashtag1 or hashtag2

earnest mortar
#

it does give empty result

placid ore
earnest mortar
#

But in that hack, only 1 keyword can be searched with a single query right?

#

There is no option to do "OR" on search.. right?

#

And why is the custom query option not yet available? It would give developers more freedom i guess

placid ore
placid ore