Re: solr boosting any perticular URL

2014-07-20 Thread parnab kumar
Look into query elevation component... https://wiki.apache.org/solr/QueryElevationComponent Thanks, Parnab.. Cork, Ireland On Thu, Jul 17, 2014 at 7:58 PM, rahulmodi wrote: > Hi There, > > I am new to Solr. My client is asking me to boost a particular URL so that > it should appear on the top

Re: solr boosting any perticular URL

2014-07-18 Thread Umesh Prasad
PS : You can give huge boosts to url at query time on a per request basis. Don't specify the bqs on solrconfig.xml .. Always determine add bqs for the query at run time.. On 18 July 2014 15:49, Umesh Prasad wrote: > Or you can give huge boosts to url at query time. If you are using dismax > th

Re: solr boosting any perticular URL

2014-07-18 Thread Umesh Prasad
Or you can give huge boosts to url at query time. If you are using dismax then you can use bq like bq = myfield:url1 ^ 50 .. That will bring up url1 as the first result always. On 18 July 2014 15:27, benjelloun wrote: > hello, > > before index the URL to a field in Solr, you can use j

Re: solr boosting any perticular URL

2014-07-18 Thread benjelloun
hello, before index the URL to a field in Solr, you can use java api(Solrj) and do a test if(URL=="") index on field1 else index on field2 then use edismax to boost a specific field: explicit 10 edismax field1^5.0 field2^1.0 -- View this

Re: solr boosting any perticular URL

2014-07-17 Thread Michael Della Bitta
Rahul, Check out the relevancy FAQ. You probably want to boost that field value at index time, or use the query elevation component. http://wiki.apache.org/solr/SolrRelevancyFAQ Michael Della Bitta Applications Developer o: +1 646 532 3062 appinions inc. “The Science of Influence Marketing”