Thanks a lot for your reply.

Consider the below query

?q=data management&defType=edismax&qf=name^100 text uid^0.3&fl=name

I am trying to boost the name as much as possible, even then the results are
in below order

- <doc>
  <str name="name">MANAGER</str> 
  </doc>
- <doc>
  <str name="name">MANAGER</str> 
  </doc>
- <doc>
  <str name="name">MANAGERS</str> 
  </doc>
- <doc>
  <str name="name">...AA DATA MANAGEMENT</str> 
  </doc>
- <doc>
  <str name="name">BA...AA DATA MANAGEMENT</str> 

When I turned on the debug query, I figured out that the actual keyword
passed is stemmed due to usage of PorterStemFilterFactory which actually
splits the keyword in to data manag and passes that to search.

I  am using PorterStemFilterFactory for both indexing / query.

I will try to remove the porter stem from query and check if I am getting
proper result.

Thanks.
BB

Thanks,
BB




--
View this message in context: 
http://lucene.472066.n3.nabble.com/How-to-boost-exact-match-tp4015862p4015915.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to