Skip to content

Instantly share code, notes, and snippets.

@dav-rob
Created January 3, 2014 18:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dav-rob/8243311 to your computer and use it in GitHub Desktop.
Save dav-rob/8243311 to your computer and use it in GitHub Desktop.
cluster:
name: CMTDEV1
network:
host: vcll36a-1001.equity.csfb.com
node:
data: true
path:
data: /app/fao/cmt/indexfolder/ES1
boostrap:
mlockall: true
index:
number_of_replicas: 0
mapper:
dynamic: false
analysis:
analyzer:
default:
# type: standard
# stopwords: _none_
type: custom
tokenizer: whitespace
filter: [standard, lowercase, asciifolding]
# sortable is used to enable case-independent sorting
sortable:
tokenizer: keyword
filter: [lowercase]
# uax_url_email is used to analyse emails and urls in addition to the other standard analyser actions.
uax_url_email:
tokenizer: uax_url_email
filter: [lowercase]
# for custom columns
customized:
type: pattern
pattern: "[\\s~]+"
stopwords: _none_
# for telephone numbers
phonenumber:
type: pattern
pattern: "[\\s-]+"
# for segmentation columns
regionalseg:
type: pattern
pattern: "[\\s,]+"
script.native:
my.type: com.cs.cts.crm.elasticsearch.util.CustomColumnSorterFactory
my.lang: native
myLatestActivity.type: com.cs.cts.crm.elasticsearch.util.MyLatestActivitySorterFactory
myLatestActivity.lang: native
latestActivityDate.type: com.cs.cts.crm.elasticsearch.util.LastActivityDateSorterFactory
latestActivityDate.lang: native
singleCustomColumn.type: com.cs.cts.crm.elasticsearch.util.SingleCustomColumnSorterFactory
singleCustomColumn.lang: native
latestActivityBy.type: com.cs.cts.crm.elasticsearch.util.LatestActivityBySorterFactory
latestActivityBy.lang: native
customStringSort.type: com.cs.cts.crm.elasticsearch.util.StringSortFactory
customStringSort.lang: native
http:
enabled: true
discovery:
zen:
initial_ping_timeout: 30
ping:
multicast:
enabled: false
unicast:
enabled: true
hosts: vcll36a-1001.equity.csfb.com:9400,vcll36a-1001.equity.csfb.com:9401,vcll36a-1001.equity.csfb.com:9402,vcll36a-1001.equity.csfb.com:9403,vcll36a-1001.equity.csfb.com:9404,vcll36a-1001.equity.csfb.com:9405,vcll36a-1001.equity.csfb.com:9406,vcll36a-1001.equity.csfb.com:9407,vcll36a-1001.equity.csfb.com:9408,vcll36a-1001.equity.csfb.com:9409,vcll36a-1001.equity.csfb.com:9410
transport.tcp.port: 9400-9450
http.port: 9451-9500
compress.lzf.decoder: safe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment