{"action":"created","issue":{"url":"https://api.github.com/repos/vector-im/riot-web/issues/3413","repository_url":"https://api.github.com/repos/vector-im/riot-web","labels_url":"https://api.github.com/repos/vector-im/riot-web/issues/3413/labels{/name}","comments_url":"https://api.github.com/repos/vector-im/riot-web/issues/3413/comments","events_url":"https://api.github.com/repos/vector-im/riot-web/issues/3413/events","html_url":"https://github.com/vector-im/riot-web/issues/3413","id":213548877,"number":3413,"title":"Support clientside search for e2e rooms","user":{"login":"ara4n","id":1294269,"avatar_url":"https://avatars1.githubusercontent.com/u/1294269?v=3","gravatar_id":"","url":"https://api.github.com/users/ara4n","html_url":"https://github.com/ara4n","followers_url":"https://api.github.com/users/ara4n/followers","following_url":"https://api.github.com/users/ara4n/following{/other_user}","gists_url":"https://api.github.com/users/ara4n/gists{/gist_id}","starred_url":"https://api.github.com/users/ara4n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ara4n/subscriptions","organizations_url":"https://api.github.com/users/ara4n/orgs","repos_url":"https://api.github.com/users/ara4n/repos","events_url":"https://api.github.com/users/ara4n/events{/privacy}","received_events_url":"https://api.github.com/users/ara4n/received_events","type":"User","site_admin":false},"labels":[{"id":239066469,"url":"https://api.github.com/repos/vector-im/riot-web/labels/feature","name":"feature","color":"84b6eb","default":false},{"id":254874906,"url":"https://api.github.com/repos/vector-im/riot-web/labels/p2","name":"p2","color":"fbca04","default":false},{"id":436882572,"url":"https://api.github.com/repos/vector-im/riot-web/labels/type:e2e","name":"type:e2e","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-11T18:28:03Z","updated_at":"2017-03-13T12:07:49Z","closed_at":null,"body":"We should support searching the clientside history cache for e2e rooms.  This means that history would need to be stored (or indexed) unencrypted.  And ideally we should save as much history as possible."},"comment":{"url":"https://api.github.com/repos/vector-im/riot-web/issues/comments/286089461","html_url":"https://github.com/vector-im/riot-web/issues/3413#issuecomment-286089461","issue_url":"https://api.github.com/repos/vector-im/riot-web/issues/3413","id":286089461,"user":{"login":"ara4n","id":1294269,"avatar_url":"https://avatars1.githubusercontent.com/u/1294269?v=3","gravatar_id":"","url":"https://api.github.com/users/ara4n","html_url":"https://github.com/ara4n","followers_url":"https://api.github.com/users/ara4n/followers","following_url":"https://api.github.com/users/ara4n/following{/other_user}","gists_url":"https://api.github.com/users/ara4n/gists{/gist_id}","starred_url":"https://api.github.com/users/ara4n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ara4n/subscriptions","organizations_url":"https://api.github.com/users/ara4n/orgs","repos_url":"https://api.github.com/users/ara4n/repos","events_url":"https://api.github.com/users/ara4n/events{/privacy}","received_events_url":"https://api.github.com/users/ara4n/received_events","type":"User","site_admin":false},"created_at":"2017-03-13T12:07:48Z","updated_at":"2017-03-13T12:07:48Z","body":"the algorithm isn't defined and depends on the server.  for instance, both sqlite & postgres provide different full-text-search implementations, so depending on which one your synapse is using, you'll get different results.\r\n\r\nin other words: we should use the best full-text search engine available for a given platform (without spending too much time on it). On Android I suspect the simplest solution is sqlite as per https://developer.android.com/training/search/search.html, which will end up behaving the same as on Synapse-with-Sqlite.   The code for that is around https://github.com/matrix-org/synapse/blob/develop/synapse/storage/search.py#L298\r\n\r\nFailing that, https://www.google.co.uk/search?q=android+full-text+search+library+stemming gives a bunch of alternative ideas."}}
{"actor":{"display_login":"ara4n"}}