Install

Works with Drupal: ^10 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 70.53 KB
MD5: 8688e6fd39ce417cda0bcd04537d8bdd
SHA-1: b510f1c11908019c35cfcf254a81aff323cfc839
SHA-256: a87eea7c3307c507794df128417e75737742af517109aa2ad521a183b6dfbb2f
Download zip 106.32 KB
MD5: 3daf0a10f8a3d82993c58663ce04f16b
SHA-1: e21583ddcc3e2427ee89376f9cc424649bffea95
SHA-256: 9372ac088e6051ffe9cc9e5ba8ab708b6de06c84a5a160d5b955f5c9a250dd51

Release notes

This is the first release of the 2.x branch of Search API Japanese Tokenizer.

In 2.x, all natural language processing is delegated to the JNLP module. This module now only bridges Search API processors to JNLP, which keeps the tokenization logic in one place and lets several Search API tokenizers share the same analyzers.

Highlights

  • NLP processing (TinySegmenter, MeCab and Sudachi) is delegated to the JNLP module. The internal analyzer, parser and test-form code has been removed from this module.
  • New Igo-php tokenizer submodule (search_api_igo_php): a pure-PHP morphological analyzer that needs no external binary.
  • Analyzer paths (the MeCab executable, the Sudachi JAR, etc.) are no longer stored in the processor settings. They are configured in settings.php via the JNLP submodules.
  • A tokenizer processor is now hidden from the Processors form when its analyzer is not available on the server.
  • Config schema and hook_requirements() checks were added for each submodule.

Requirements

  • Drupal 10 or 11, PHP 8.1 or later
  • Search API 1.37 or later
  • JNLP ^1.0 (with the submodule that matches the tokenizer you use)

Enable only the submodule for the tokenizer you need: search_api_tinysegmenter, search_api_igo_php, search_api_mecab or search_api_sudachi. MeCab and Sudachi also require their external analyzers on the server; TinySegmenter and Igo-php are pure PHP.

Upgrading from 1.x

2.x moves NLP processing to JNLP and relocates the analyzer paths to settings.php, so upgrading requires a few manual steps. See the Upgrading from 1.x section of the README / project page for the full procedure.

This is a beta release: option names and form details may still change before 2.0.0. Bug reports and feedback in the issue queue are welcome.

Created by: u7aro
Created on: 13 Jul 2026 at 09:30 UTC
Last updated: 13 Jul 2026 at 09:30 UTC
New features

Other releases