ACS - query with tags_array against POSTS gives no result

You must Login before you can answer or comment on any questions.

Application type : Android Native application

Tested with Curl also.

I have posts which have tags array at ACS DB.
When I query them without tags_array parameter, I can get an expected result.

Query__

$ curl -c cookies.txt -b cookies.txt -X GET --data-urlencode  'where={"coordina
tes":{"$nearSphere":[151.0857364,-33.7699934], "$maxDistance" : 0.00031392}}' "
https://api.cloud.appcelerator.com/v1/posts/query.json?key=<KEY>&limit=30"
__Result
{
        "id": "4fee4d260020442da500e817",
        "title": "place_id:4fee4a1cb685530e5a00dda0",
        "tags": [
          "coffee",
          "food"
        ],
        "created_at": "2012-06-30T00:49:42+0000",
        "updated_at": "2012-06-30T00:49:42+0000",
        "content": "#coffee #food tag test",
        "user": {
But with tags_array option there is no result.
$ curl -c cookies.txt -b cookies.txt -X GET --data-urlencode  'where={"tags_arr
ay":"coffee", "coordinates":{"$nearSphere":[151.0857364,-33.7699934], "$maxDist
ance" : 0.00031392}}' "https://api.cloud.appcelerator.com/v1/posts/query.json?k
ey=<KEY>&limit=30"
{
  "meta": {
    "code": 200,
    "status": "ok",
    "method_name": "queryPosts"
  },
  "response": {
    "posts": [
 
    ]
  }
}
I'd like to mention that this functionality worked well a couple of days ago.

— asked 11 months ago by Ken You
0 Comments

1 Answer

Accepted Answer

Can you please try again? We deloyed the new code and the index was somehow dropped. it should be fine now

— answered 11 months ago by Wei Kong
answer permalink
1 Comment
  • Thank you, Wei.

    It works now. You are really quick!

    — commented 11 months ago by Ken You

Your Answer

This question has been locked and cannot accept new answers.