Hello, Takayuki-san,

> I reported it and I'll fix it in next version. 

Thank you very much!

2014年1月6日月曜日 14時08分52秒 UTC+9 Takayuki SHIMIZUKAWA:
>
> Hi Hiroki, 
>
> You can find a 'searchindex.js' file in the _build/html directory and 
> it contains searchable words. 
> I checked it and I realize your reported problem is a 'ja' algorithm's 
> bug. 
> I reported it and I'll fix it in next version. 
>
> https://bitbucket.org/birkenfeld/sphinx/issue/1340/cant-search-alphabetical-words-on-the-html
>  
>
> FYI, the sphinx built-in search feature provides 2 language mode: 'en' and 
> 'ja'. 
> 'en' and 'ja' algorithms are completely different. 
> 'en' splits words with whitespace. 
> 'ja' splits words with character segments by default (or you can 
> choose 'mecab'). 
>
> Please see also: 
>   * http://sphinx-doc.org/config.html#confval-html_search_language 
>   * http://sphinx-doc.org/config.html#confval-html_search_options 
>
> Regards, 
> -- 
> Takayuki SHIMIZUKAWA 
> http://about.me/shimizukawa 
>
>
> 2014/1/3 Hiroki Watanabe <[email protected] <javascript:>>: 
> > Hello, 
> > 
> > Doesn't sphinx search function support a document written in 
> > multi-languages? 
> > 
> > I'm using sphinx to write documents including both Japanese and 
> > English, and noticed I could not search English words when I set 
> > html_search_language ='ja' in conf.py to enable Japanese full text 
> > search. 
> > 
> > For example, if you write the following two sentences in one rst file, 
> > 
> >    今日は天気がいいですね。 
> > 
> >    It's a beautiful day. 
> > 
> > and set 'ja' to html_search_language, 
> > you can search Japanese words like '今日' but can not search 
> > 'beautiful'. 
> > 
> > If you comment out html_search_language or set 'en' to it, 
> > you can search 'beautiful', but can not search '今日'. 
> > 
> > Is this behavior sphinx's limitation? 
> > 
> > Best regards, 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "sphinx-users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > To post to this group, send email to 
> > [email protected]<javascript:>. 
>
> > Visit this group at http://groups.google.com/group/sphinx-users. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to