Benoit  
                (Benoît)
               
                 
              
                  
                    November 7, 2012,  3:48pm
                   
                   
              1 
               
             
            
              Hi all,
I've seen on this message 
https://groups.google.com/d/msg/elasticsearch/HESISfuupyc/wQJGiPJeZOcJ  that 
multi_match field parameter support to boost field with a syntax like 
QueryString : field^2
It's pretty useful, but the match query does not support this notation.
Following doesn't work :
{ 
"match" : { 
"message^2" : "this is a test" 
} 
}
The easiest solution is to use multi_match query even if I know that I search only one field ... is there any drawback with this solution ?
Regards.
Benoît
--
             
            
               
               
               
            
            
           
          
            
              
                Benoit  
                (Benoît)
               
              
                  
                    November 7, 2012,  5:09pm
                   
                   
              2 
               
             
            
              Answering partially to myself, this gist 
relevance.sh · GitHub  mentionned in another thread 
show boost parameter in match query.
Benoît
On Wednesday, November 7, 2012 4:48:24 PM UTC+1, Benoît wrote:
Hi all,
I've seen on this message 
https://groups.google.com/d/msg/elasticsearch/HESISfuupyc/wQJGiPJeZOcJthat  multi_match field parameter support to boost field with a syntax like 
QueryString : field^2
It's pretty useful, but the match query does not support this notation.
Following doesn't work :
{ 
"match" : { 
"message^2" : "this is a test" 
} 
}
The easiest solution is to use multi_match query even if I know that I search only one field ... is there any drawback with this solution ?
Regards.
Benoît
 
--
             
            
               
               
               
            
            
           
          
            
              
                mvg  
                (Martijn Van Groningen)
               
              
                  
                    November 8, 2012,  2:03pm
                   
                   
              3 
               
             
            
              All queries support the boost parameter in the query dsl to boost 
individual queries.
Martijn
On 7 November 2012 18:09, Benoît benoit.intrw@gmail.com  wrote:
Answering partially to myself, this gist 
relevance.sh · GitHub  mentionned in another thread 
show boost parameter in match query.
Benoît
On Wednesday, November 7, 2012 4:48:24 PM UTC+1, Benoît wrote:
Hi all,
I've seen on this message 
https://groups.google.com/d/msg/elasticsearch/HESISfuupyc/wQJGiPJeZOcJ  that 
multi_match field parameter support to boost field with a syntax like 
QueryString : field^2
It's pretty useful, but the match query does not support this notation.
Following doesn't work :
{ 
"match" : { 
"message^2" : "this is a test" 
} 
}
The easiest solution is to use multi_match query even if I know that I 
search only one field ... is there any drawback with this solution ?
Regards.
Benoît
 
--
 
-- 
Met vriendelijke groet,
Martijn van Groningen
--