Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Search API Solr NLP

Security covered Under active development 94 sites

Part of the Search ecosystem · 126 projects

This module enhances Search API Solr by integrating Solr's OpenNLP capabilities for natural language processing. It introduces new field types that can extract specific linguistic elements like nouns, enabling features such as auto-completion and spell checking.

Search API Solr NLP adds support for Solr's OpenNLP integration to Search API Solr.

Due to the requirement for trained models for natural language processing that might take a lot of space, this functionality encapsulated in an optional module and not included in Search API Solr itself.

Search API Solr NLP adds some new fulltext field types to Solr config sets, for example "nouns". Using this field type you can filter any text for nouns. The resulting data stored in the index is great source for features like auto complete or spell check.

Installation

This module has to be installed via composer to pull its dependencies. These contain a set of pre-trained models for different languages from apache.org. The first download ever of these files takes some time. Composer isn't fast on fetching those files. So it isn't an error when the first time download takes longer! Afterwards these files are cached.

Your Solr hosting provider must allow you to provide or upload "your" Solr config-set. Once this module is installed, the generated config-sets of Search API Solr will automatically contain all required files.

The default distribution of Solr already contains the required OpenNLP libraries.

If you use Solr Cloud you might have to adjust a zookeeper setting. one way is to set the environment variable accordingly:
SOLR_OPTS=$SOLR_OPTS -Djute.maxbuffer=50000000

Drupal 10–11

Ask your assistant about Search API Solr NLP

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Jun 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Slowing

Releases

Version Type Core PHP Release date
1.1.6 Stable 10–11 Jun 20, 2024
1.1.5 Stable 9–10 Jun 23, 2023