{"action":"created","issue":{"url":"https://api.github.com/repos/mauriciozaffari/mongoid_search/issues/81","labels_url":"https://api.github.com/repos/mauriciozaffari/mongoid_search/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/mauriciozaffari/mongoid_search/issues/81/comments","events_url":"https://api.github.com/repos/mauriciozaffari/mongoid_search/issues/81/events","html_url":"https://github.com/mauriciozaffari/mongoid_search/issues/81","id":32309359,"number":81,"title":"Cannot paginate or sort on search results","user":{"login":"aashish","id":133621,"avatar_url":"https://avatars.githubusercontent.com/u/133621?v=3","gravatar_id":"","url":"https://api.github.com/users/aashish","html_url":"https://github.com/aashish","followers_url":"https://api.github.com/users/aashish/followers","following_url":"https://api.github.com/users/aashish/following{/other_user}","gists_url":"https://api.github.com/users/aashish/gists{/gist_id}","starred_url":"https://api.github.com/users/aashish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aashish/subscriptions","organizations_url":"https://api.github.com/users/aashish/orgs","repos_url":"https://api.github.com/users/aashish/repos","events_url":"https://api.github.com/users/aashish/events{/privacy}","received_events_url":"https://api.github.com/users/aashish/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-04-27T11:16:42Z","updated_at":"2015-10-31T03:57:23Z","closed_at":null,"body":"Hi, \r\nI cannot use desc, asc or paginate while full_text_search.\r\nModel.full_text_search(query).desc(\"updated_at\")  is not working. \r\nAnd also cannot sort on relavence. \r\nThanks, \r\nAashish "},"comment":{"url":"https://api.github.com/repos/mauriciozaffari/mongoid_search/issues/comments/152690591","html_url":"https://github.com/mauriciozaffari/mongoid_search/issues/81#issuecomment-152690591","issue_url":"https://api.github.com/repos/mauriciozaffari/mongoid_search/issues/81","id":152690591,"user":{"login":"Shwetakale","id":6301532,"avatar_url":"https://avatars.githubusercontent.com/u/6301532?v=3","gravatar_id":"","url":"https://api.github.com/users/Shwetakale","html_url":"https://github.com/Shwetakale","followers_url":"https://api.github.com/users/Shwetakale/followers","following_url":"https://api.github.com/users/Shwetakale/following{/other_user}","gists_url":"https://api.github.com/users/Shwetakale/gists{/gist_id}","starred_url":"https://api.github.com/users/Shwetakale/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shwetakale/subscriptions","organizations_url":"https://api.github.com/users/Shwetakale/orgs","repos_url":"https://api.github.com/users/Shwetakale/repos","events_url":"https://api.github.com/users/Shwetakale/events{/privacy}","received_events_url":"https://api.github.com/users/Shwetakale/received_events","type":"User","site_admin":false},"created_at":"2015-10-31T03:57:23Z","updated_at":"2015-10-31T03:57:23Z","body":"@aashish I tried this out and it seems to be working fine. \r\n\r\n    Model.full_text_search(query).desc(\"updated_at\")\r\n\r\nreturns mongoid criteria which is expected. I am curious to know in which condition it is not working. Can you give steps to reproduce this?  "}}