{"action":"created","issue":{"url":"https://api.github.com/repos/ploneintranet/ploneintranet/issues/633","labels_url":"https://api.github.com/repos/ploneintranet/ploneintranet/issues/633/labels{/name}","comments_url":"https://api.github.com/repos/ploneintranet/ploneintranet/issues/633/comments","events_url":"https://api.github.com/repos/ploneintranet/ploneintranet/issues/633/events","html_url":"https://github.com/ploneintranet/ploneintranet/issues/633","id":97427354,"number":633,"title":"Search facets should be unchecked initially ","user":{"login":"cillianderoiste","id":643494,"avatar_url":"https://avatars.githubusercontent.com/u/643494?v=3","gravatar_id":"","url":"https://api.github.com/users/cillianderoiste","html_url":"https://github.com/cillianderoiste","followers_url":"https://api.github.com/users/cillianderoiste/followers","following_url":"https://api.github.com/users/cillianderoiste/following{/other_user}","gists_url":"https://api.github.com/users/cillianderoiste/gists{/gist_id}","starred_url":"https://api.github.com/users/cillianderoiste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cillianderoiste/subscriptions","organizations_url":"https://api.github.com/users/cillianderoiste/orgs","repos_url":"https://api.github.com/users/cillianderoiste/repos","events_url":"https://api.github.com/users/cillianderoiste/events{/privacy}","received_events_url":"https://api.github.com/users/cillianderoiste/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ploneintranet/ploneintranet/labels/bug","name":"bug","color":"e11d21"}],"state":"open","locked":false,"assignee":{"login":"cillianderoiste","id":643494,"avatar_url":"https://avatars.githubusercontent.com/u/643494?v=3","gravatar_id":"","url":"https://api.github.com/users/cillianderoiste","html_url":"https://github.com/cillianderoiste","followers_url":"https://api.github.com/users/cillianderoiste/followers","following_url":"https://api.github.com/users/cillianderoiste/following{/other_user}","gists_url":"https://api.github.com/users/cillianderoiste/gists{/gist_id}","starred_url":"https://api.github.com/users/cillianderoiste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cillianderoiste/subscriptions","organizations_url":"https://api.github.com/users/cillianderoiste/orgs","repos_url":"https://api.github.com/users/cillianderoiste/repos","events_url":"https://api.github.com/users/cillianderoiste/events{/privacy}","received_events_url":"https://api.github.com/users/cillianderoiste/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-07-27T09:55:21Z","updated_at":"2015-08-10T11:52:17Z","closed_at":null,"body":"With SOLR enabled:\r\n\r\n1. Create 2 Documents: \"Doc A\" with the tag TagA and \"Untagged Doc\"\r\n2. Search for \"Doc\"\r\n\r\nThe search facet for Tags will show \"TagA\" with the box checked.\r\n\r\nIf you uncheck the box, you still get two results. If you check it again you only get the document which has been tagged with TagA.\r\n\r\nI guess that all facets should be unchecked initially."},"comment":{"url":"https://api.github.com/repos/ploneintranet/ploneintranet/issues/comments/129420231","html_url":"https://github.com/ploneintranet/ploneintranet/issues/633#issuecomment-129420231","issue_url":"https://api.github.com/repos/ploneintranet/ploneintranet/issues/633","id":129420231,"user":{"login":"cillianderoiste","id":643494,"avatar_url":"https://avatars.githubusercontent.com/u/643494?v=3","gravatar_id":"","url":"https://api.github.com/users/cillianderoiste","html_url":"https://github.com/cillianderoiste","followers_url":"https://api.github.com/users/cillianderoiste/followers","following_url":"https://api.github.com/users/cillianderoiste/following{/other_user}","gists_url":"https://api.github.com/users/cillianderoiste/gists{/gist_id}","starred_url":"https://api.github.com/users/cillianderoiste/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cillianderoiste/subscriptions","organizations_url":"https://api.github.com/users/cillianderoiste/orgs","repos_url":"https://api.github.com/users/cillianderoiste/repos","events_url":"https://api.github.com/users/cillianderoiste/events{/privacy}","received_events_url":"https://api.github.com/users/cillianderoiste/received_events","type":"User","site_admin":false},"created_at":"2015-08-10T11:52:17Z","updated_at":"2015-08-10T11:52:17Z","body":"@cornae thanks, I guess that means we only include the top 8 tags, and that \"all other tags\" also includes \"no tags\", and we'll need this option for any facet which could be empty. So in the example above:\r\n\r\n1. Search for \"Doc\"\r\n2. Both \"TagA\" and \"All other tags\" are checked\r\n3. Results are \"Doc A\" and \"Untagged Doc\"\r\n4. Click Tags->\"None\"\r\n5. No results\r\n6. Check \"All other tags\"\r\n7. Get \"Untagged Doc\"\r\n8. Check \"TagA\" and uncheck \"All other tags\"\r\n9. Get \"Doc A\"\r\n\r\nI see that the tags aren't ordered alphabetically, so I guess they are ordered by popularity in the search results (but probably are ordered alphabetically where they have the same amount of results).\r\n\r\nDoes that sound right?\r\n\r\nIt seems a bit odd to me to include untagged items in the results along with less popular tags, so I hope I've understood this correctly."}}