mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Remove deprecated search splitters in `sphinx.search.ja
` (#11359)
This commit is contained in:
parent
4eb706eb21
commit
124957a89c
3
CHANGES
3
CHANGES
@ -7,6 +7,9 @@ Dependencies
|
||||
Incompatible changes
|
||||
--------------------
|
||||
|
||||
* #11359: Remove long-deprecated aliases for ``MecabSplitter`` and
|
||||
``DefaultSplitter`` in ``sphinx.search.ja``.
|
||||
|
||||
Deprecated
|
||||
----------
|
||||
|
||||
|
@ -111,8 +111,6 @@ class MecabSplitter(BaseSplitter):
|
||||
if self.ctypes_libmecab:
|
||||
self.ctypes_libmecab.mecab_destroy(self.ctypes_mecab)
|
||||
|
||||
MeCabBinder = MecabSplitter # keep backward compatibility until Sphinx-1.6
|
||||
|
||||
|
||||
class JanomeSplitter(BaseSplitter):
|
||||
def __init__(self, options: dict) -> None:
|
||||
@ -507,9 +505,6 @@ class DefaultSplitter(BaseSplitter):
|
||||
return result
|
||||
|
||||
|
||||
TinySegmenter = DefaultSplitter # keep backward compatibility until Sphinx-1.6
|
||||
|
||||
|
||||
class SearchJapanese(SearchLanguage):
|
||||
"""
|
||||
Japanese search implementation: uses no stemmer, but word splitting is quite
|
||||
|
Loading…
Reference in New Issue
Block a user