[LTR] Boolean feature in FieldValueFeature class always true

2025-05-16 Thread Anna Ruggero
*org.apache.solr.ltr.feature.FieldValueFeature.FieldValueFeatureWeight#scorer* . Would it be safe to remove it completely since it is always true? Suppose it is a condition we need to check, why not to use the *org.apache.solr.schema.SchemaField#useDocValuesAsStored* method instead? Thank you, *Anna Ruggero* R&D Machine Learning / Soft

Re: NullPointerException in ReRankScaler.explain

2023-09-15 Thread Anna Ruggero
Ok, thank you. *Anna Ruggero* R&D Machine Learning / Software Engineer, Search Consultant e-mail: a.rugg...@sease.io *Sease* - Information Retrieval Applied Consulting | Training | Open Source Sease.io <http://sease.io/> LinkedIn <https://linkedin.com/company/sease-ltd>

NullPointerException in ReRankScaler.explain

2023-09-11 Thread Anna Ruggero
.java:1149)\n\tat java.base/java.lang.Thread.run(Thread.java:833)\n", "code": 500 } *Anna Ruggero* R&D Machine Learning / Software Engineer, Search Consultant e-mail: a.rugg...@sease.io *Sease* - Information Retrieval Applied Consulting | Training | Open Source Sease.io <

RE: Re: Unuseful block of code in ltr module

2021-12-03 Thread Anna Ruggero
ache Lucene/Solr Committer > > Director, R&D Software Engineer, Search Consultant > > > > www.sease.io > > > > > > On Wed, 10 Nov 2021 at 16:41, Anna Ruggero wrote: > > > >> Hi all, > >> > >> I was looking at the *org.apache.so

Unuseful block of code in ltr module

2021-11-10 Thread Anna Ruggero
Hi all, I was looking at the *org.apache.solr.ltr.LTRRescorer#scoreFeatures *method. Since we are using reranking applied to some topN documents (rerankDocs parameter) I think that this block of code in *org.apache.solr.ltr.LTRRescorer#scoreSingleHit *will never be accessed: if (hitUpto >= topN)