Re: How to get boosted field and values?

2020-03-25 Thread Taisuke Miyazaki
Hi, I knew I could get that information by using the "debug" query parameter, but I want to use it in "production". If I want to use it in "production", I have to write a plugin? 2020年3月25日(水) 9:03 Yasufumi Mizoguchi : > Hi, > > I think "debug" query parameter or "explain" document transformer

Re: How to get boosted field and values?

2020-03-25 Thread Charlie Hull
Try splainer.io - it parses the Debug output to show in detail how the scores are calculated (disclaimer, I work for OSC who created it - but it's free & open source of course ). Charlie On 23/03/2020 01:26, Taisuke Miyazaki wrote: The blog looks like it's going to be useful from now on, so I

Re: How to get boosted field and values?

2020-03-24 Thread Yasufumi Mizoguchi
Hi, I think "debug" query parameter or "explain" document transformer will help you to know which fields and query conditions are boosted. https://lucene.apache.org/solr/guide/7_5/common-query-parameters.html https://lucene.apache.org/solr/guide/7_5/transforming-result-documents.html Thanks, Yas

Re: How to get boosted field and values?

2020-03-22 Thread Taisuke Miyazaki
The blog looks like it's going to be useful from now on, so I'll take a look.Thank you. What I wanted, however, was a way to know what field was boosted as a result. But I couldn't find a way to do that, so instead I tried to get the field and value out of the resulting score by putting a binary b

Re: How to get boosted field and values?

2020-03-20 Thread Alessandro Benedetti
Hi Taisuke, there are various ways of approaching boosting and scoring in Apache Solr. First of all you must decide if you are interested in multiplicative or additive boost. Multiplicative will multiply the score of your search result by a certain factor while the additive will just add the factor

How to get boosted field and values?

2020-03-19 Thread Taisuke Miyazaki
I'm using Solr 7.5.0. I want to get boosted field and values per documents. e.g. documents: id: 1, features: [1] id: 2, features: [1,2] id: 3, features: [1,2,3] query: bq: features:2^1.0 AND features:3^1.0 I expect results like below. boosted: - id: 2 - field: features, value: 2