Hi all,
I have installed elasticserarch 1.2.1, and IMAPRiver
plugin elasticsearch-river-imap-0.0.7-b20 with
elasticsearch-mapper-attachments-2.2.0-SNAPSHOT.
[2014-07-23 11:56:44,304][INFO ][node ] [Shiver Man]
version[1.2.1], pid[28748], build[6c95b75/2014-06-03T15:02:52Z]
[2014-07-23 11:56:44,305][INFO ][node ] [Shiver Man]
initializing ...
[2014-07-23 11:56:44,329][INFO ][plugins ] [Shiver Man]
loaded [mapper-attachments, river-imap-0.0.7-b20-${build], sites []
[2014-07-23 11:56:47,850][INFO ][node ] [Shiver Man]
initialized
[2014-07-23 11:56:47,850][INFO ][node ] [Shiver Man]
starting ...
[2014-07-23 11:56:48,052][INFO ][transport ] [Shiver Man]
bound_address {inet[/0:0:0:0:0:0:0:0:9300]}, publish_address
{inet[/10.125.71.146:9300]}
[2014-07-23 11:56:51,106][INFO ][cluster.service ] [Shiver Man]
new_master [Shiver
Man][6vc5FbGdSlSxHjI6s7nYvw][cto-sdx02.idm.symcto.com][inet[/10.125.71.146:9300]],
reason: zen-disco-join (elected_as_master)
[2014-07-23 11:56:51,148][INFO ][discovery ] [Shiver Man]
elasticsearch/6vc5FbGdSlSxHjI6s7nYvw
[2014-07-23 11:56:51,178][INFO ][http ] [Shiver Man]
bound_address {inet[/0:0:0:0:0:0:0:0:9200]}, publish_address
{inet[/10.125.71.146:9200]}
[2014-07-23 11:56:52,278][INFO ][gateway ] [Shiver Man]
recovered [2] indices into cluster_state
[2014-07-23 11:56:52,279][INFO ][node ] [Shiver Man]
started
[2014-07-23 11:56:54,760][INFO
][de.saly.elasticsearch.river.imap.IMAPRiver] IMAPRiver created, river
name: river-imap
[2014-07-23 11:56:54,761][INFO
][de.saly.elasticsearch.river.imap.IMAPRiver] Start IMAPRiver ...
[2014-07-23 11:56:55,025][INFO ][org.quartz.impl.StdSchedulerFactory] Using
default implementation for ThreadExecutor
[2014-07-23 11:56:55,029][INFO ][org.quartz.simpl.SimpleThreadPool] Job
execution threads will use class loader of thread: elasticsearch[Shiver
Man][generic][T#4]
[2014-07-23 11:56:55,051][INFO ][org.quartz.core.SchedulerSignalerImpl]
Initialized Scheduler Signaller of type: class
org.quartz.core.SchedulerSignalerImpl
[2014-07-23 11:56:55,052][INFO ][org.quartz.core.QuartzScheduler] Quartz
Scheduler v.2.2.1 created.
[2014-07-23 11:56:55,054][INFO ][org.quartz.simpl.RAMJobStore] RAMJobStore
initialized.
[2014-07-23 11:56:55,055][INFO ][org.quartz.core.QuartzScheduler] Scheduler
meta-data: Quartz Scheduler (v2.2.1) 'DefaultQuartzScheduler' with
instanceId 'NON_CLUSTERED'
Index created:
curl -XPUT 'http://localhost:9200/_river/river-imap/_meta' -d '{
"type":"imap",
"mail.store.protocol":"imap",
"mail.imap.host":"cto-sdx01",
"mail.imap.port":993,
"mail.imap.ssl.enable":true,
"mail.imap.connectionpoolsize":"3",
"mail.debug":"false",
"mail.imap.timeout":10000,
"user":"gkapitan",
"password":"xxxxxxx",
"schedule":null,
"interval":"60s",
"threads":5,
"folderpattern":null,
"bulk_size":100,
"max_bulk_requests":"30",
"bulk_flush_interval":"5s",
"mail_index_name":"imapriverdata",
"mail_type_name":"mail",
"with_striptags_from_textcontent":true,
"with_attachments":true,
"with_text_content":true,
"with_flag_sync":true,
"index_settings" : null,
"type_mapping" : null
}'
The documents are loaded but the achievements are not indexed for any of:
pdf, doc,docx, csv,xls...
Any idea of what I might have missed?
Below is a sample response:
{"took":8,"timed_out":false,"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":1,"max_score":0.35493678,"hits":[{"_index":"imapriverdata","_type":"mail","_id":"16::imap://gkapitan@cto-sdx01/mail/gkapitan/Sent","_score":0.35493678,"_source":{
"attachmentCount" : 1,
"attachments" : [ {
"content" : "YWxwaGEsYmV0YSxnYW1tYQ0KVGV0YSxzaWdtYSxwaQ0K",
"contentType" : "text/csv; charset=us-ascii",
"size" : 33,
"filename" : "Book1.csv",
"name" : "Book1.csv"
} ],
"bcc" : null,
"cc" : null,
"contentType" : "multipart/mixed; boundary=wac7ysb48OaltWcw",
"flaghashcode" : 48,
"flags" : [ "Recent", "Seen" ],
"folderFullName" : "mail/gkapitan/Sent",
"folderUri" : "imap://gkapitan@cto-sdx01/mail/gkapitan/Sent",
"from" : {
"email" : "gkapitan@cto-sdx01.idm.symcto.com",
"personal" : "Gabriel Kapitany"
},
"headers" : [ {
"name" : "Content-Disposition",
"value" : "inline"
}, {
"name" : "Subject",
"value" : "csv"
}, {
"name" : "To",
"value" : "gkapitan@cto-sdx01.idm.symcto.com"
}, {
"name" : "Date",
"value" : "Wed, 23 Jul 2014 12:24:05 -0400"
}, {
"name" : "MIME-Version",
"value" : "1.0"
}, {
"name" : "Message-ID",
"value" : "20140723162358.GA3992@cto-sdx01.idm.symcto.com"
}, {
"name" : "User-Agent",
"value" : "Mutt/1.5.20 (2009-12-10)"
}, {
"name" : "Content-Type",
"value" : "multipart/mixed; boundary="wac7ysb48OaltWcw""
}, {
"name" : "From",
"value" : "Gabriel Kapitany gkapitan@cto-sdx01.idm.symcto.com"
} ],
"mailboxType" : "IMAP",
"popId" : null,
"receivedDate" : 1406132638000,
"sentDate" : 1406132645000,
"size" : 639,
"subject" : "csv",
"textContent" : "\r\n",
"to" : [ {
"email" : "gkapitan@cto-sdx01.idm.symcto.com",
"personal" : null
} ],
"uid" : 16
}}]}}
Thanks,
Gabriel
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/7c1de60b-1b32-47be-a64a-e8784a104c2f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.