Drupal Search API Module
To assist in connecting a Drupal website faster with the Vragen.ai platform, we have released a Drupal module. By installing and configuring this Drupal module, you can easily modify the standard search to semantic search that retrieves results from our knowledge base.
search_api_vragen_ai (Official)
swisnl/vragenai-drupal-search-api-module (Deprecated)
Installation Steps
Install the module
Create a new “Search API” server with the backend: Vragen.ai
Create a new index for this new server and adjust the following fields:
Data sources → “Content”
Bundles for Content → The content types you want indexed.
Languages → Dutch
d. Index items immediately: “off”
(You can also leave this on, but you will deal with an HTTP request)
Configure the fields
We recommend rendering items to HTML.
This ensures that Vragen.ai takes the semantics of the HTML markup into account for the new search.
You can configure a display where you truly render only the fields you actually want indexed.
Have the entire website indexed once to build the index.
Indexing Documents
If you want to index PDF documents alongside content, it is important to also enable "Media" in data sources. Then, in the settings for the datasource, select the bundle that contains the PDFs.
Frequently Asked Questions
Why do I explicitly set "Dutch" in languages?
Vragen.ai is multilingual by default. Indexing multiple languages only results in duplicate content in the index, and this decreases the accuracy of semantic search.
I have made many changes to my website, can I delete my index all at once?
We have disabled support for completely clearing the index. We found it was often executed by accident. Building all vectors is quite an extensive process. Contact us if this is still desired.
Support
By following the above steps, you should be able to install the module and perform the necessary configuration. If you have any questions, contact our support team at info@vragen.ai.
