{"action":"created","issue":{"url":"https://api.github.com/repos/Stratio/cassandra-lucene-index/issues/17","repository_url":"https://api.github.com/repos/Stratio/cassandra-lucene-index","labels_url":"https://api.github.com/repos/Stratio/cassandra-lucene-index/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/Stratio/cassandra-lucene-index/issues/17/comments","events_url":"https://api.github.com/repos/Stratio/cassandra-lucene-index/issues/17/events","html_url":"https://github.com/Stratio/cassandra-lucene-index/issues/17","id":96901236,"number":17,"title":"sort not working with Map field","user":{"login":"forumjava","id":12768782,"avatar_url":"https://avatars.githubusercontent.com/u/12768782?v=3","gravatar_id":"","url":"https://api.github.com/users/forumjava","html_url":"https://github.com/forumjava","followers_url":"https://api.github.com/users/forumjava/followers","following_url":"https://api.github.com/users/forumjava/following{/other_user}","gists_url":"https://api.github.com/users/forumjava/gists{/gist_id}","starred_url":"https://api.github.com/users/forumjava/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forumjava/subscriptions","organizations_url":"https://api.github.com/users/forumjava/orgs","repos_url":"https://api.github.com/users/forumjava/repos","events_url":"https://api.github.com/users/forumjava/events{/privacy}","received_events_url":"https://api.github.com/users/forumjava/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-07-23T20:42:10Z","updated_at":"2016-06-08T06:34:00Z","closed_at":"2015-08-17T23:52:26Z","body":"Hi,\r\n\r\nTried both with 2.1.6 and 2.1.8 on difference environment but sorting over Map field does not seem to work.\r\n\r\nPlease note that sorting with other c* type as well as filter/query over map fields works fine, just that sorting over Map fields does not do anything.\r\n\r\nCreated index as:\r\n=====\r\nCREATE CUSTOM INDEX IF NOT EXISTS <index> ON <table> (<lucene index col>) USING 'com.stratio.cassandra.lucene.Index' WITH OPTIONS = {'refresh_seconds' : '60', 'schema' : '{ fields : { <Map field>: {type: \"string\"}}}'};\r\n=====\r\n\r\nAnd trying to use it as:\r\n=====\r\nselect * from <table> where <lucene index col> = '{sort: {fields: [{field:\"<map field>.<one of the fields>\"}]}}';\r\n=====\r\n\r\nHope the usage is correct."},"comment":{"url":"https://api.github.com/repos/Stratio/cassandra-lucene-index/issues/comments/224501656","html_url":"https://github.com/Stratio/cassandra-lucene-index/issues/17#issuecomment-224501656","issue_url":"https://api.github.com/repos/Stratio/cassandra-lucene-index/issues/17","id":224501656,"user":{"login":"victorbadila","id":5587522,"avatar_url":"https://avatars.githubusercontent.com/u/5587522?v=3","gravatar_id":"","url":"https://api.github.com/users/victorbadila","html_url":"https://github.com/victorbadila","followers_url":"https://api.github.com/users/victorbadila/followers","following_url":"https://api.github.com/users/victorbadila/following{/other_user}","gists_url":"https://api.github.com/users/victorbadila/gists{/gist_id}","starred_url":"https://api.github.com/users/victorbadila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victorbadila/subscriptions","organizations_url":"https://api.github.com/users/victorbadila/orgs","repos_url":"https://api.github.com/users/victorbadila/repos","events_url":"https://api.github.com/users/victorbadila/events{/privacy}","received_events_url":"https://api.github.com/users/victorbadila/received_events","type":"User","site_admin":false},"created_at":"2016-06-08T06:34:00Z","updated_at":"2016-06-08T06:34:00Z","body":"it works great on 3.0.6.2. thanks"}}
{"actor":{"display_login":"victorbadila"}}