Issues

Issue #1340 resolved

Can't search alphabetical words on the HTML quick search generated with language='ja'

Takayuki Shimizukawa
created an issue

Search feature with language='ja' generate broken 'searchindex.js' file. Japanese words are OK, but alphabetical words prefixed with a whitespace.

This issue reported by https://groups.google.com/d/msg/sphinx-users/1z4Y083Z-9o/fst4kXZAPkAJ

conf.py:

language='ja'

index.rst:

It's a beautiful day.

searchindex.js:

Search.setIndex({envversion:42,terms:{" beautiful":0, ...}})

It caused by sphinx.search.ja.TinySegmenter.split() method.

Comments (5)

  1. Log in to comment