{"id":688,"date":"1997-09-09T01:36:29","date_gmt":"1997-09-09T09:36:29","guid":{"rendered":"http:\/\/www.birdhouse.org\/betips\/?p=688"},"modified":"1997-09-09T01:36:29","modified_gmt":"1997-09-09T09:36:29","slug":"queries-not-working-within-tracker","status":"publish","type":"post","link":"https:\/\/www.betips.net\/?p=688","title":{"rendered":"Queries not working within Tracker"},"content":{"rendered":"<p>I recently encountered some strange problems with BeOS: all of a sudden, all of my standard query windows were empty &#8211; no new mail, no messages to be answered or to look at any longer. I was frightened.<br \/>\nI made some checks, but the indices seemed to be okay &#8211; I tried queries from a Terminal (using the <code>query<\/code> command), and they worked as expected.<br \/>\nTracker adds a query for <code>BEOS:TYPE<\/code> to almost every query, but there is no index for this attribute on a standard system, which is perfectly okay since there are some other (indexed) attributes in the query as well.<br \/>\nSome stupid application I tried recently must have created an index for <code>BEOS:TYPE<\/code> but of course, no files were listed in there yet, so Tracker could no longer find anything.<br \/>\nOnce the problem is revealed, the solution is often very simple:<br \/>\n<code>rmindex BEOS:TYPE<\/code><br \/>\nYou can use <code>lsindex<\/code> to get a list of all indices on the current volume &#8211; try the <code>-l<\/code> option to get more information about the indices.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently encountered some strange problems with BeOS: all of a sudden, all of my standard query windows were empty &#8211; no new mail, no messages to be answered or to look at any longer. I was frightened. I made some checks, but the indices seemed to be okay &#8211; I tried queries from a [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[13],"class_list":["post-688","post","type-post","status-publish","format-standard","hentry","tag-tracker"],"_links":{"self":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts\/688","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=688"}],"version-history":[{"count":0,"href":"https:\/\/www.betips.net\/index.php?rest_route=\/wp\/v2\/posts\/688\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=688"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=688"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.betips.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=688"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}