Skip to content

Instantly share code, notes, and snippets.

@qiaohaijun
Forked from ExtAnimal/gist:2636246
Created May 5, 2014 12:33
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 qiaohaijun/4eb50f4eb4be4a008d2f to your computer and use it in GitHub Desktop.
Save qiaohaijun/4eb50f4eb4be4a008d2f to your computer and use it in GitHub Desktop.
cluster:
name: CMTPRODLDN
network:
host: *********
node:
data: true
path:
data: /app/fao/cmt/indexfolder/ES1
boostrap:
mlockall: true
index:
mapper:
dynamic: false
analysis:
analyzer:
default:
type: standard
stopwords: _none_
# 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]
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
http:
enabled: false
discovery:
zen:
initial_ping_timeout: 30
ping:
multicast:
enabled: false
unicast:
enabled: true
hosts: *******
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment