Take a look at Query Elevation Component perhaps?

Best,
Erick


On Wed, Jul 23, 2014 at 8:05 AM, rahulmodi <rahul.m...@ge.com> wrote:

> Hi,
>
> I am struggling how to achieve static boost in solr, i have visited many
> web
> sites but not getting solid answer.
>
> The requirement is as below:
> Suppose i have 100 keywords to search for and for each keyword i want
> particular URL to be appear on top.
>
> Say..
> for keyword *"car"* the URL *"http://car.com"* should be on the top
> for keyword *"building"* the URL *"http://building.com"* should be on the
> top
> for keyword *"java"* the URL *"http://javajee.com"* should be on the top
> And So On....
>
> How to achieve this if there are many no.of keywords or queries and i don't
> want to Hard code in java API as i should not hard coding for hundreds of
> keywords.
> I am using DB crawling and many of the keywords and all the urls are stored
> in DB.
> If i can use some configuration settings to achieve this then it will be
> better.
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/how-to-achieve-static-boost-in-solr-tp4148788.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>

Reply via email to