{"componentChunkName":"component---src-templates-docs-page-index-js","path":"/docs/apps/instant-search/attributes/","result":{"data":{"site":{"siteMetadata":{"logo":"https://content.afosto.io/5719193282412544/brand/AFO-Logo-compleet-kleur-RGBat4x.png","siteUrl":"https://afosto.com","siteName":"Afosto.com","twitter":"https://twitter.com/afosto","facebook":"https://twitter.com/afosto","company":{"foundingDate":"2014","founders":["Tjeuke horsten","Peter Bakker"],"phoneNumber":"050 711 95 19","email":"support@afosto.com"},"address":{"streetAddress":"Kieler Bocht 15C","locality":"Groningen","region":"GR","postalCode":"9723 JA","country":"NL"}}},"strapi":{"doc":{"title":"Attribute management","slug":"en/docs/apps/instant-search/attributes/","id":"278","seo_title":"Managing attributes in Instant Search","seo_description":"Attributes are the individual values that appear in a document from a source. For example, if the resource is products, then the product is \"Adidas shoe green\" and the attribute is \"Product name\". ","locale":"en","localizations":[{"locale":"nl-NL","slug":"docs/apps/instant-search/attributen-beheer/"}],"blocks":[{"contents":[{"body":"Attributes are the individual values that appear in a document from a source. For example, if the resource is products, then the product is \"Adidas shoe green\" and the attribute is \"Product name\". \n\nYou can add the attributes to your resource that you think will add value to your search results. So for example, do you want to be able to filter on 'Brand'? Then add the attribute brand to your dataset.\n\nUnder settings in the app you can manage attributes. Basically, you can do 3 things with this:\n\n- Make attribute searchable or not searchable\n- Sort searchable attributes by importance\n- Make attribute visible or not visible\n\n**Make attribute searchable or not searchable**\nAn attribute is searchable if you want it to count towards the sorting of your search results. If you want people to be able to search by product name, it should be made searchable. If you don't want people to search by short description, because you don't have enough control over what's in it, then it can be placed in the column not searchable. \n\nIn the example below, we search for the title of the film 'Shawshank'. This word is in the attribute 'Title'. As you can see, it is found.\n\n![afosto.app_instant-search_view_movies_t=5719193282412544(Macbook Screenshot) (8).png](https://qcqcdn.com/afosto/afosto_app_instant_search_view_movies_t_5719193282412544_Macbook_Screenshot_8_1ad5ee1979/afosto_app_instant_search_view_movies_t_5719193282412544_Macbook_Screenshot_8_1ad5ee1979.png)\n\nTo make an attribute not searchable, go to settings in the app environment. There you select the tab 'Attributes'. Dragging attributes from the 'Searchable' column to the 'Not searchable' column will change the searchability. \n\n![afosto.app_instant-search_view_movies_t=5719193282412544(Macbook Screenshot) (9).png](https://qcqcdn.com/afosto/afosto_app_instant_search_view_movies_t_5719193282412544_Macbook_Screenshot_9_6d27787e0b/afosto_app_instant_search_view_movies_t_5719193282412544_Macbook_Screenshot_9_6d27787e0b.png)\n\nIf we then go back to the overview and search for the title 'Shawshank' again, you can see that nothing is found because the attribute 'Title' is excluded.\n\n![afosto.app_instant-search_view_movies_t=5719193282412544(Macbook Screenshot) (10).png](https://qcqcdn.com/afosto/afosto_app_instant_search_view_movies_t_5719193282412544_Macbook_Screenshot_10_3d6fe71671/afosto_app_instant_search_view_movies_t_5719193282412544_Macbook_Screenshot_10_3d6fe71671.png)\n\n\n**Sort searchable attributes by importance**\nBy dragging the attributes in the searchable column you can indicate the importance of the attributes. If the attribute product name is more important than the attribute brand, you have to make sure that title is above brand. \n\n**Make attribute visible or not visible**\nAn attribute can be visible or invisible. You can indicate this by turning the eye behind the attribute on or off. If an attribute is not visible, it will not be shown in the response of the search results. Including less data in your search results means your search results will be faster. \n\nThe example below shows the source with all visible attributes. \n\n![EN - instant search - search overview source.png](https://qcqcdn.com/afosto/NL_instant_search_zoek_overzicht_bron_6988f79bc8/NL_instant_search_zoek_overzicht_bron_6988f79bc8.png)\n\nTo make attributes not visible go to 'Settings' in the app environment and select 'Attributes' as tab. Then click on the eye behind the attribute you want to make invisible.\n\n![EN - instant search - attributes - not visible.png](https://qcqcdn.com/afosto/NL_instan_tsearch_attributen_niet_zichtbaar_dadd565e59/NL_instan_tsearch_attributen_niet_zichtbaar_dadd565e59.png)\n\nBelow you can see that attributes that are not visible have disappeared from the overview.\n\n![EN - instant search - search overview without visible attributes.png](https://qcqcdn.com/afosto/NL_instant_search_zoek_overzicht_zonder_zichtbare_attributen_34ba426003/NL_instant_search_zoek_overzicht_zonder_zichtbare_attributen_34ba426003.png)\n\n"}],"id":"759","type":"text"}]}}},"pageContext":{"slug":"en/docs/apps/instant-search/attributes/","id":278}},"staticQueryHashes":["4039036176"]}