Title: Minimum word length does not work
Last modified: June 26, 2026

---

# Minimum word length does not work

 *  Resolved [steve92](https://wordpress.org/support/users/steve92/)
 * (@steve92)
 * [1 week, 2 days ago](https://wordpress.org/support/topic/minimum-word-length-does-not-work/)
 * In Show advanced settings, the setting for Minimum word length doesn’t work.

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [1 week, 2 days ago](https://wordpress.org/support/topic/minimum-word-length-does-not-work/#post-18949529)
 * How does it not work? What are you trying to do that does not work as expected?
 *  Thread Starter [steve92](https://wordpress.org/support/users/steve92/)
 * (@steve92)
 * [1 week, 2 days ago](https://wordpress.org/support/topic/minimum-word-length-does-not-work/#post-18949532)
 * Indexing table, show advanced options/Minimum word length
 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [1 week, 2 days ago](https://wordpress.org/support/topic/minimum-word-length-does-not-work/#post-18949541)
 * I’m sorry, I don’t understand.
 * I know the settings field looks a bit weird; it’s too short for reason, probably
   a change in WordPress admin settings, but the option should still work as usual.
 *  Thread Starter [steve92](https://wordpress.org/support/users/steve92/)
 * (@steve92)
 * [1 week, 1 day ago](https://wordpress.org/support/topic/minimum-word-length-does-not-work/#post-18949677)
 * I’m not saying it doesn’t work, the box is too small and can’t be set.
 * [https://snipboard.io/1UFtzT.jpg](https://snipboard.io/1UFtzT.jpg)
 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [1 week, 1 day ago](https://wordpress.org/support/topic/minimum-word-length-does-not-work/#post-18949742)
 * Yes, we know that and will fix that. We are overhauling the settings completely
   to make them meet modern standards.
 * But the box does work, and it is possible to change the value, even though the
   field is too narrow. You can, for example, move into the field with the tab key
   and adjust the value with keyboard, or you can use the browser inspector to make
   the field wider.
 * You can also adjust the value from the general options page at /wp-admin/options.
   php.
 *  Thread Starter [steve92](https://wordpress.org/support/users/steve92/)
 * (@steve92)
 * [1 week, 1 day ago](https://wordpress.org/support/topic/minimum-word-length-does-not-work/#post-18949863)
 * I tried putting this css in my style.css child but it doesn’t work.
 * `relevanssi_min_word_length {
   width: 4em;}
    -  This reply was modified 1 week, 1 day ago by [steve92](https://wordpress.org/support/users/steve92/).
 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [1 week, 1 day ago](https://wordpress.org/support/topic/minimum-word-length-does-not-work/#post-18950003)
 * Your theme style.css isn’t applied to admin pages.
 * The quickest way to set the value is adding this to your theme functions.php:
 *     ```wp-block-code
       add_action( 'init', function() {  update_option( 'relevanssi_min_word_length', X );} );
       ```
   
 * Where X is the value you want. The default is 3, sometimes it makes sense to 
   set it to 2, few other values make any sense. Visit your site once to set the
   value, then you can remove this code.
 *  Thread Starter [steve92](https://wordpress.org/support/users/steve92/)
 * (@steve92)
 * [1 week, 1 day ago](https://wordpress.org/support/topic/minimum-word-length-does-not-work/#post-18950006)
 * It works, but I used the “inspect element” method to enlarge the field.

Viewing 8 replies - 1 through 8 (of 8 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fminimum-word-length-does-not-work%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/relevanssi/assets/icon-256x256.png?rev=3529670)
 * [Relevanssi - A Better Search](https://wordpress.org/plugins/relevanssi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/relevanssi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/relevanssi/)
 * [Active Topics](https://wordpress.org/support/plugin/relevanssi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/relevanssi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/relevanssi/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [steve92](https://wordpress.org/support/users/steve92/)
 * Last activity: [1 week, 1 day ago](https://wordpress.org/support/topic/minimum-word-length-does-not-work/#post-18950006)
 * Status: resolved