I used the following query,
{
"type": "jdbc",
"jdbc": {
"strategy": "simple",
"driver": "com.mysql.jdbc.Driver",
"url": "jdbc:mysql://192.168.43.204:3306/BacheCompany",
"user": "turbodbuser",
"password": "turbo@2012",
"sql": "SELECT DISTINCT b.joMasterID as
_id,a.jobStatus,a.joStatusID,b.*,c.Name FROM joMaster AS b LEFT JOIN
joStatus AS a ON b.jobstatus=a.joStatusID LEFT JOIN rxMaster AS c ON
c.rxMasterID=b.rxCustomerID",
"poll": "10s",
"autocommit": true
},
"index": {
"index": "turbo1",
"type": "jobs1",
"bulk_timeout": "60s",
"index_settings": {
"analysis": {
"analyzer": {
"synonym": {
"tokenizer": "whitespace",
"filter": [
"synonym"
]
}
},
"filter": {
"synonym": {
"type": "synonym",
"format": "wordnet",
"synonyms_path": "analysis/prolog/wn_s.pl"
}
}
}
}
}
}
But the tokenizer is not working me. Can anyone suggest me the solution
--
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.
For more options, visit https://groups.google.com/groups/opt_out.