Skip to content
  1. Extras
  2. mSearch
  3. Interface
  4. Dictionaries

Dictionaries

Tab for managing phpMorphy morphological dictionaries.

Purpose

Morphological dictionaries enable search by word forms. E.g. searching for “phones” also finds “phone”, “phones”, etc.

Available dictionaries

DictionaryLanguage
ruRussian
enEnglish
deGerman
ukUkrainian

Requirements

mSearch needs at least one morphological dictionary. Without dictionaries, word-form search will not work.

Interface

Dictionaries table

ColumnDescription
DictionaryDictionary name
LanguageLanguage
InstalledInstallation status

Actions

ButtonDescription
InstallDownload and install dictionary
RemoveRemove installed dictionary

Installing a dictionary

  1. Find the dictionary in the table
  2. Click Install
  3. Choose a download mirror
  4. Wait for the download to finish

Source

Dictionaries are downloaded from GitHub (seoservice2020/phpmorphy).

Composer package

mSearch uses the cijic/phpmorphy library — a modern phpMorphy fork installed via Composer.

After installation

After installing a new dictionary:

  1. Go to the Indexing tab
  2. Clear the existing index
  3. Rebuild the index

This ensures the new dictionary is used correctly.

File location

Dictionaries are stored in:

core/components/msearch/phpmorphy/dicts/

Each dictionary is a set of .mrd, .fsa, and meta.json files.

Without dictionaries

If no dictionaries are installed:

  • Search still works
  • Morphological analysis is off
  • Only exact and LIKE matches
  • Search quality drops

Multilingual sites

For multilingual sites install all needed dictionaries. mSearch detects the word language and uses the right dictionary.

Example

Site in Russian and English:

  1. Install russian dictionary
  2. Install english dictionary

When searching:

  • “phones” → Russian dictionary
  • “phones” → English dictionary

Dictionary sizes

DictionarySize
ru (Russian)~10 MB
en (English)~5 MB
de (German)~15 MB
uk (Ukrainian)~8 MB

Disk space

Ensure enough disk space for dictionaries.

Differences from mSearch2

AspectmSearch2mSearch
LibraryBundled phpMorphyComposer cijic/phpmorphy
SourceSourceForgeGitHub
UkrainianYesYes
EstonianYesNo
InterfaceExtJSVue 3 + PrimeVue
InstallOn component installManually in interface