sudarshan  
                (sudarshan reddy)
               
                 
              
                  
                    August 10, 2016,  5:54am
                   
                   
              1 
               
             
            
              Hi,
I am loading data into elastic search using Java API .
I have a column in a table which have multiple words.I have indexed that table into elastic search.
When I am visualizing it in Kibana , I have a word split in that column.
What can I do to make it as a single word without splitting.
I think white space analyzer should be used, but I don't know how to use it in Java API .
Thank You.
             
            
               
               
               
            
            
           
          
            
              
                johtani  
                (Jun Ohtani)
               
              
                  
                    August 10, 2016,  6:27am
                   
                   
              2 
               
             
            
              Hi,
Could you read this https://www.elastic.co/guide/en/elasticsearch/guide/2.x/aggregations-and-analysis.html  ? 
You should set the mapping using not_analyzed to your index.
             
            
               
               
               
            
            
           
          
            
              
                sudarshan  
                (sudarshan reddy)
               
              
                  
                    August 10, 2016,  7:56am
                   
                   
              3 
               
             
            
              Yeah , 
I got it. 
But  how can I use it in JAVA API.
Thank You
             
            
               
               
               
            
            
           
          
            
              
                dadoonet  
                (David Pilato)
               
              
                  
                    August 10, 2016,  8:27am
                   
                   
              4