• Resolved demuri

    (@demuri)


    Hi,
    I have some products which title starts from one-letter word. E.g. https://22games.net/shop/ya-nikogda-ne/ — product name is ?Я никогда не…?. You can try to search for it — there will be no results.
    Relevanssi settings: min word length = 1, title weight = 5, content weight = 0.1, also added custom field ‘misspelling’ where I store array of misspelled title samples.
    I examined this post in debugger, and this post have no title there at all. is there any fix I can use for such products? Any hint?
    TIA

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mikko Saari

    (@msaari)

    Just setting minimum word length to 1 is not enough, you also need to explicitly allow one-letter searches with the relevanssi_block_one_letter_searches filter hook.

    The problem with this particular title is that it is made of stopwords. All three words in the title are in the default Russian stopword list. In order to find this product by the title, you need to remove those words from the stopword list and then rebuild the index. Then it’ll work.

    Thread Starter demuri

    (@demuri)

    @msaari Thanks a lot, solved!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Products with title starting with 1-letter words aren’t searchable’ is closed to new replies.