can i apply analyzer in the nested field document ? what could be the
mapping for that?
suppose I want to create a mapping
String map = " {"my" : {"properties" : {"field" : {"type" :
"nested"}}}}";
here is a document which i send in the above mapping index .
{"raftaar" : [{"name" : "blue","count" : 4},{"name" :
"green","count" : 6 }]}
I want to analyze name field in the standard is it possible to this.
A simple example would be worth it .
Thank you.
kimchy
(Shay Banon)
March 1, 2012, 12:41pm
2
A "nested" type wraps an object, you need to map the internal relevant "core" type fields with the relevant analyzer.
On Thursday, March 1, 2012 at 12:02 PM, jajoria abhishek wrote:
can i apply analyzer in the nested field document ? what could be the mapping for that?
suppose I want to create a mapping
String map = " {"my" : {"properties" : {"field" : {"type" : "nested"}}}}";
here is a document which i send in the above mapping index .
{"raftaar" : [{"name" : "blue","count" : 4},{"name" : "green","count" : 6 }]}
I want to analyze name field in the standard is it possible to this.
A simple example would be worth it .
Thank you.
Can I apply nested query in that mapping
On Thu, Mar 1, 2012 at 6:11 PM, Shay Banon kimchy@gmail.com wrote:
A "nested" type wraps an object, you need to map the internal relevant
"core" type fields with the relevant analyzer.
On Thursday, March 1, 2012 at 12:02 PM, jajoria abhishek wrote:
can i apply analyzer in the nested field document ? what could be the
mapping for that?
suppose I want to create a mapping
String map = " {"my" : {"properties" : {"field" : {"type" :
"nested"}}}}";
here is a document which i send in the above mapping index .
{"raftaar" : [{"name" : "blue","count" : 4},{"name" :
"green","count" : 6 }]}
I want to analyze name field in the standard is it possible to this.
A simple example would be worth it .
Thank you.
Or how can I query that mapping
On Fri, Mar 2, 2012 at 10:15 AM, jajoria abhishek <
jajoria.abhishek@gmail.com > wrote:
Can I apply nested query in that mapping
On Thu, Mar 1, 2012 at 6:11 PM, Shay Banon kimchy@gmail.com wrote:
A "nested" type wraps an object, you need to map the internal relevant
"core" type fields with the relevant analyzer.
On Thursday, March 1, 2012 at 12:02 PM, jajoria abhishek wrote:
can i apply analyzer in the nested field document ? what could be the
mapping for that?
suppose I want to create a mapping
String map = " {"my" : {"properties" : {"field" : {"type" :
"nested"}}}}";
here is a document which i send in the above mapping index .
{"raftaar" : [{"name" : "blue","count" : 4},{"name" :
"green","count" : 6 }]}
I want to analyze name field in the standard is it possible to this.
A simple example would be worth it .
Thank you.
I got it sir
On Fri, Mar 2, 2012 at 10:52 AM, jajoria abhishek <
jajoria.abhishek@gmail.com > wrote:
Or how can I query that mapping
On Fri, Mar 2, 2012 at 10:15 AM, jajoria abhishek <
jajoria.abhishek@gmail.com > wrote:
Can I apply nested query in that mapping
On Thu, Mar 1, 2012 at 6:11 PM, Shay Banon kimchy@gmail.com wrote:
A "nested" type wraps an object, you need to map the internal relevant
"core" type fields with the relevant analyzer.
On Thursday, March 1, 2012 at 12:02 PM, jajoria abhishek wrote:
can i apply analyzer in the nested field document ? what could be the
mapping for that?
suppose I want to create a mapping
String map = " {"my" : {"properties" : {"field" : {"type" :
"nested"}}}}";
here is a document which i send in the above mapping index .
{"raftaar" : [{"name" : "blue","count" : 4},{"name" :
"green","count" : 6 }]}
I want to analyze name field in the standard is it possible to this.
A simple example would be worth it .
Thank you.