manifoldcf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nichols, Richard" <>
Subject RE: ElasticSearch Mappings Question
Date Fri, 12 Jul 2013 21:12:51 GMT

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.


-----Original Message-----
From: Karl Wright []
Sent: Friday, July 12, 2013 9:26 AM
To: Hermo;
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

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


Sent from my Windows Phone
From: Hermo
Sent: 7/12/2013 9:30 AM
Subject: ElasticSearch Mappings Question

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.

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

View raw message