Have you tried boost query? bq=provider:fred wunder
On Jan 17, 2013, at 9:08 PM, Jack Krupansky wrote: > Start with "Query Elevation" and see if that helps: > http://wiki.apache.org/solr/QueryElevationComponent > > Index-time document boost is a possibility. > > Maybe an ExternalFileField where every document could have a dynamic boost > value that you add with a boost function. > > -- Jack Krupansky > > -----Original Message----- From: Shawn Heisey > Sent: Thursday, January 17, 2013 4:11 PM > To: solr-user@lucene.apache.org > Subject: Questions about boosting > > I've been trying to figure this out on my own, but I've come up empty so > far. I need to boost documents from a certain provider. The idea is > that if any documents in a result match a separate query (like > provider:bigbucks), I need to multiply the score by X. It's important > that the result set of the actual query is not changed, just the order. > > I've tried a few things from the relevancy page on the wiki but so far I > can't seem to get anything to work. What syntax should I be using? Is > it possible to do this at query time? > > Thanks, > Shawn