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 > > 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* > @dadoonet <https://twitter.com/dadoonet> | > @elasticsearchfr<https://twitter.com/elasticsearchfr> > > > Le 8 janvier 2014 at 05:05:10, HongXuan Ji ([email protected] <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 [email protected] <javascript:>. > To view this discussion on the web visit > 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. > > -- 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 [email protected]. To view this discussion on the web visit 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.
