{"id":14928,"date":"2023-08-25T06:00:00","date_gmt":"2023-08-25T06:00:00","guid":{"rendered":"https:\/\/www.directimpactsolutions.com\/?p=14928"},"modified":"2025-05-01T03:15:13","modified_gmt":"2025-05-01T03:15:13","slug":"index-corruption","status":"publish","type":"post","link":"https:\/\/www.directimpactsolutions.com\/en\/index-corruption\/","title":{"rendered":"How to Fix Index Corruption in FileMaker"},"content":{"rendered":"<h1 class=\"wp-block-heading\" style=\"font-style:normal;font-weight:400\">How to Fix Index Corruption in FileMaker<\/h1><h2 class=\"wp-block-heading has-ast-global-color-2-color has-text-color\" id=\"How-do-I-know-if-my-FileMaker-database-has-index-corruption?\">How do I know if my FileMaker database has index corruption?<\/h2><p>There are two recognizable symptoms of index corruption in a <a href=\"https:\/\/www.directimpactsolutions.com\/en\/claris-filemaker\/\">FileMaker<\/a> database:<\/p><ol start=\"1\" class=\"wp-block-list\"><li>In Find mode, you search for a term in a field you know should yield a result, but nothing comes up.<\/li>\n\n<li>In Browse mode, you have a portal that is supposed to show some related records, but it doesn\u2019t.<\/li><\/ol><p>Suppose you have verified that both the data and the code are correct, but you cannot find a logical explanation for why one of the two symptoms above is occurring. In that case, chances are that the field you are trying to perform a find on or one of the matching fields used in the portal relationship has its index corrupted.<\/p><h2 class=\"wp-block-heading has-ast-global-color-2-color has-text-color\" id=\"What-is-an-index?-Why-would-does-index-corruption-cause-issues?\">What is an index? Why would does index corruption cause issues?<\/h2><p>Database indexes in <a href=\"http:\/\/www.claris.com\" target=\"_blank\" rel=\"noreferrer noopener\">Claris<\/a> function just like book indexes. An index of a field usually consists of an ordered list of the unique entries in that field, with pointers to the records where those entries can be found.<\/p><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"868\" height=\"884\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2023\/08\/how-indexes-help-locate-records.png\" alt=\"index corruption in FileMaker\" class=\"wp-image-14929\" style=\"width:651px;height:663px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2023\/08\/how-indexes-help-locate-records.png 868w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2023\/08\/how-indexes-help-locate-records-295x300.png 295w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2023\/08\/how-indexes-help-locate-records-768x782.png 768w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2023\/08\/how-indexes-help-locate-records-600x611.png 600w\" sizes=\"auto, (max-width: 868px) 100vw, 868px\" \/><\/figure><p class=\"has-text-align-center\">An illustration of how indexes help locate records<\/p><p>Just like book indexes, a database index can be used to locate records more quickly. In a FileMaker database, searching on an indexed field can be significantly faster than searching on a field without an index. A field is also required to have indexes:<\/p><ul class=\"wp-block-list\"><li>To be on the right side of a relationship<\/li>\n\n<li>To have value lists based on it (in theory, but we all know the <a href=\"https:\/\/filemakerhacks.com\/2012\/07\/25\/magic-value-lists\/\" target=\"_blank\" rel=\"noreferrer noopener\">magic value list trick<\/a>)<\/li>\n\n<li>To use the <strong>Auto-complete using existing values<\/strong> field control option<\/li>\n\n<li>To use the <strong>Unique value<\/strong> and <strong>Existing value<\/strong> field validation options<\/li><\/ul><p>When the index of a field is corrupted, it makes it difficult to locate records, resulting in one of the issues mentioned at the beginning of the article.<\/p><h2 class=\"wp-block-heading has-ast-global-color-2-color has-text-color\" id=\"How-do-I-fix-index-corruption-in-FileMaker?\">How do I fix index corruption in FileMaker?<\/h2><p>It is not too difficult to fix index corruption. We need to delete the corrupted index and rebuild it.<\/p><p>Here\u2019s a step-by-step on how to delete the index of a field and rebuild it:<\/p><figure class=\"wp-block-image size-full is-resized\"><img loading=\"lazy\" decoding=\"async\" width=\"632\" height=\"632\" src=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2023\/08\/how-to-delete-indexes.png\" alt=\"deleting indexes for index corruption\" class=\"wp-image-14932\" style=\"width:474px;height:474px\" srcset=\"https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2023\/08\/how-to-delete-indexes.png 632w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2023\/08\/how-to-delete-indexes-300x300.png 300w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2023\/08\/how-to-delete-indexes-150x150.png 150w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2023\/08\/how-to-delete-indexes-600x600.png 600w, https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2023\/08\/how-to-delete-indexes-100x100.png 100w\" sizes=\"auto, (max-width: 632px) 100vw, 632px\" \/><\/figure><p class=\"has-text-align-center\">How to delete indexes<\/p><ol start=\"1\" class=\"wp-block-list\"><li>Identify the field that you suspect has its index corrupted.<\/li>\n\n<li>Go to <strong>Manage Database<\/strong>, <strong>Fields<\/strong> tab. Then find the field in question.<\/li>\n\n<li>Double-click on the field to open up its configuration dialogue.<\/li>\n\n<li>Go to the <strong>Storage<\/strong> tab on the field configuration dialogue.<\/li>\n\n<li>Change the <strong>Indexing<\/strong> value to <strong>None <\/strong>AND check the <strong>Automatically create indexes as needed<\/strong> option.<\/li>\n\n<li>Save the changes made and quit <strong>Manage Database<\/strong>.<ul class=\"wp-block-list\"><li>At this point, the corrupted index has been deleted.<\/li><\/ul><\/li>\n\n<li>Find a layout where the field in question can be searched on.<\/li>\n\n<li>Enter Find mode, and perform a find with the field in question.<ul class=\"wp-block-list\"><li>With the <strong>Automatically create indexes as needed<\/strong> option checked, this will rebuild the index.<\/li><\/ul><\/li><\/ol><h2 class=\"wp-block-heading has-ast-global-color-2-color has-text-color\" id=\"Conclusion\">Conclusion<\/h2><p>Corruptions may cause your database to behave in unexpected ways. Additionally, corruption can be hard to detect using regular debugging methods. Without the awareness of corruption, it\u2019s easy to find yourself in a rabbit hole, searching for a solution that can\u2019t be found using regular methods.<\/p><p>I hope this article can help raise awareness and help you identify index corruption during your troubleshooting and fix it quickly. If you&#8217;d like to learn more from us, you can check out our <a href=\"https:\/\/www.directimpactsolutions.com\/en\/filemaker-training\/\">upcoming classes<\/a> or <a href=\"https:\/\/www.directimpactsolutions.com\/en\/filemaker-training\/\">FileMaker coaching<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>How to Fix Index Corruption in FileMaker How do I know if my FileMaker database has index corruption? There are two recognizable symptoms of index corruption in a FileMaker database: Suppose you have verified that both the data and the code are correct, but you cannot find a logical explanation for why one of the &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/www.directimpactsolutions.com\/en\/index-corruption\/\"> <span class=\"screen-reader-text\">How to Fix Index Corruption in FileMaker<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":11,"featured_media":14936,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","footnotes":""},"categories":[29],"tags":[],"class_list":["post-14928","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-low-code"],"uagb_featured_image_src":{"full":["https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2023\/08\/index-corruption-in-filemaker.jpg",2500,2000,false],"thumbnail":["https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2023\/08\/index-corruption-in-filemaker-150x150.jpg",150,150,true],"medium":["https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2023\/08\/index-corruption-in-filemaker-300x240.jpg",300,240,true],"medium_large":["https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2023\/08\/index-corruption-in-filemaker-768x614.jpg",768,614,true],"large":["https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2023\/08\/index-corruption-in-filemaker-1024x819.jpg",1024,819,true],"1536x1536":["https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2023\/08\/index-corruption-in-filemaker-1536x1229.jpg",1536,1229,true],"2048x2048":["https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2023\/08\/index-corruption-in-filemaker-2048x1638.jpg",2048,1638,true],"woocommerce_thumbnail":["https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2023\/08\/index-corruption-in-filemaker-300x300.jpg",300,300,true],"woocommerce_single":["https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2023\/08\/index-corruption-in-filemaker-600x480.jpg",600,480,true],"woocommerce_gallery_thumbnail":["https:\/\/www.directimpactsolutions.com\/wp-content\/uploads\/2023\/08\/index-corruption-in-filemaker-100x100.jpg",100,100,true]},"uagb_author_info":{"display_name":"Weihao Ding","author_link":"https:\/\/www.directimpactsolutions.com\/en\/author\/weihao-dingdirectimpactsolutions-com\/"},"uagb_comment_info":0,"uagb_excerpt":"How to Fix Index Corruption in FileMaker How do I know if my FileMaker database has index corruption? There are two recognizable symptoms of index corruption in a FileMaker database: Suppose you have verified that both the data and the code are correct, but you cannot find a logical explanation for why one of the&hellip;","_links":{"self":[{"href":"https:\/\/www.directimpactsolutions.com\/en\/wp-json\/wp\/v2\/posts\/14928","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.directimpactsolutions.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.directimpactsolutions.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.directimpactsolutions.com\/en\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/www.directimpactsolutions.com\/en\/wp-json\/wp\/v2\/comments?post=14928"}],"version-history":[{"count":6,"href":"https:\/\/www.directimpactsolutions.com\/en\/wp-json\/wp\/v2\/posts\/14928\/revisions"}],"predecessor-version":[{"id":19990,"href":"https:\/\/www.directimpactsolutions.com\/en\/wp-json\/wp\/v2\/posts\/14928\/revisions\/19990"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.directimpactsolutions.com\/en\/wp-json\/wp\/v2\/media\/14936"}],"wp:attachment":[{"href":"https:\/\/www.directimpactsolutions.com\/en\/wp-json\/wp\/v2\/media?parent=14928"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.directimpactsolutions.com\/en\/wp-json\/wp\/v2\/categories?post=14928"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.directimpactsolutions.com\/en\/wp-json\/wp\/v2\/tags?post=14928"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}