{"action":"created","issue":{"url":"https://api.github.com/repos/NodeBB/NodeBB/issues/3316","labels_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/3316/labels{/name}","comments_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/3316/comments","events_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/3316/events","html_url":"https://github.com/NodeBB/NodeBB/issues/3316","id":94623285,"number":3316,"title":"Search algorithm limited","user":{"login":"jbob182","id":1146681,"avatar_url":"https://avatars.githubusercontent.com/u/1146681?v=3","gravatar_id":"","url":"https://api.github.com/users/jbob182","html_url":"https://github.com/jbob182","followers_url":"https://api.github.com/users/jbob182/followers","following_url":"https://api.github.com/users/jbob182/following{/other_user}","gists_url":"https://api.github.com/users/jbob182/gists{/gist_id}","starred_url":"https://api.github.com/users/jbob182/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbob182/subscriptions","organizations_url":"https://api.github.com/users/jbob182/orgs","repos_url":"https://api.github.com/users/jbob182/repos","events_url":"https://api.github.com/users/jbob182/events{/privacy}","received_events_url":"https://api.github.com/users/jbob182/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-07-13T02:28:49Z","updated_at":"2015-07-16T20:12:26Z","closed_at":null,"body":"NodeBB has been serving us at the FOG project fairly well, however the single largest complaint we receive from our user base, and even our own development team, is the search capabilities or lack there of. A robust search algorithm is crucial for a forums that is used for debugging issues people have with their FOG servers. The current search setup only works if you know the exact terms to search, and even then a word-for-word search of the title won't even populate the correct topics. Often times generic and ambiguous search terms will need to be used to find anything semi-relevant.\r\n\r\nSee https://forums.fogproject.org/topic/4962/ambiguous-search-terms for an example. \r\n\r\nWhile this may not technically qualify as a \"bug\" I would say its a lacking area that needs attention."},"comment":{"url":"https://api.github.com/repos/NodeBB/NodeBB/issues/comments/122075157","html_url":"https://github.com/NodeBB/NodeBB/issues/3316#issuecomment-122075157","issue_url":"https://api.github.com/repos/NodeBB/NodeBB/issues/3316","id":122075157,"user":{"login":"julianlam","id":923011,"avatar_url":"https://avatars.githubusercontent.com/u/923011?v=3","gravatar_id":"","url":"https://api.github.com/users/julianlam","html_url":"https://github.com/julianlam","followers_url":"https://api.github.com/users/julianlam/followers","following_url":"https://api.github.com/users/julianlam/following{/other_user}","gists_url":"https://api.github.com/users/julianlam/gists{/gist_id}","starred_url":"https://api.github.com/users/julianlam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/julianlam/subscriptions","organizations_url":"https://api.github.com/users/julianlam/orgs","repos_url":"https://api.github.com/users/julianlam/repos","events_url":"https://api.github.com/users/julianlam/events{/privacy}","received_events_url":"https://api.github.com/users/julianlam/received_events","type":"User","site_admin":false},"created_at":"2015-07-16T20:12:26Z","updated_at":"2015-07-16T20:12:26Z","body":"Okay, so I've been playing around with some language detection and stemmer libraries for Node.js (`languagedetect` and `natural`, if you were wondering), and while the input text can be stemmed properly if a supported language is detected, I can't know for certain what language a user _conducting a search_ is using.\r\n\r\nFor example, `natural` ships with English, Russian, and Spanish stemmers. I can stem the input text (so things like `details` is truncated to `detail`), but when a search is conducted, I won't know to apply the proper stemmer since I don't know what language the query is conducted in.\r\n\r\nSo then we'd run into issues where, let's say, Spanish content wouldn't be searchable because the English-stemmed query wouldn't match any indexed items (as they've all been stemmed as Spanish)."}}