{"action":"created","issue":{"url":"https://api.github.com/repos/pat/thinking-sphinx/issues/957","labels_url":"https://api.github.com/repos/pat/thinking-sphinx/issues/957/labels{/name}","comments_url":"https://api.github.com/repos/pat/thinking-sphinx/issues/957/comments","events_url":"https://api.github.com/repos/pat/thinking-sphinx/issues/957/events","html_url":"https://github.com/pat/thinking-sphinx/issues/957","id":114544614,"number":957,"title":"Partial word search issue, possibly related to german Umlaut","user":{"login":"ncri","id":16925,"avatar_url":"https://avatars.githubusercontent.com/u/16925?v=3","gravatar_id":"","url":"https://api.github.com/users/ncri","html_url":"https://github.com/ncri","followers_url":"https://api.github.com/users/ncri/followers","following_url":"https://api.github.com/users/ncri/following{/other_user}","gists_url":"https://api.github.com/users/ncri/gists{/gist_id}","starred_url":"https://api.github.com/users/ncri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncri/subscriptions","organizations_url":"https://api.github.com/users/ncri/orgs","repos_url":"https://api.github.com/users/ncri/repos","events_url":"https://api.github.com/users/ncri/events{/privacy}","received_events_url":"https://api.github.com/users/ncri/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-02T08:01:35Z","updated_at":"2015-11-02T10:20:20Z","closed_at":null,"body":"We have a strange partial word search issue:\r\n\r\n```ruby\r\nOrganization.search(\"Universitä\").map(&:name)\r\n=> [\"UniversitätsSpital ... \", \"Universitätskliniken ...\", \"Universitätsspital ...\", \"... Universität ...\", \"... Universität ...\", \"... Universität ...\", ...] \r\n```\r\n\r\nThat is correct so far, we expect those results due to partial word matches.\r\nHowever\r\n\r\n```ruby\r\nOrganization.search(\"Universität\").map(&:name)\r\n=> [\"... Universität ...\", \"... Universität ...\", \"... Universität ...\"] \r\n```\r\n\r\nonly gives us results with the full word \"Universität\" in it, not those with longer words containing \"Universität\", as in the previous query. With \"Universitäts\" we don't get those longer word results either:\r\n\r\n```ruby\r\nOrganization.search(\"Universitäts\").map(&:name)\r\n=> [] \r\n```\r\n\r\nHowever, when searching for \"Universitätss\" we suddenly do get the correct results again:\r\n\r\n```ruby\r\nOrganization.search(\"Universitätss\").map(&:name)\r\n=> [\"UniversitätsSpital ... \", \"Universitätskliniken ...\", \"Universitätsspital ...\"] \r\n```\r\n\r\nAny idea how to fix this? We need to always get ALL results containing \"Universität\" when searching for \"Universität\", as expected.\r\n\r\nHere is our config:\r\n\r\n```yaml\r\n  version: 2.1.1-beta\r\n  charset_table: \"/, ., -, 0..9, A..Z->a..z, _, a..z, U+C0..U+DF->U+E0..U+FF, U+E0..U+FF\"\r\n  enable_star: true\r\n  min_infix_len: 3\r\n  dict: keywords\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pat/thinking-sphinx/issues/comments/152978801","html_url":"https://github.com/pat/thinking-sphinx/issues/957#issuecomment-152978801","issue_url":"https://api.github.com/repos/pat/thinking-sphinx/issues/957","id":152978801,"user":{"login":"ncri","id":16925,"avatar_url":"https://avatars.githubusercontent.com/u/16925?v=3","gravatar_id":"","url":"https://api.github.com/users/ncri","html_url":"https://github.com/ncri","followers_url":"https://api.github.com/users/ncri/followers","following_url":"https://api.github.com/users/ncri/following{/other_user}","gists_url":"https://api.github.com/users/ncri/gists{/gist_id}","starred_url":"https://api.github.com/users/ncri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncri/subscriptions","organizations_url":"https://api.github.com/users/ncri/orgs","repos_url":"https://api.github.com/users/ncri/repos","events_url":"https://api.github.com/users/ncri/events{/privacy}","received_events_url":"https://api.github.com/users/ncri/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T10:20:20Z","updated_at":"2015-11-02T10:20:20Z","body":"seems to work now, i cleaned files in db/sphinx/development"}}