skuyu

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

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

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

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