Atlassian uses cookies to improve your browsing experience, perform analytics and research, and conduct advertising. Accept all cookies to indicate that you agree to our use of cookies on your device. Atlassian cookies and tracking notice, (opens new window)
It is possible to customize the facets displayed as well as some of the elements displayed in DatafariUI by modifying a configuration file. This configuration file is ui-config.json and is present in the public folder of the DatafariUI project.
When installed bundled with Datafari, the location of this file is:
This key prepares a new search performing. Only the BM25 search is available in production. Still, you can switch to vector search by entering the value “vector”. Hybrid search will be available later in 2025.
“aiAssistant” key
This key enables a menu entry taking the user to the Datafari AI assistant, when set to true. If set to false, the menu entry will not be displayed.
“left”, “center” and “right” keys
The left key corresponds to what is displayed in the left column of the interface.
The center key corresponds to what is displayed in the center (main) part of the interface. It contains two objects, a main object which may contain any component, and a tabs containing the declaration of tabs that are explained here: https://datafari.atlassian.net/wiki/x/J4DH8 .
The right key corresponds to what is displayed in the right column of the interface.
Each of these keys refer to an array of objects representing UI components.
Each object has a “type” property declaring the component to be instantiated as well as parameters for this component.
Is used to rename some values returned in facets. For example, you may want to rename the list of file extensions returned in your extension facet like this:
Used to specify if the title and the folder links in the result list point to the original link or to the redirection of Datafari API. Activate direct access to document may be necessary, depending on the source you crawl. For example, to access files on Windows, it is necessary to use the original document link.
It is possible to customize the facets displayed as well as some of the elements displayed in DatafariUI by modifying a configuration file. This configuration file is ui-config.json and is present in the public folder of the DatafariUI project.
When installed bundled with Datafari, the location of this file is:
This key prepares a new search performing. Only the BM25 search is available in production. Still, you can switch to vector search by entering the value “vector”. Hybrid search will be available later in 2025.
“left”, “center” and “right” keys
The left key corresponds to what is displayed in the left column of the interface.
The center key corresponds to what is displayed in the center (main) part of the interface. It contains two objects, a main object which may contain any component, and a tabs containing the declaration of tabs that are explained here: https://datafari.atlassian.net/wiki/x/J4DH8 .
The right key corresponds to what is displayed in the right column of the interface.
Each of these keys refer to an array of objects representing UI components.
Each object has a “type” property declaring the component to be instantiated as well as parameters for this component.
Is used to rename some values returned in facets. For example, you may want to rename the list of file extensions returned in your extension facet like this:
Used to specify if the title and the folder links in the result list point to the original link or to the redirection of Datafari API. Activate direct access to document may be necessary, depending on the source you crawl. For example, to access files on Windows, it is necessary to use the original document link.
It is possible to customize the facets displayed as well as some of the elements displayed in DatafariUI by modifying a configuration file. This configuration file is ui-config.json and is present in the public folder of the DatafariUI project.
When installed bundled with Datafari, the location of this file is:
Then, there is the “searchBar” key, that contains an object giving properties for the search bar and the suggesters to use in the “suggesters” array.
Two types of suggesters are supported:
BASIC
ENTITY
"queryParams" key
To customize the fields you want in Solr response to a search query.
“hotkeys” key
Some customization of hotkeys is possible through “hotkeys” object.
“mappingValues” key
Is used to rename some values returned in facets. For example, you may want to rename the list of file extensions returned in your extension facet like this:
“pdf” => “PDF file”
“html” => “Web file”
“doc” => “Word file”
…
“exportResults” key
Here you can add a new export format managed by the Datafari backend, if a new one is implemented. Currently only Excel is available.
“devMode” key
To display a banner indicating that Datafari is in development mode and that some features are not yet fully operational.