{"action":"created","issue":{"url":"https://api.github.com/repos/praeclarum/sqlite-net/issues/426","repository_url":"https://api.github.com/repos/praeclarum/sqlite-net","labels_url":"https://api.github.com/repos/praeclarum/sqlite-net/issues/426/labels{/name}","comments_url":"https://api.github.com/repos/praeclarum/sqlite-net/issues/426/comments","events_url":"https://api.github.com/repos/praeclarum/sqlite-net/issues/426/events","html_url":"https://github.com/praeclarum/sqlite-net/issues/426","id":160084852,"number":426,"title":"FTS4 search returning only exact words.","user":{"login":"dpedrinha","id":14824799,"avatar_url":"https://avatars.githubusercontent.com/u/14824799?v=3","gravatar_id":"","url":"https://api.github.com/users/dpedrinha","html_url":"https://github.com/dpedrinha","followers_url":"https://api.github.com/users/dpedrinha/followers","following_url":"https://api.github.com/users/dpedrinha/following{/other_user}","gists_url":"https://api.github.com/users/dpedrinha/gists{/gist_id}","starred_url":"https://api.github.com/users/dpedrinha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpedrinha/subscriptions","organizations_url":"https://api.github.com/users/dpedrinha/orgs","repos_url":"https://api.github.com/users/dpedrinha/repos","events_url":"https://api.github.com/users/dpedrinha/events{/privacy}","received_events_url":"https://api.github.com/users/dpedrinha/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-14T02:32:48Z","updated_at":"2016-06-14T02:53:35Z","closed_at":"2016-06-14T02:52:45Z","body":"If I create my DB with:\r\n\r\nconn.CreateTable<MyModel>(CreateFlags.FullTextSearch4);\r\n\r\nAnd later do:\r\n\r\nvar tokens = mySearchBar.Text;\r\nstring query = \"SELECT * FROM MyModel WHERE MyModel MATCH '\" + tokens + \"'\";\r\nList<MyModel> result = conn.Query<MyModel>(query);\r\n\r\nIt returns only rows where the exact words where found. For example if I look for \"red\" it won't return results with \"reddish\". Only results where the exact word \"red\" are found.\r\n\r\nI don't think it is supposed to work that way. Is there a flag or something I'm missing here?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/praeclarum/sqlite-net/issues/comments/225766612","html_url":"https://github.com/praeclarum/sqlite-net/issues/426#issuecomment-225766612","issue_url":"https://api.github.com/repos/praeclarum/sqlite-net/issues/426","id":225766612,"user":{"login":"dpedrinha","id":14824799,"avatar_url":"https://avatars.githubusercontent.com/u/14824799?v=3","gravatar_id":"","url":"https://api.github.com/users/dpedrinha","html_url":"https://github.com/dpedrinha","followers_url":"https://api.github.com/users/dpedrinha/followers","following_url":"https://api.github.com/users/dpedrinha/following{/other_user}","gists_url":"https://api.github.com/users/dpedrinha/gists{/gist_id}","starred_url":"https://api.github.com/users/dpedrinha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpedrinha/subscriptions","organizations_url":"https://api.github.com/users/dpedrinha/orgs","repos_url":"https://api.github.com/users/dpedrinha/repos","events_url":"https://api.github.com/users/dpedrinha/events{/privacy}","received_events_url":"https://api.github.com/users/dpedrinha/received_events","type":"User","site_admin":false},"created_at":"2016-06-14T02:53:35Z","updated_at":"2016-06-14T02:53:35Z","body":"Sorry, it is supposed to work that way, I forgot that on my old project I added the * to the end of every search word."}}
{"actor":{"display_login":"dpedrinha"}}