Issue Bug Closed

#95520indexed_search indexing letter instead of words

Eugène Fritz 10/07/21, 12:43 updated 10/04/22, 14:19

Description

Hi, I have the problem that indexed_search indexes letters instead of words

Additionally: if I search for example “demo”, the fluid variable {searchWords} returns an array with each letter.
If I search for only 1 letter, the exception 1476049702 is thrown

searchWords => array(4 items)
      0 => array(2 items)
         sword => 'd' (1 chars)
         oper => 'AND' (3 chars)
      1 => array(2 items)
         sword => 'e' (1 chars)
         oper => 'AND' (3 chars)
      2 => array(2 items)
         sword => 'm' (1 chars)
         oper => 'AND' (3 chars)
      3 => array(2 items)
         sword => 'o' (1 chars)
         oper => 'AND' (3 chars)

ddev with php 7.4.18 and MySQL 5.5.5-10.5.10-MariaDB-1:10.5.10

Reviews 1