skuyu

‌Elasticsearch 怎么检索 oss 里面的文件

  •  
  •   skuyu · Oct 16, 2024 · 6459 views
    This topic created in 759 days ago, the information mentioned may be changed or developed.
    7 replies  •  2024-10-17 10:38:25 +08:00
    nulIptr
    nulIptr
    Oct 16, 2024
    1
    当然是把 oss 里的文件插入到 es 里面辣
    lopponial
    lopponial
    Oct 16, 2024
    2
    用 logstash 拉进 es
    GeekHao
    GeekHao
    Oct 16, 2024
    3
    1 、OSS 文件内容抽取
    2 、存入 ES
    stardustree
    stardustree
    Oct 16, 2024
    4
    文件不大的话也可以考虑直接下载的服务器本地,然后暴力检索
    guo4224
    guo4224
    Oct 16, 2024
    5
    s3 可能有提供 api ,可以直接检索文件
    qq135449773
    qq135449773
    Oct 17, 2024❤️1
    6
    我觉得是 XY 问题,会有这个问题可能说明你整个系统的上传流程做的有问题。

    正常上传文件应该是写进库里记录文件信息再上传进 oss ,然后直接检索数据库就可以了。

    当然你如果只是把 oss 直接当网盘的话就另说了。
    shenyuzhi
    shenyuzhi
    Oct 17, 2024
    7
    ES 有 S3 插件,可以把 S3 当作存储后端
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1768 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 74ms · UTC 05:29 · PVG 13:29 · LAX 21:29 · JFK 00:29
    ♥ Do have faith in what you're doing.