(no subject)


(Abhishek Jajoria) #1

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.


(Shay Banon) #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.


(Abhishek Jajoria) #3

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.


(Abhishek Jajoria) #4

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.


(Abhishek Jajoria) #5

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.


(system) #6