Thanks Ahmet. Do I need to do anything to enable BoostQParserPlugin in Solr, or is it already enabled?
--- On Sun, 1/3/10, Ahmet Arslan <iori...@yahoo.com> wrote: From: Ahmet Arslan <iori...@yahoo.com> Subject: Re: Any way to modify result ranking using an integer field? To: solr-user@lucene.apache.org Date: Sunday, January 3, 2010, 5:45 PM > Is there any way to modify result > ranking using an integer field? > > I have documents that have an integer field "popularity". > > I want to rank results by a combination of normal fulltext > search > relevance and popularity. It's kinda like search in digg - > result > ranking is based on the search relevance as well as how > many digs a > posting has. > I don't have any specific ranking algorithm in mind. But > is this > something that can be done with solr? Yes. http://lucene.apache.org/solr/api/org/apache/solr/search/BoostQParserPlugin.html