# How many metadata fields exist of MP3 file?

**URL:** <https://discuss.elastic.co/t/how-many-metadata-fields-exist-of-mp3-file/15135>\
**Category:** Elasticsearch\
**Created:** [January 8, 2014, 4:05am UTC](https://discuss.elastic.co/t/how-many-metadata-fields-exist-of-mp3-file/15135 "2014-01-08T04:05:01Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ivan\_Ji](https://avatars.discourse-cdn.com/v4/letter/i/d78d45/32.png) [@Ivan\_Ji](https://discuss.elastic.co/u/Ivan_Ji)\
**Post date:** [January 8, 2014, 4:05am UTC](https://discuss.elastic.co/t/how-many-metadata-fields-exist-of-mp3-file/15135/1 "2014-01-08T04:05:01Z")

</div>

Hi all,

I am wondering how many metadata fields of MP3 files exist when I post the  
mp3 file into ElasticSearch using the mapper-attachment.

Because in Solr we can know the field information through the endpoint  
SOLR\_HOST/update/extract?extractOnly=true,

but in ElasticSearch are there any ways to get such informations? Except  
for the MP3 files, how about the doc files?

I know the ElasticSearch use tika to support this operations, can you give  
me some example to fetch some special field of some special file format?

Regards,

Ivan

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/742f86b9-9dd8-4354-ae50-26332f0c4dc0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/742f86b9-9dd8-4354-ae50-26332f0c4dc0%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 8, 2014, 8:34am UTC](https://discuss.elastic.co/t/how-many-metadata-fields-exist-of-mp3-file/15135/2 "2014-01-08T08:34:07Z")

</div>

Have a look at [https://github.com/elasticsearch/elasticsearch-mapper-attachments/blob/master/src/main/java/org/elasticsearch/index/mapper/attachment/AttachmentMapper.java#L376](https://github.com/elasticsearch/elasticsearch-mapper-attachments/blob/master/src/main/java/org/elasticsearch/index/mapper/attachment/AttachmentMapper.java#L376)

You will see that mapper attachment reads:

Metadata.DATE  
Metadata.TITLE  
Metadata.AUTHOR  
Metadata.KEYWORDS  
Metadata.CONTENT\_TYPE  
Metadata.CONTENT\_LENGTH

Does it help?

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 8 janvier 2014 at 05:05:10, HongXuan Ji ([hxuanji@gmail.com](mailto:hxuanji@gmail.com)) a écrit:

Hi all,

I am wondering how many metadata fields of MP3 files exist when I post the mp3 file into ElasticSearch using the mapper-attachment.

Because in Solr we can know the field information through the endpoint SOLR\_HOST/update/extract?extractOnly=true,

but in ElasticSearch are there any ways to get such informations? Except for the MP3 files, how about the doc files?

I know the ElasticSearch use tika to support this operations, can you give me some example to fetch some special field of some special file format?

Regards,

Ivan

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/742f86b9-9dd8-4354-ae50-26332f0c4dc0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/742f86b9-9dd8-4354-ae50-26332f0c4dc0%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/etPan.52cd0d7f.2eb141f2.1449b%40MacBook-Air-de-David.local](https://groups.google.com/d/msgid/elasticsearch/etPan.52cd0d7f.2eb141f2.1449b%40MacBook-Air-de-David.local).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Ivan\_Ji](https://avatars.discourse-cdn.com/v4/letter/i/d78d45/32.png) [@Ivan\_Ji](https://discuss.elastic.co/u/Ivan_Ji)\
**Post date:** [January 8, 2014, 9:49am UTC](https://discuss.elastic.co/t/how-many-metadata-fields-exist-of-mp3-file/15135/3 "2014-01-08T09:49:43Z")

</div>

Thanks for the reply.

Except for the six standard fields, I also want to know the extra field.  
For example, in Solr we can extract the "album" field in MP3 file.  
Does this function also support in Elasticsearch? I just tested: I post a  
mp3 file into ES, but the fields of the mp3 file contains only the six  
fields.

Ideas?

Thanks a lot.

David Pilato於 2014年1月8日星期三UTC+8下午4時34分07秒寫道：

> Have a look at  
> [https://github.com/elasticsearch/elasticsearch-mapper-attachments/blob/master/src/main/java/org/elasticsearch/index/mapper/attachment/AttachmentMapper.java#L376](https://github.com/elasticsearch/elasticsearch-mapper-attachments/blob/master/src/main/java/org/elasticsearch/index/mapper/attachment/AttachmentMapper.java#L376)
> 
> You will see that mapper attachment reads:
> 
> Metadata.DATE  
> Metadata.TITLE  
> Metadata.AUTHOR  
> Metadata.KEYWORDS  
> Metadata.CONTENT\_TYPE  
> Metadata.CONTENT\_LENGTH
> 
> Does it help?
> 
> --  
> _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)
> 
> Le 8 janvier 2014 at 05:05:10, HongXuan Ji ([hxu...@gmail.com](mailto:hxu...@gmail.com) \<javascript:\>)  
> a écrit:
> 
> Hi all,
> 
> I am wondering how many metadata fields of MP3 files exist when I post the  
> mp3 file into Elasticsearch using the mapper-attachment.
> 
> Because in Solr we can know the field information through the endpoint  
> SOLR\_HOST/update/extract?extractOnly=true,
> 
> but in Elasticsearch are there any ways to get such informations? Except  
> for the MP3 files, how about the doc files?
> 
> I know the Elasticsearch use tika to support this operations, can you give  
> me some example to fetch some special field of some special file format?
> 
> Regards,
> 
> Ivan
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/742f86b9-9dd8-4354-ae50-26332f0c4dc0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/742f86b9-9dd8-4354-ae50-26332f0c4dc0%40googlegroups.com)  
> .  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/4495d489-6a3f-4b57-95a2-eefccbe48cf7%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/4495d489-6a3f-4b57-95a2-eefccbe48cf7%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 8, 2014, 10:23am UTC](https://discuss.elastic.co/t/how-many-metadata-fields-exist-of-mp3-file/15135/4 "2014-01-08T10:23:03Z")

</div>

I would recommend not to use the mapper attachment but to manage that on your side.  
I removed for example mapper attachment from fsriver project to have a finer control. (see [https://github.com/dadoonet/fsriver/issues/38](https://github.com/dadoonet/fsriver/issues/38))

BTW, I'm not aware on how you can get ALBUM field using Tika. Any pointer? Could be nice to add it to fsriver as well.

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 8 janvier 2014 at 10:49:47, HongXuan Ji ([hxuanji@gmail.com](mailto:hxuanji@gmail.com)) a écrit:

Thanks for the reply.

Except for the six standard fields, I also want to know the extra field. For example, in Solr we can extract the "album" field in MP3 file.  
Does this function also support in ElasticSearch? I just tested: I post a mp3 file into ES, but the fields of the mp3 file contains only the six fields.

Ideas?

Thanks a lot.

David Pilato於 2014年1月8日星期三UTC+8下午4時34分07秒寫道：  
Have a look at [https://github.com/elasticsearch/elasticsearch-mapper-attachments/blob/master/src/main/java/org/elasticsearch/index/mapper/attachment/AttachmentMapper.java#L376](https://github.com/elasticsearch/elasticsearch-mapper-attachments/blob/master/src/main/java/org/elasticsearch/index/mapper/attachment/AttachmentMapper.java#L376)

You will see that mapper attachment reads:

Metadata.DATE

Metadata.TITLE

Metadata.AUTHOR

Metadata.KEYWORDS

Metadata.CONTENT\_TYPE

Metadata.CONTENT\_LENGTH

Does it help?

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 8 janvier 2014 at 05:05:10, HongXuan Ji ([hxu...@gmail.com](mailto:hxu...@gmail.com)) a écrit:

Hi all,

I am wondering how many metadata fields of MP3 files exist when I post the mp3 file into ElasticSearch using the mapper-attachment.

Because in Solr we can know the field information through the endpoint SOLR\_HOST/update/extract?extractOnly=true,

but in ElasticSearch are there any ways to get such informations? Except for the MP3 files, how about the doc files?

I know the ElasticSearch use tika to support this operations, can you give me some example to fetch some special field of some special file format?

Regards,

Ivan

## -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com). To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/742f86b9-9dd8-4354-ae50-26332f0c4dc0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/742f86b9-9dd8-4354-ae50-26332f0c4dc0%40googlegroups.com). For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/4495d489-6a3f-4b57-95a2-eefccbe48cf7%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/4495d489-6a3f-4b57-95a2-eefccbe48cf7%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/etPan.52cd2707.1190cde7.1449b%40MacBook-Air-de-David.local](https://groups.google.com/d/msgid/elasticsearch/etPan.52cd2707.1190cde7.1449b%40MacBook-Air-de-David.local).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Ivan\_Ji](https://avatars.discourse-cdn.com/v4/letter/i/d78d45/32.png) [@Ivan\_Ji](https://discuss.elastic.co/u/Ivan_Ji)\
**Post date:** [January 8, 2014, 11:24am UTC](https://discuss.elastic.co/t/how-many-metadata-fields-exist-of-mp3-file/15135/5 "2014-01-08T11:24:07Z")

</div>

Hi David,

I only got the ALBUM field by using the endpoint of Solr, which is  
HOST/solr/update/extract?extractOnly=true.  
So it seems the mapper attachment does not support the extra field  
extraction. right?

BTW, can you give me some tutorial about the fsriver? I am also curious  
what's the plugin for ? What's the purpose of the plugin?

Best,

Ivan

David Pilato於 2014年1月8日星期三UTC+8下午6時23分03秒寫道：

> I would recommend not to use the mapper attachment but to manage that on  
> your side.  
> I removed for example mapper attachment from fsriver project to have a  
> finer control. (see [Replace mapper-attachment plugin by Tika · Issue #38 · dadoonet/fscrawler · GitHub](https://github.com/dadoonet/fsriver/issues/38))
> 
> BTW, I'm not aware on how you can get ALBUM field using Tika. Any pointer?  
> Could be nice to add it to fsriver as well.
> 
> --  
> _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)
> 
> Le 8 janvier 2014 at 10:49:47, HongXuan Ji ([hxu...@gmail.com](mailto:hxu...@gmail.com) \<javascript:\>)  
> a écrit:
> 
> Thanks for the reply.
> 
> Except for the six standard fields, I also want to know the extra field.  
> For example, in Solr we can extract the "album" field in MP3 file.  
> Does this function also support in Elasticsearch? I just tested: I post a  
> mp3 file into ES, but the fields of the mp3 file contains only the six  
> fields.
> 
> Ideas?
> 
> Thanks a lot.
> 
> David Pilato於 2014年1月8日星期三UTC+8下午4時34分07秒寫道：
> 
> > Have a look at  
> > [https://github.com/elasticsearch/elasticsearch-mapper-attachments/blob/master/src/main/java/org/elasticsearch/index/mapper/attachment/AttachmentMapper.java#L376](https://github.com/elasticsearch/elasticsearch-mapper-attachments/blob/master/src/main/java/org/elasticsearch/index/mapper/attachment/AttachmentMapper.java#L376)
> > 
> > You will see that mapper attachment reads:
> > 
> > Metadata.DATE  
> > Metadata.TITLE  
> > Metadata.AUTHOR  
> > Metadata.KEYWORDS  
> > Metadata.CONTENT\_TYPE  
> > Metadata.CONTENT\_LENGTH
> > 
> > Does it help?
> > 
> > ```
> > -- 
> > 
> > ```
> > 
> > _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> > @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)
> > 
> > Le 8 janvier 2014 at 05:05:10, HongXuan Ji ([hxu...@gmail.com](mailto:hxu...@gmail.com)) a écrit:
> > 
> > Hi all,
> > 
> > I am wondering how many metadata fields of MP3 files exist when I post  
> > the mp3 file into Elasticsearch using the mapper-attachment.
> > 
> > Because in Solr we can know the field information through the endpoint  
> > SOLR\_HOST/update/extract?extractOnly=true,
> > 
> > but in Elasticsearch are there any ways to get such informations? Except  
> > for the MP3 files, how about the doc files?
> > 
> > I know the Elasticsearch use tika to support this operations, can you  
> > give me some example to fetch some special field of some special file  
> > format?
> > 
> > Regards,
> > 
> > Ivan
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/742f86b9-9dd8-4354-ae50-26332f0c4dc0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/742f86b9-9dd8-4354-ae50-26332f0c4dc0%40googlegroups.com)  
> > .  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/4495d489-6a3f-4b57-95a2-eefccbe48cf7%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/4495d489-6a3f-4b57-95a2-eefccbe48cf7%40googlegroups.com)  
> > .  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/00fe2081-0f22-400f-a0be-78ee5687ee10%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/00fe2081-0f22-400f-a0be-78ee5687ee10%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 8, 2014, 11:32am UTC](https://discuss.elastic.co/t/how-many-metadata-fields-exist-of-mp3-file/15135/6 "2014-01-08T11:32:17Z")

</div>

Mapper attachment does not support extra field extraction. May be you could open an issue there? [https://github.com/elasticsearch/elasticsearch-mapper-attachments](https://github.com/elasticsearch/elasticsearch-mapper-attachments)

About FSRiver, I guess everything is described here: [https://github.com/dadoonet/fsriver#filesystem-river-for-elasticsearch](https://github.com/dadoonet/fsriver#filesystem-river-for-elasticsearch)  
Is there something you don't understand?

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 8 janvier 2014 at 12:24:11, HongXuan Ji ([hxuanji@gmail.com](mailto:hxuanji@gmail.com)) a écrit:

Hi David,

I only got the ALBUM field by using the endpoint of Solr, which is HOST/solr/update/extract?extractOnly=true.  
So it seems the mapper attachment does not support the extra field extraction. right?

BTW, can you give me some tutorial about the fsriver? I am also curious what's the plugin for ? What's the purpose of the plugin?

Best,

Ivan

David Pilato於 2014年1月8日星期三UTC+8下午6時23分03秒寫道：  
I would recommend not to use the mapper attachment but to manage that on your side.  
I removed for example mapper attachment from fsriver project to have a finer control. (see [https://github.com/dadoonet/fsriver/issues/38](https://github.com/dadoonet/fsriver/issues/38))

BTW, I'm not aware on how you can get ALBUM field using Tika. Any pointer? Could be nice to add it to fsriver as well.

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 8 janvier 2014 at 10:49:47, HongXuan Ji ([hxu...@gmail.com](mailto:hxu...@gmail.com)) a écrit:

Thanks for the reply.

Except for the six standard fields, I also want to know the extra field. For example, in Solr we can extract the "album" field in MP3 file.  
Does this function also support in ElasticSearch? I just tested: I post a mp3 file into ES, but the fields of the mp3 file contains only the six fields.

Ideas?

Thanks a lot.

David Pilato於 2014年1月8日星期三UTC+8下午4時34分07秒寫道：  
Have a look at [https://github.com/elasticsearch/elasticsearch-mapper-attachments/blob/master/src/main/java/org/elasticsearch/index/mapper/attachment/AttachmentMapper.java#L376](https://github.com/elasticsearch/elasticsearch-mapper-attachments/blob/master/src/main/java/org/elasticsearch/index/mapper/attachment/AttachmentMapper.java#L376)

You will see that mapper attachment reads:

Metadata.DATE

Metadata.TITLE

Metadata.AUTHOR

Metadata.KEYWORDS

Metadata.CONTENT\_TYPE

Metadata.CONTENT\_LENGTH

Does it help?

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 8 janvier 2014 at 05:05:10, HongXuan Ji ([hxu...@gmail.com](mailto:hxu...@gmail.com)) a écrit:

Hi all,

I am wondering how many metadata fields of MP3 files exist when I post the mp3 file into ElasticSearch using the mapper-attachment.

Because in Solr we can know the field information through the endpoint SOLR\_HOST/update/extract?extractOnly=true,

but in ElasticSearch are there any ways to get such informations? Except for the MP3 files, how about the doc files?

I know the ElasticSearch use tika to support this operations, can you give me some example to fetch some special field of some special file format?

Regards,

Ivan

## -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com). To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/742f86b9-9dd8-4354-ae50-26332f0c4dc0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/742f86b9-9dd8-4354-ae50-26332f0c4dc0%40googlegroups.com). For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

## You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com). To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/4495d489-6a3f-4b57-95a2-eefccbe48cf7%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/4495d489-6a3f-4b57-95a2-eefccbe48cf7%40googlegroups.com). For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/00fe2081-0f22-400f-a0be-78ee5687ee10%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/00fe2081-0f22-400f-a0be-78ee5687ee10%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/etPan.52cd3741.6763845e.1449b%40MacBook-Air-de-David.local](https://groups.google.com/d/msgid/elasticsearch/etPan.52cd3741.6763845e.1449b%40MacBook-Air-de-David.local).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Ivan\_Ji](https://avatars.discourse-cdn.com/v4/letter/i/d78d45/32.png) [@Ivan\_Ji](https://discuss.elastic.co/u/Ivan_Ji)\
**Post date:** [January 8, 2014, 11:42am UTC](https://discuss.elastic.co/t/how-many-metadata-fields-exist-of-mp3-file/15135/7 "2014-01-08T11:42:52Z")

</div>

OK, I will post the issue later.

About the river,

The first line: "This river plugin helps to index documents from your local  
file system and using SSH."

Does it means """ I store a bunch of pdf file in my local directory and by  
using the river plugin I can search the file in the directory. """ ?

In fact, I started to study Elasticsearch this week and I am not very  
familiar the filesystem means here.  
Thanks a lot.

Ivan  
David Pilato於 2014年1月8日星期三UTC+8下午7時32分17秒寫道：

> Mapper attachment does not support extra field extraction. May be you  
> could open an issue there?  
> [GitHub - elastic/elasticsearch-mapper-attachments: Mapper Attachments Type plugin for Elasticsearch](https://github.com/elasticsearch/elasticsearch-mapper-attachments)
> 
> About FSRiver, I guess everything is described here:  
> [GitHub - dadoonet/fscrawler: Elasticsearch File System Crawler (FS Crawler)](https://github.com/dadoonet/fsriver#filesystem-river-for-elasticsearch)  
> Is there something you don't understand?
> 
> --  
> _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)
> 
> Le 8 janvier 2014 at 12:24:11, HongXuan Ji ([hxu...@gmail.com](mailto:hxu...@gmail.com) \<javascript:\>)  
> a écrit:
> 
> Hi David,
> 
> I only got the ALBUM field by using the endpoint of Solr, which is  
> HOST/solr/update/extract?extractOnly=true.  
> So it seems the mapper attachment does not support the extra field  
> extraction. right?
> 
> BTW, can you give me some tutorial about the fsriver? I am also curious  
> what's the plugin for ? What's the purpose of the plugin?
> 
> Best,
> 
> Ivan
> 
> David Pilato於 2014年1月8日星期三UTC+8下午6時23分03秒寫道：
> 
> > I would recommend not to use the mapper attachment but to manage that  
> > on your side.  
> > I removed for example mapper attachment from fsriver project to have a  
> > finer control. (see [Replace mapper-attachment plugin by Tika · Issue #38 · dadoonet/fscrawler · GitHub](https://github.com/dadoonet/fsriver/issues/38))
> > 
> > BTW, I'm not aware on how you can get ALBUM field using Tika. Any  
> > pointer? Could be nice to add it to fsriver as well.
> > 
> > ```
> > -- 
> > 
> > ```
> > 
> > _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> > @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)
> > 
> > Le 8 janvier 2014 at 10:49:47, HongXuan Ji ([hxu...@gmail.com](mailto:hxu...@gmail.com)) a écrit:
> > 
> > Thanks for the reply.
> > 
> > Except for the six standard fields, I also want to know the extra field.  
> > For example, in Solr we can extract the "album" field in MP3 file.  
> > Does this function also support in Elasticsearch? I just tested: I post a  
> > mp3 file into ES, but the fields of the mp3 file contains only the six  
> > fields.
> > 
> > Ideas?
> > 
> > Thanks a lot.
> > 
> > David Pilato於 2014年1月8日星期三UTC+8下午4時34分07秒寫道：
> > 
> > > Have a look at  
> > > [https://github.com/elasticsearch/elasticsearch-mapper-attachments/blob/master/src/main/java/org/elasticsearch/index/mapper/attachment/AttachmentMapper.java#L376](https://github.com/elasticsearch/elasticsearch-mapper-attachments/blob/master/src/main/java/org/elasticsearch/index/mapper/attachment/AttachmentMapper.java#L376)
> > > 
> > > You will see that mapper attachment reads:
> > > 
> > > Metadata.DATE  
> > > Metadata.TITLE  
> > > Metadata.AUTHOR  
> > > Metadata.KEYWORDS  
> > > Metadata.CONTENT\_TYPE  
> > > Metadata.CONTENT\_LENGTH
> > > 
> > > Does it help?
> > > 
> > > ```
> > > -- 
> > > 
> > > ```
> > > 
> > > _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> > > @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr[https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)
> > > 
> > > Le 8 janvier 2014 at 05:05:10, HongXuan Ji ([hxu...@gmail.com](mailto:hxu...@gmail.com)) a écrit:
> > > 
> > > Hi all,
> > > 
> > > I am wondering how many metadata fields of MP3 files exist when I post  
> > > the mp3 file into Elasticsearch using the mapper-attachment.
> > > 
> > > Because in Solr we can know the field information through the endpoint  
> > > SOLR\_HOST/update/extract?extractOnly=true,
> > > 
> > > but in Elasticsearch are there any ways to get such informations?  
> > > Except for the MP3 files, how about the doc files?
> > > 
> > > I know the Elasticsearch use tika to support this operations, can you  
> > > give me some example to fetch some special field of some special file  
> > > format?
> > > 
> > > Regards,
> > > 
> > > Ivan
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google  
> > > Groups "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send  
> > > an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > To view this discussion on the web visit  
> > > [https://groups.google.com/d/msgid/elasticsearch/742f86b9-9dd8-4354-ae50-26332f0c4dc0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/742f86b9-9dd8-4354-ae50-26332f0c4dc0%40googlegroups.com)  
> > > .  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > > 
> > > --  
> > > You received this message because you are subscribed to the Google Groups  
> > > "elasticsearch" group.  
> > > To unsubscribe from this group and stop receiving emails from it, send an  
> > > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > > To view this discussion on the web visit  
> > > [https://groups.google.com/d/msgid/elasticsearch/4495d489-6a3f-4b57-95a2-eefccbe48cf7%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/4495d489-6a3f-4b57-95a2-eefccbe48cf7%40googlegroups.com)  
> > > .  
> > > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups  
> > "elasticsearch" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an  
> > email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/00fe2081-0f22-400f-a0be-78ee5687ee10%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/00fe2081-0f22-400f-a0be-78ee5687ee10%40googlegroups.com)  
> > .  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/99916f15-9e40-406b-be92-a64dd3b4b55d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/99916f15-9e40-406b-be92-a64dd3b4b55d%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [January 8, 2014, 11:44am UTC](https://discuss.elastic.co/t/how-many-metadata-fields-exist-of-mp3-file/15135/8 "2014-01-08T11:44:41Z")

</div>

Yes. It index your documents available on your local hard drive.

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 8 janvier 2014 at 12:42:56, HongXuan Ji ([hxuanji@gmail.com](mailto:hxuanji@gmail.com)) a écrit:

OK, I will post the issue later.

About the river,

The first line: "This river plugin helps to index documents from your local file system and using SSH."

Does it means """ I store a bunch of pdf file in my local directory and by using the river plugin I can search the file in the directory. """ ?

In fact, I started to study ElasticSearch this week and I am not very familiar the filesystem means here.  
Thanks a lot.

Ivan  
David Pilato於 2014年1月8日星期三UTC+8下午7時32分17秒寫道：  
Mapper attachment does not support extra field extraction. May be you could open an issue there? [https://github.com/elasticsearch/elasticsearch-mapper-attachments](https://github.com/elasticsearch/elasticsearch-mapper-attachments)

About FSRiver, I guess everything is described here: [https://github.com/dadoonet/fsriver#filesystem-river-for-elasticsearch](https://github.com/dadoonet/fsriver#filesystem-river-for-elasticsearch)  
Is there something you don't understand?

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 8 janvier 2014 at 12:24:11, HongXuan Ji ([hxu...@gmail.com](mailto:hxu...@gmail.com)) a écrit:

Hi David,

I only got the ALBUM field by using the endpoint of Solr, which is HOST/solr/update/extract?extractOnly=true.  
So it seems the mapper attachment does not support the extra field extraction. right?

BTW, can you give me some tutorial about the fsriver? I am also curious what's the plugin for ? What's the purpose of the plugin?

Best,

Ivan

David Pilato於 2014年1月8日星期三UTC+8下午6時23分03秒寫道：  
I would recommend not to use the mapper attachment but to manage that on your side.  
I removed for example mapper attachment from fsriver project to have a finer control. (see [https://github.com/dadoonet/fsriver/issues/38](https://github.com/dadoonet/fsriver/issues/38))

BTW, I'm not aware on how you can get ALBUM field using Tika. Any pointer? Could be nice to add it to fsriver as well.

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 8 janvier 2014 at 10:49:47, HongXuan Ji ([hxu...@gmail.com](mailto:hxu...@gmail.com)) a écrit:

Thanks for the reply.

Except for the six standard fields, I also want to know the extra field. For example, in Solr we can extract the "album" field in MP3 file.  
Does this function also support in ElasticSearch? I just tested: I post a mp3 file into ES, but the fields of the mp3 file contains only the six fields.

Ideas?

Thanks a lot.

David Pilato於 2014年1月8日星期三UTC+8下午4時34分07秒寫道：  
Have a look at [https://github.com/elasticsearch/elasticsearch-mapper-attachments/blob/master/src/main/java/org/elasticsearch/index/mapper/attachment/AttachmentMapper.java#L376](https://github.com/elasticsearch/elasticsearch-mapper-attachments/blob/master/src/main/java/org/elasticsearch/index/mapper/attachment/AttachmentMapper.java#L376)

You will see that mapper attachment reads:

Metadata.DATE

Metadata.TITLE

Metadata.AUTHOR

Metadata.KEYWORDS

Metadata.CONTENT\_TYPE

Metadata.CONTENT\_LENGTH

Does it help?

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 8 janvier 2014 at 05:05:10, HongXuan Ji ([hxu...@gmail.com](mailto:hxu...@gmail.com)) a écrit:

Hi all,

I am wondering how many metadata fields of MP3 files exist when I post the mp3 file into ElasticSearch using the mapper-attachment.

Because in Solr we can know the field information through the endpoint SOLR\_HOST/update/extract?extractOnly=true,

but in ElasticSearch are there any ways to get such informations? Except for the MP3 files, how about the doc files?

I know the ElasticSearch use tika to support this operations, can you give me some example to fetch some special field of some special file format?

Regards,

Ivan

## -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com). To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/742f86b9-9dd8-4354-ae50-26332f0c4dc0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/742f86b9-9dd8-4354-ae50-26332f0c4dc0%40googlegroups.com). For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

## You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com). To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/4495d489-6a3f-4b57-95a2-eefccbe48cf7%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/4495d489-6a3f-4b57-95a2-eefccbe48cf7%40googlegroups.com). For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

## You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com). To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/00fe2081-0f22-400f-a0be-78ee5687ee10%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/00fe2081-0f22-400f-a0be-78ee5687ee10%40googlegroups.com). For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/99916f15-9e40-406b-be92-a64dd3b4b55d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/99916f15-9e40-406b-be92-a64dd3b4b55d%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/etPan.52cd3a29.71f32454.1449b%40MacBook-Air-de-David.local](https://groups.google.com/d/msgid/elasticsearch/etPan.52cd3a29.71f32454.1449b%40MacBook-Air-de-David.local).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:57am UTC](https://discuss.elastic.co/t/how-many-metadata-fields-exist-of-mp3-file/15135/9 "2017-07-06T01:57:57Z")

</div>


