You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Jeferson dos Anjos <je...@packdocs.com> on 2016/06/06 16:56:01 UTC

Solr 6 fail to index images

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!

Thanks
Jeferson M. dos Anjos
CEO do Packdocs
ps.: Flexible spaces to contents with Packdocs (www.packdocs.com)

Re: Solr 6 fail to index images

Posted by Alexandre Rafalovitch <ar...@gmail.com>.
How do you map all those fields right now to a PointMap? Seems the
same issue there, so if you solved it for one, you solved it for
another by using a regex to match field names.

Specifically, RegexReplaceProcessorFactory inherits from
FieldMutatingUpdateProcessorFactory, which means it can match field
names with regex using fieldRegex parameter:
http://www.solr-start.com/javadoc/solr-lucene/org/apache/solr/update/processor/FieldMutatingUpdateProcessorFactory.html

Regards,
   Alex
----
Newsletter and resources for Solr beginners and intermediates:
http://www.solr-start.com/


On 8 June 2016 at 08:07, Jeferson dos Anjos <je...@packdocs.com> wrote:
> The problem with this solution is that I need to know all possible fields
> that can generate this type of error. For example, TIFF images get
> different errors. = /
>
> 2016-06-06 15:13 GMT-03:00 Shawn Heisey <ap...@elyograg.org>:
>
>> On 6/6/2016 10:56 AM, Jeferson dos Anjos wrote:
>> > 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?
>>
>> Looks like you're probably running into this, which was marked "Won't Fix":
>>
>> https://issues.apache.org/jira/browse/SOLR-8017
>>
>> Thanks,
>> Shawn
>>
>>
>
>
> --
> Jeferson M. dos Anjos
> CEO do Packdocs
> ps.: Mantenha seus arquivos vivos com o Packdocs (www.packdocs.com)

Re: Solr 6 fail to index images

Posted by Jeferson dos Anjos <je...@packdocs.com>.
The problem with this solution is that I need to know all possible fields
that can generate this type of error. For example, TIFF images get
different errors. = /

2016-06-06 15:13 GMT-03:00 Shawn Heisey <ap...@elyograg.org>:

> On 6/6/2016 10:56 AM, Jeferson dos Anjos wrote:
> > 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?
>
> Looks like you're probably running into this, which was marked "Won't Fix":
>
> https://issues.apache.org/jira/browse/SOLR-8017
>
> Thanks,
> Shawn
>
>


-- 
Jeferson M. dos Anjos
CEO do Packdocs
ps.: Mantenha seus arquivos vivos com o Packdocs (www.packdocs.com)

Re: Solr 6 fail to index images

Posted by Shawn Heisey <ap...@elyograg.org>.
On 6/6/2016 10:56 AM, Jeferson dos Anjos wrote:
> 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?

Looks like you're probably running into this, which was marked "Won't Fix":

https://issues.apache.org/jira/browse/SOLR-8017

Thanks,
Shawn