Re: Solr: edismax boost not working

2017-12-21 Thread Emir Arnautović
Hi Ruby, Just add fields you want to search in qf and set boost for it. And yes - it can be defined in search handler params - you can set defaults or even use invariants to ignore values passed in url. Edismax has quite a few parameters and you should check docs to see how to use them in your

Re: Solr: edismax boost not working

2017-12-21 Thread ruby
Thanks that worked. But now if I want to search against 3 fields, can that be defined in solrconfig.xml? -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Solr: edismax boost not working

2017-12-21 Thread Erick Erickson
bq: I want to boost to show the document having id=2. but my query is no working. Exactly _how_ is it not working? Boosting just influences position, it doesn't impose an absolute order. It's quite possible that you're successfully changing the score, just not enough to show. Use the debug=all, p

Re: Solr: edismax boost not working

2017-12-21 Thread Emir Arnautović
Hi, Can you try: &wt=json&&defType=edismax&indent=on &q=video &qf=object_desc_NGRAM^10 object_name^2 It is edismax that expands query to search in fields listed in qf. HTH, Emir -- Monitoring - Log Management - Alerting - Anomaly Detection Solr & Elasticsearch Consulting Support Training - http:/