lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitriy Shvadskiy <>
Subject Boosting non synonyms result
Date Tue, 17 May 2011 22:45:15 GMT
Is there a way to boost the result that is an exact match as oppose to
synonym match when using query time synonyms?
Given the query John Smith and synonyms

I'd like result containing John Smith to be ranked higher then Jonathan
My thinking was to do it by defining 2 fields: 1 with query time synonyms
and 1 without and sort by a function query of a non-synonym field. Is it
even possible? I can't quite figure out the syntax for this.
I'm using Solr 3.1.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message