"{"callBackUrl":"http://10.120.5.224:54381/Warehouse/CallBack?jobId=","oozieID":"","startDate":1358121600000,"endDate":1360972799999,"countries":[],"languageIds":[],"query":{
"type": "term", "term":""foo bar" buz"}}"
"{"startDate":1358121600000,"endDate":1360972799999,"countries":[],"languageIds":[],"query":{
"type": "term", "term":""foo bar" buz"}}"
"{"startDate":1358121600000,"endDate":1360972799999,"countries":[],"languageIds":[],"query":{
"type": "term", "term":"foo bar"}}"
Just a Reminder
org.elasticsearch.index.query. MultiMatchQueryBuilder
Hi
I have this query
{
"filtered": {
"query": {
"constant_score": {
"query": {
"bool": {
"must": [
{
"multi_match": {
"query": "twitter",
"fields": [
"authorName",
"authorTags",
"cnt_en"
],
"type": "boolean",
"operator": "AND",
"use_dis_max": false
}
},
{
"multi_match": {
"query": "the",
"fields": [
"authorName",
"authorTags",
"cnt_en"
],
"type": "boolean",
"operator": "AND",
"use_dis_max": false
}
}
]
}
},
"boost": 1
}
},
"filter": {
"and": {
"filters": [
{
"numeric_range": {
"publishedDate": {
"from": 1358208000000,
"to": 1361059199999,
"include_lower": true,
"include_upper": true
}
}
}
]
}
}
}
}
“the ” is a stop word in query
When I send this to ES I am applying custom analysis and in it I am
applying stop word when ES look this it get all result for twitter but when
it intersect it with other part “the” there are no result as it was removed
by stop word so I get no result but I want to get same number of result as
I get only for twitter . is there a way that ES don’t apply intersect when
it find a stop word or can it remove “AND”
Thanks
--
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.