Disable norms for AttachmentPlugin

Hi guys,

iam using the elasticsearch-mapper-attachments plugin with version 3.1.
I just want to know if it is possible to use the norm property with the attachment plugin.

i tried this:

{  
    "test":{  
        "properties":{  
            "file":{  
                "type":"attachment",
                "norms":{  
                    "enabled":false
                }
            }
        }
    }
}

But i got Mapping definition for [file] has unsupported parameters: [norms : {enabled=false}]
Maybe someone knows how to handle this.

greets
Stefan

Not on the attachment field itself but probably on the sub fields which are generated at index time.

Do you mean something like this:

"test":{  
    "test":{  
        "properties":{  
            "file":{  
                "type":"attachment",
                "fields":{  
                    "content":{  
                        "type":"string",
                        "norms":{  
                            "enabled":false
                        }
                    }
                }
            }
        }
    }
}

This does not work for me.
Am I doing something wrong?

Yes. Do you get an error when doing that?

No iam getting no error.
But it does not have any effect.
I guess I should see the result with a GET on _mapping.
But the field content does not have the property norms.

Can you open an issue with a full recreation script so we can look if it's a bug or something we actually can't support with this plugin?

Thanks!