abdo  
                (abdo)
               
                 
              
                  
                    April 21, 2013, 11:38am
                   
                   
              1 
               
             
            
              Hi all
I need to index some json documents with some fields containing new lines 
in a bulk operation, the operation fails.
any help will be appreciated
regards
Abelmuhaimn
-- 
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+unsubscribe@googlegroups.com . 
For more options, visit https://groups.google.com/groups/opt_out .
             
            
               
               
               
            
            
           
          
            
              
                jprante  
                (Jörg Prante)
               
              
                  
                    April 21, 2013, 11:56am
                   
                   
              2 
               
             
            
              The newline is a reserved character in JSON bulk streams, you have to 
escape the character.
Jörg
Am 21.04.13 13:38, schrieb Abdelmuhaimen Mohamed:
Hi all
I need to index some json documents with some fields containing new 
lines in a bulk operation, the operation fails.
any help will be appreciated
 
-- 
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+unsubscribe@googlegroups.com . 
For more options, visit https://groups.google.com/groups/opt_out .