novicell / relewise
Relewise
3.1.3
2026-11-09 15:11 UTC
Requires
- relewise/client: ^2.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- 3.x-dev
- 3.1.3
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.x-dev
- 2.0.19
- 2.0.18
- 2.0.17
- 2.0.16
- 2.0.15
- 2.0.14
- 2.0.13
- 2.0.12
- 2.0.11
- 2.0.10
- 2.0.9
- 2.0.8
- 2.0.7
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.2
- 2.0.1
- 2.0.0
- 1.x-dev
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- dev-feature/drupal-11-translations-part-1
- dev-fix/install-missing-entity-definitions
This package is auto-updated.
Last update: 2026-11-10 13:43:34 UTC
README
This module adds integration to the Relewise service and offers direct API access for specialized implementations.
Installation
Relewise needs two settings in order to work provided in settings.php.
- $settings['relewise.apikey'] for the API key;
- $settings['relewise.dataset'] for what dataset the site uses;
Drupal features
These features are implemented out of the box and does not require custom code to utilize.
- Entity indexing. In order to get custom fields as well an alter hook needs to implemented though.
- Content view tracking. Currently only nodes.
- User tracking with integration for permission with Cookiebot.
Relewise service
For more custom functionality the "relewise" service can be used to implement further features with the following methods:
- isSelectedForIndexing: Tells whether an entity is selected indexing in the config.
- userUpdate: Register updates to the user like logins.
- registerContentView: Register content view on an entity.
- updateContentIndex: Updates the index on a single entity.
- updateContentIndexMultiple: Updates the index on multiple entities at once.
- deleteContentIndex: Deletes an entity from the index.
- resetIndex: Deletes all content from index and queues reindexing. Warning: may lose tracking data.
- searchContent: Performs a search for content in the index.
- getSearchedContent: Transforms a search result into entities.
- getContentId: Returns a content ID used for content indexing.
API
In case more specific and custom functionality is needed there is also a service called "relewise.api" which gives direct access to the Relewise API without any adaption to Drupal.