Solr 6无法索引图像(Solr 6 fail to index images)

编程入门 行业动态 更新时间:2024-10-19 08:57:59
Solr 6无法索引图像(Solr 6 fail to index images)

我正在尝试索引SOLR上的图像,但是我收到以下错误:

ERROR: [doc=5b36cb2b78072e41] Error adding field 'media_black_point'='(0.012054443, 0.012496948, 0.010314941)' msg=For input string: "(0.012054443"

看起来这是字段类型的问题,但这些字段是自动提取的。 我忘记了一些额外的配置?

我感谢所有的帮助!

I'm trying to index images on SOLR, but I get the following error:

ERROR: [doc=5b36cb2b78072e41] Error adding field 'media_black_point'='(0.012054443, 0.012496948, 0.010314941)' msg=For input string: "(0.012054443"

It looks like it's a problem of field types, but these fields are extracted automatically. I'm forgetting some additional configuration?

I appreciate all the help!

最满意答案

从solr邮件列表中复制答案:

https://mail-archives.apache.org/mod_mbox/lucene-solr-user/201606.mbox/%3C7bb4ad8a-1e66-8442-abe3-5181b67ea24c@elyograg.org%3E

链接的问题有一个示例方法,用于在编制索引之前清理内容:

https://issues.apache.org/jira/browse/SOLR-8017?focusedCommentId=15256432&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15256432

Copying the answer from the solr mailing list:

https://mail-archives.apache.org/mod_mbox/lucene-solr-user/201606.mbox/%3C7bb4ad8a-1e66-8442-abe3-5181b67ea24c@elyograg.org%3E

The linked issue has an example method for cleaning up the content prior to indexing:

https://issues.apache.org/jira/browse/SOLR-8017?focusedCommentId=15256432&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-15256432

更多推荐

本文发布于:2023-08-01 00:03:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1351370.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:索引   图像   Solr   images   index

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!