Override the Directus internal search system with a custom search filter - supports relationships
The Search Configuration for Directus is a powerful tool designed to enhance the search capabilities within your Directus application. By allowing you to configure various search filters, it gives users the ability to perform complex queries that can significantly improve data retrieval efficiency. With features like AND/OR logic, strict equality, and case-insensitive searches, this plugin ensures that your search functionality is not only robust but also tailored to your specific collection needs.
This tool is ideal for developers looking to optimize the user experience by providing more precise and flexible search options. Although it hasn’t been published on NPM yet, you can still install it directly from GitHub to start benefiting from its advanced features.
Complex Filtering: Utilize AND/OR groups for more refined search capabilities, allowing users to combine multiple criteria.
Strict Equality Search: Ensure that searches can match exact values, which is essential for retrieving precise data.
Case-Insensitive Queries: Improve search accessibility by allowing users to search without worrying about capitalization discrepancies.
Nested Relational Searches: Expand search functionalities to include nested fields, making it easier to access related data.
Configuration Interface: Easily configure filters through a dedicated interface, simplifying the setup process for developers.
User Query Placeholder: Use $SEARCH as a dynamic placeholder for user input, streamlining the search query process.
Collection-Specific Customization: Each collection can have its unique search configuration, tailoring the search functionality to the specific needs of your data.