Hi,
I am searching with highlight in child table but i am not
getting the result for highlight. I here mentioned the query for
searching with highlight.
Qurey:
curl -XGET 'http://localhost:9200/dbp11/metadata/search' -d
'{ "query" :{"term" : {"field1" : "arul"} }, "from" : 0, "size" : 100,
"highlight" : { "tags_schema" : "styled" ,"pre_tags" : [ " <a href=
"#hl- -focus"> <span id="high-_-light" style="background-
color: #FFFF00 ; color: red;">" ] ,"post_tags" : [ "</
span>" ] ,"fields" : {"field1" : {"fragment_size" :
1500,"number_of_fragments" : 1000 } } }, "explain" : false,"fields" :
["field1","field2" ] }'
Result:
{"took":0,"_shards":{"total":5,"successful":5,"failed":0},"hits":
{"total":1,"max_score":0.625,"hits":
[{"_index":"dbp11","_type":"metadata","_id":"4c-M7ySjRi-
ZVNMIJTnq9Q","_score":0.625,"fields":
{"field1":"arul","filed2":"kumar"},"highlight":{"m_enddoc":null}}]
}}
Questions:
Is it possible to highlight in child table, if yes means please give
me a sample?
kimchy
(Shay Banon)
January 3, 2011, 10:50am
2
No, highlighting on a child doc (or fetching its content) is still not
supported.
On Mon, Jan 3, 2011 at 12:48 PM, senthil prabhu senthilsebi@gmail.com wrote:
Hi,
I am searching with highlight in child table but i am not
getting the result for highlight. I here mentioned the query for
searching with highlight.
Qurey:
curl -XGET 'http://localhost:9200/dbp11/metadata/search' -d
'{ "query" :{"term" : {"field1" : "arul"} }, "from" : 0, "size" : 100,
"highlight" : { "tags_schema" : "styled" ,"pre_tags" : [ " <a href=
"#hl- -focus"> <span id="high-_-light" style="background-
color: #FFFF00 ; color: red;">" ] ,"post_tags" : [ "</
span>" ] ,"fields" : {"field1" : {"fragment_size" :
1500,"number_of_fragments" : 1000 } } }, "explain" : false,"fields" :
["field1","field2" ] }'
Result:
{"took":0,"_shards":{"total":5,"successful":5,"failed":0},"hits":
{"total":1,"max_score":0.625,"hits":
[{"_index":"dbp11","_type":"metadata","_id":"4c-M7ySjRi-
ZVNMIJTnq9Q","_score":0.625,"fields":
{"field1":"arul","filed2":"kumar"},"highlight":{"m_enddoc":null}}]
}}
Questions:
Is it possible to highlight in child table, if yes means please give
me a sample?
thank you...
can i expect this (highlighting on a child doc or
fetching its content) feature in next release...
On Jan 3, 3:50 pm, Shay Banon shay.ba...@elasticsearch.com wrote:
No, highlighting on a child doc (or fetching its content) is still not
supported.
On Mon, Jan 3, 2011 at 12:48 PM, senthil prabhu senthils...@gmail.com wrote:
Hi,
I am searching with highlight in child table but i am not
getting the result for highlight. I here mentioned the query for
searching with highlight.
Qurey:
curl -XGET 'http://localhost:9200/dbp11/metadata/search'-d
'{ "query" :{"term" : {"field1" : "arul"} }, "from" : 0, "size" : 100,
"highlight" : { "tags_schema" : "styled" ,"pre_tags" : [ " <a href=
"#hl- -focus"> <span id="high-_-light" style="background-
color: #FFFF00 ; color: red;">" ] ,"post_tags" : [ "</
span>" ] ,"fields" : {"field1" : {"fragment_size" :
1500,"number_of_fragments" : 1000 } } }, "explain" : false,"fields" :
["field1","field2" ] }'
Result:
{"took":0,"_shards":{"total":5,"successful":5,"failed":0},"hits":
{"total":1,"max_score":0.625,"hits":
[{"_index":"dbp11","_type":"metadata","_id":"4c-M7ySjRi-
ZVNMIJTnq9Q","_score":0.625,"fields":
{"field1":"arul","filed2":"kumar"},"highlight":{"m_enddoc":null}}]
}}
Questions:
Is it possible to highlight in child table, if yes means please give
me a sample?
kimchy
(Shay Banon)
January 3, 2011, 1:39pm
4
Chances for it getting to the next release are low.
On Mon, Jan 3, 2011 at 2:29 PM, senthil prabhu senthilsebi@gmail.com wrote:
thank you...
can i expect this (highlighting on a child doc or
fetching its content) feature in next release...
On Jan 3, 3:50 pm, Shay Banon shay.ba...@elasticsearch.com wrote:
No, highlighting on a child doc (or fetching its content) is still not
supported.
On Mon, Jan 3, 2011 at 12:48 PM, senthil prabhu <senthils...@gmail.com
wrote:
Hi,
I am searching with highlight in child table but i am not
getting the result for highlight. I here mentioned the query for
searching with highlight.
Qurey:
curl -XGET 'http://localhost:9200/dbp11/metadata/search'-d
'{ "query" :{"term" : {"field1" : "arul"} }, "from" : 0, "size" : 100,
"highlight" : { "tags_schema" : "styled" ,"pre_tags" : [ " <a href=
"#hl- -focus"> <span id="high-_-light" style="background-
color: #FFFF00 ; color: red;">" ] ,"post_tags" : [ "</
span>" ] ,"fields" : {"field1" : {"fragment_size" :
1500,"number_of_fragments" : 1000 } } }, "explain" : false,"fields" :
["field1","field2" ] }'
Result:
{"took":0,"_shards":{"total":5,"successful":5,"failed":0},"hits":
{"total":1,"max_score":0.625,"hits":
[{"_index":"dbp11","_type":"metadata","_id":"4c-M7ySjRi-
ZVNMIJTnq9Q","_score":0.625,"fields":
{"field1":"arul","filed2":"kumar"},"highlight":{"m_enddoc":null}}]
}}
Questions:
Is it possible to highlight in child table, if yes means please give
me a sample?