V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐工具
RoboMongo
推荐书目
50 Tips and Tricks for MongoDB Developers
Related Blogs
Snail in a Turtleneck
Neagle
V2EX  ›  MongoDB

MongoDB3.2 支持中文全文索引了吗?

  •  
  •   Neagle · 2016-05-28 15:34:16 +08:00 · 8682 次点击
    这是一个创建于 2862 天前的主题,其中的信息可能已经有所发展或是发生改变。
    刚接触,看中文教程(版本较老)说是全文索引不支持中文,我翻看最新的文档的时候看到“ In addition to the languages supported by text search in MongoDB, MongoDB Enterprise provides support for the following additional languages: Arabic, Farsi (specifically Dari and Iranian Persian dialects), Urdu, Simplified Chinese, and Traditional Chinese.”

    是不是说 3.2 版本已经支持了?

    https://docs.mongodb.com/manual/tutorial/text-search-with-rlp/
    6 条回复    2016-05-29 22:11:10 +08:00
    gamexg
        1
    gamexg  
       2016-05-28 16:33:16 +08:00
    MongoDB Enterprise
    ChiChou
        2
    ChiChou  
       2016-05-29 11:39:40 +08:00
    歪个楼。自己的小项目里用了 PostgreSQL 做全文检索,效果不错。重要的是 PG 也支持 json 文档存储,开发体验上可以替代 mongo 。
    sunsh217
        3
    sunsh217  
       2016-05-29 13:31:09 +08:00
    pg 很好,我也想转用 PG.
    shiny
        4
    shiny  
       2016-05-29 19:39:35 +08:00 via iPhone
    @ChiChou 最新 MySQL 也支持 JSON 了
    ChiChou
        5
    ChiChou  
       2016-05-29 21:47:00 +08:00   ❤️ 1
    @shiny 然而还是没有很好的支持中文全文检索。 PG 可以用 zhparser
    henryon
        6
    henryon  
       2016-05-29 22:11:10 +08:00 via Android   ❤️ 1
    3.2 支持了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2850 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 11:44 · PVG 19:44 · LAX 04:44 · JFK 07:44
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.