Hermo,

Be aware that changes for CONNECTORS-690 (which I believe will be in the next 
release) will expect that you have already set up a specific default mapping.  
I realize this doesn't actually address your issue, but you should be aware of 
it.

Rick

-----Original Message-----
From: Karl Wright [mailto:[email protected]]
Sent: Friday, July 12, 2013 9:26 AM
To: Hermo; [email protected]
Subject: RE: ElasticSearch Mappings Question

Hi Hermo,
The mapping is determined by the elasticsearch connector. As of this
time, there is no way to change it other than to change the connector
code.

If you want such a feature, please create a jira ticket describing what
you think the connector should be able to do.

Thanks,
Karl

Sent from my Windows Phone
From: Hermo
Sent: 7/12/2013 9:30 AM
To: [email protected]
Subject: ElasticSearch Mappings Question
Hi,

I have the following scenario:

I configured a Job with a Windows Share repository connector, and an
ElasticSearch output connector.

It seems that, when a file in the share is crawled, it is ingested in
ElasticSearch with a very specific mapping as follows:
"myindex" is the name of the index and "docs" is the type.

{
 "myindex" : {
   "docs" : {
     "properties" : {
       "_content_type" : {
         "type" : "string"
       },
       "_name" : {
         "type" : "string"
       },
       "allow_token_document" : {
         "type" : "string"
       },
       "allow_token_share" : {
         "type" : "string"
       },
       "deny_token_document" : {
         "type" : "string"
       },
       "deny_token_share" : {
         "type" : "string"
       },
       "file" : {
         "type" : "string"
       },
       "lastModified" : {
         "type" : "string"
       },
       "type" : {
         "type" : "string"
       }
     }
   }
 }
}

I have the following questions:
1) What determines this mapping: The repository connector (in above
scenario the windows share connector), or the ElasticSearch connector?
2) Is there a way that I could specify my own mapping, for example I
would like to map the _name property to something different like
_productname. Where would be the correct place to do this?

Looking forward to any help and suggestions.

Regards,
Hermo Terblanche


============================================================
The information contained in this message may be privileged
and confidential and protected from disclosure. If the reader
of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the
intended recipient, you are hereby notified that any reproduction,
dissemination or distribution of this communication is strictly
prohibited. If you have received this communication in error,
please notify us immediately by replying to the message and
deleting it from your computer. Thank you. Tellabs
============================================================

Reply via email to