Allow configuring Manticore min_word_len when creating search index
- Status
- Open
- Subject
- Allow configuring Manticore min_word_len when creating search index
- Version
- 29.x
- Category
- Feature request
- Feature
- Search
- Resolution status
- New
- Submitted by
- Volker Wysk
- Lastmod by
- Volker Wysk
- Rating
- Description
The Manticore server doesn't find words of length 2, when used by Tiki. It looks very much like only words of length 3 (or even 4) are indexed.
This depends on the configuration used when the tables are created inside of Manticore. It looks like Tiki specifies the "min_word_len" setting to be 3 (or even 4) when creating the "tiki_main_..." table inside Manticore. The SQL command in question is "CREATE TABLE tiki_main_... (...) min_word_len='3';"
I've searched the Tiki settings in the "Search" Control panel and couldn't find a setting for the minimum word length of Manticore.
The minimum can't be configured in manticore.conf, because it is set (so it seems) at table creation time, which is the time when Tiki rebuilds the search index.
This isn't about stopwords. I've tried with 2-letter-word which aren't.
When performing a search which only includes one 2-letter-word, I get the following error message:
- Malformed search query: SQLSTATE42000: Syntax error or access violation: 1064 table tiki_main_69a052d856213: P08: syntax error, unexpected ')' near ' ) | (@title )'
- Importance
- 3
- Easy to solve?
- 5
- Priority
- 15
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 8954
- Created
- Saturday 14 March, 2026 11:45:10 UTC
by Volker Wysk - LastModif
- Saturday 14 March, 2026 11:45:10 UTC