Re: Mapper Parsing Exception

2014-09-17 Thread Maria John Franklin
yes u are right .But i have data's like that. what can i do?


On Wednesday, September 17, 2014 6:18:00 PM UTC+5:30, David Pilato wrote:

 You can't. If test2 is a string for the first doc, it can not be an object 
 for the second doc.

 What are you trying to do?

 -- 
 *David Pilato* | *Technical Advocate* | *Elasticsearch.com*
 @dadoonet https://twitter.com/dadoonet | @elasticsearchfr 
 https://twitter.com/elasticsearchfr


 Le 17 septembre 2014 à 14:46:24, Maria John Franklin (
 mariajoh...@mycura.com javascript:) a écrit:

 Hi Friends, 

How to push dynamic data types in  same column in elasticsearch.

 Example json
 ==
 data 1
 ==
 {
   test1:test,
  test2:test
 }


  data 2
 ==
 {
   test1:test,
  test2:{ test3:test}
 }
  
 Thanks,
 Franklin
  --
 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 elasticsearc...@googlegroups.com javascript:.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/elasticsearch/33f1fd5f-9a5f-41af-b378-9e348445aa31%40googlegroups.com
  
 https://groups.google.com/d/msgid/elasticsearch/33f1fd5f-9a5f-41af-b378-9e348445aa31%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.



-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/1554290e-2de0-4e3c-92ec-cf709e0fb0f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Mapper Parsing Exception

2014-09-17 Thread Maria John Franklin
 Hi Pilato,

Those data's coming from another site.. I can't change data values. Any 
option in elasticsearch?

On Wednesday, September 17, 2014 6:18:00 PM UTC+5:30, David Pilato wrote:

 You can't. If test2 is a string for the first doc, it can not be an object 
 for the second doc.

 What are you trying to do?

 -- 
 *David Pilato* | *Technical Advocate* | *Elasticsearch.com*
 @dadoonet https://twitter.com/dadoonet | @elasticsearchfr 
 https://twitter.com/elasticsearchfr


 Le 17 septembre 2014 à 14:46:24, Maria John Franklin (
 mariajoh...@mycura.com javascript:) a écrit:

 Hi Friends, 

How to push dynamic data types in  same column in elasticsearch.

 Example json
 ==
 data 1
 ==
 {
   test1:test,
  test2:test
 }


  data 2
 ==
 {
   test1:test,
  test2:{ test3:test}
 }
  
 Thanks,
 Franklin
  --
 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 elasticsearc...@googlegroups.com javascript:.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/elasticsearch/33f1fd5f-9a5f-41af-b378-9e348445aa31%40googlegroups.com
  
 https://groups.google.com/d/msgid/elasticsearch/33f1fd5f-9a5f-41af-b378-9e348445aa31%40googlegroups.com?utm_medium=emailutm_source=footer
 .
 For more options, visit https://groups.google.com/d/optout.



-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/a92ecc47-5fce-4351-8514-842a9ba8c432%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.