Here's one way to do it using dismax.

1. You'll have two fields. 
title_text which is has a type of TextField
title_string which has type String. This is an exact match field.

2. Set the dismax qf=title_string^10 title_text^1


You could even make this better by doing also handling infix searches.
Create a field title_ngram which uses the ngram type. Set dismax qf =
title_string^10 title_text^5 title_ngram^1







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

Reply via email to