{"action":"created","issue":{"url":"https://api.github.com/repos/cargomedia/cm/issues/1906","labels_url":"https://api.github.com/repos/cargomedia/cm/issues/1906/labels{/name}","comments_url":"https://api.github.com/repos/cargomedia/cm/issues/1906/comments","events_url":"https://api.github.com/repos/cargomedia/cm/issues/1906/events","html_url":"https://github.com/cargomedia/cm/pull/1906","id":105601136,"number":1906,"title":"Check if we should switch from Elastica to elasticsearch-php","user":{"login":"njam","id":360800,"avatar_url":"https://avatars.githubusercontent.com/u/360800?v=3","gravatar_id":"","url":"https://api.github.com/users/njam","html_url":"https://github.com/njam","followers_url":"https://api.github.com/users/njam/followers","following_url":"https://api.github.com/users/njam/following{/other_user}","gists_url":"https://api.github.com/users/njam/gists{/gist_id}","starred_url":"https://api.github.com/users/njam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njam/subscriptions","organizations_url":"https://api.github.com/users/njam/orgs","repos_url":"https://api.github.com/users/njam/repos","events_url":"https://api.github.com/users/njam/events{/privacy}","received_events_url":"https://api.github.com/users/njam/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cargomedia/cm/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"fvovan","id":2360687,"avatar_url":"https://avatars.githubusercontent.com/u/2360687?v=3","gravatar_id":"","url":"https://api.github.com/users/fvovan","html_url":"https://github.com/fvovan","followers_url":"https://api.github.com/users/fvovan/followers","following_url":"https://api.github.com/users/fvovan/following{/other_user}","gists_url":"https://api.github.com/users/fvovan/gists{/gist_id}","starred_url":"https://api.github.com/users/fvovan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvovan/subscriptions","organizations_url":"https://api.github.com/users/fvovan/orgs","repos_url":"https://api.github.com/users/fvovan/repos","events_url":"https://api.github.com/users/fvovan/events{/privacy}","received_events_url":"https://api.github.com/users/fvovan/received_events","type":"User","site_admin":false},"milestone":null,"comments":9,"created_at":"2015-09-09T13:53:18Z","updated_at":"2015-09-15T15:12:40Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cargomedia/cm/pulls/1906","html_url":"https://github.com/cargomedia/cm/pull/1906","diff_url":"https://github.com/cargomedia/cm/pull/1906.diff","patch_url":"https://github.com/cargomedia/cm/pull/1906.patch"},"body":"See https://github.com/elastic/elasticsearch-php\r\nMore low level API, completely sufficient for us.\r\n\r\nThey also have per-operation \"timeout\" configuration, so we could set a higher timeout for adding documents in `CM_Elasticsearch_Type_Abstract::update()` (see https://github.com/cargomedia/cm/pull/1894).\r\n\r\n@fvovan can you check if it would make sense?"},"comment":{"url":"https://api.github.com/repos/cargomedia/cm/issues/comments/140424579","html_url":"https://github.com/cargomedia/cm/pull/1906#issuecomment-140424579","issue_url":"https://api.github.com/repos/cargomedia/cm/issues/1906","id":140424579,"user":{"login":"njam","id":360800,"avatar_url":"https://avatars.githubusercontent.com/u/360800?v=3","gravatar_id":"","url":"https://api.github.com/users/njam","html_url":"https://github.com/njam","followers_url":"https://api.github.com/users/njam/followers","following_url":"https://api.github.com/users/njam/following{/other_user}","gists_url":"https://api.github.com/users/njam/gists{/gist_id}","starred_url":"https://api.github.com/users/njam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/njam/subscriptions","organizations_url":"https://api.github.com/users/njam/orgs","repos_url":"https://api.github.com/users/njam/repos","events_url":"https://api.github.com/users/njam/events{/privacy}","received_events_url":"https://api.github.com/users/njam/received_events","type":"User","site_admin":false},"created_at":"2015-09-15T15:12:40Z","updated_at":"2015-09-15T15:12:40Z","body":"SK/Usertext/Usertext.php\r\n- _setMode: Beginning of this function is a bit difficult to read. I would first do *only* option parsing. How about `$optionsDefaults`, `$options` and `$optionsOverrides` - then merge the three? ..and move `$highlightSpamwords` down to where it's used?"}}