Hi,
I am using the Term facet which is of UTF-8 Character,
datacount" : {
"terms" : {
"field" : "valuesource",
"size" : 50
},
"facet_filter" : {
"and" : {
"filters" : [ {
"or" : {
"filters" : [ {
"and" : {
"filters" : [ {
"term" : {
"valuesource" : "Test1"
}
} ]
}
}, {
"and" : {
"filters" : [ {
"term" : {
"valuesource" : "Test2"
}
} ]
}
}, {
"and" : {
"filters" : [ {
"term" : {
"valuesource" : "日本語"
}
} ]
}
},
Here I couldn't get the count of the valuesource " 日本語" . How can I
get the count of this value?
can I get the Count for that facet Term in ES?
Cheers!
George
Hi,
How can I get the Facets for the String which is a
Foreign(UTF-8) Character?
Cheers!
George
On May 17, 11:29 am, George Viju vijuit...@gmail.com wrote:
Hi,
I am using the Term facet which is of UTF-8 Character,
datacount" : {
"terms" : {
"field" : "valuesource",
"size" : 50
},
"facet_filter" : {
"and" : {
"filters" : [ {
"or" : {
"filters" : [ {
"and" : {
"filters" : [ {
"term" : {
"valuesource" : "Test1"
}
} ]
}
}, {
"and" : {
"filters" : [ {
"term" : {
"valuesource" : "Test2"
}
} ]
}
}, {
"and" : {
"filters" : [ {
"term" : {
"valuesource" : "日本語"
}
} ]
}
},
Here I couldn't get the count of the valuesource " 日本語" . How can I
get the count of this value?
can I get the Count for that facet Term in ES?
Cheers!
George
otisg
(Otis Gospodnetić)
May 19, 2012, 1:06am
3
Hi George,
Maybe you can share the response you got?
Which Analyzer is used here?
Otis
On Thursday, May 17, 2012 2:29:18 AM UTC-4, George Viju wrote:
Hi,
I am using the Term facet which is of UTF-8 Character,
datacount" : {
"terms" : {
"field" : "valuesource",
"size" : 50
},
"facet_filter" : {
"and" : {
"filters" : [ {
"or" : {
"filters" : [ {
"and" : {
"filters" : [ {
"term" : {
"valuesource" : "Test1"
}
} ]
}
}, {
"and" : {
"filters" : [ {
"term" : {
"valuesource" : "Test2"
}
} ]
}
}, {
"and" : {
"filters" : [ {
"term" : {
"valuesource" : "日本語"
}
} ]
}
},
Here I couldn't get the count of the valuesource " 日本語" . How can I
get the count of this value?
can I get the Count for that facet Term in ES?
Cheers!
George
Thanks Otis. I am using Default Analyzer. It is working fine.
Cheers!
George
On May 19, 6:06 am, Otis Gospodnetic otis.gospodne...@gmail.com
wrote:
Hi George,
Maybe you can share the response you got?
Which Analyzer is used here?
Otis
On Thursday, May 17, 2012 2:29:18 AM UTC-4, George Viju wrote:
Hi,
I am using the Term facet which is of UTF-8 Character,
datacount" : {
"terms" : {
"field" : "valuesource",
"size" : 50
},
"facet_filter" : {
"and" : {
"filters" : [ {
"or" : {
"filters" : [ {
"and" : {
"filters" : [ {
"term" : {
"valuesource" : "Test1"
}
} ]
}
}, {
"and" : {
"filters" : [ {
"term" : {
"valuesource" : "Test2"
}
} ]
}
}, {
"and" : {
"filters" : [ {
"term" : {
"valuesource" : "日本語"
}
} ]
}
},
Here I couldn't get the count of the valuesource " 日本語" . How can I
get the count of this value?
can I get the Count for that facet Term in ES?
Cheers!
George
Thanks Otis. I am using Default analyzer.
The response I am getting is
"datacount" : {
"_type" : "terms",
"missing" : 0,
"total" : 32,
"other" : 0,
"terms" : [ {
"term" : "",
"count" : 32
} ]
},
But originally the count available is 1. It is showing 32 here.
Cheers!
George
On May 19, 6:06 am, Otis Gospodnetic otis.gospodne...@gmail.com
wrote:
Hi George,
Maybe you can share the response you got?
Which Analyzer is used here?
Otis
On Thursday, May 17, 2012 2:29:18 AM UTC-4, George Viju wrote:
Hi,
I am using the Term facet which is of UTF-8 Character,
datacount" : {
"terms" : {
"field" : "valuesource",
"size" : 50
},
"facet_filter" : {
"and" : {
"filters" : [ {
"or" : {
"filters" : [ {
"and" : {
"filters" : [ {
"term" : {
"valuesource" : "Test1"
}
} ]
}
}, {
"and" : {
"filters" : [ {
"term" : {
"valuesource" : "Test2"
}
} ]
}
}, {
"and" : {
"filters" : [ {
"term" : {
"valuesource" : "日本語"
}
} ]
}
},
Here I couldn't get the count of the valuesource " 日本語" . How can I
get the count of this value?
can I get the Count for that facet Term in ES?
Cheers!
George