Optimize latency of queries with facets

2024-01-02 Thread rajani m
Hi Solr Users, Queries with facets show 2x increase in latency. This facet field is a boolean field with docvalues enabled[1]. Same queries without facets have ~50 ms and with facets it is ~120ms. Is this an expected performance? Appreciate any suggestions to optimize it. Additional details

R: R: stopfilter nullpointerexception

2024-01-02 Thread Danilo Tomasoni
Thank you! [cid:1e01df3b-b540-485b-a5f2-21e977b59ba5] Danilo Tomasoni Data Scientist & Software Engineer +39 0464 808845 tomas...@cosbi.eu www.cosbi.eu [cid:82060a1e-85b9-44fc-a283-04084a53244a]

Re: Dense Vector - Similarity Function

2024-01-02 Thread Charlie Hull
I'm really glad Alessandro has been explicit about the challenges around developing open source software such as Solr. Simply put, there is lots of work and not enough people able or willing to do it. At my previous company Flax we funded a lot of Lucene/Solr development over the years, and Op

Re: Dense Vector - Similarity Function

2024-01-02 Thread Alessandro Benedetti
Are you a Lucene or a Solr user? I assumed the latter. In Apache Solr It's not only not released yet, it's not implemented yet. There's no official roadmap in Apache Solr no there's no release date for that functionality. That feature is among the ones I and my company want to contribute but we l

Re: R: stopfilter nullpointerexception

2024-01-02 Thread Andreas Hubold
There's already a bug report: https://issues.apache.org/jira/browse/SOLR-16203 Danilo Tomasoni schrieb am 02.01.24 um 12:11: Hello and happy new year! Indeed reverting back to 'class' attribute in place of 'name' did the trick, now I don't see any nullpointerexception anymore. Thank you! Ple

Re: Dense Vector - Similarity Function

2024-01-02 Thread Iram Tariq
Hi, What Mikhail mentioned is the answer to all my questions but sadly it is not released yet. Is there any way I can use this unreleased version for now or when it is going to be released ? and yes I want to rescore all topK results based on recency. Regards, Iram Tariq | Software Architect

R: stopfilter nullpointerexception

2024-01-02 Thread Danilo Tomasoni
Hello and happy new year! Indeed reverting back to 'class' attribute in place of 'name' did the trick, now I don't see any nullpointerexception anymore. Thank you! Please let me know if I should fill in a bug report. this is my stopwords.txt in conf folder, that I think is just the default: # Li

Re: Dense Vector - Similarity Function

2024-01-02 Thread Alessandro Benedetti
Hi Iram, following up on Mikhail's answer: 1) K Nearest Neighbour is a retrieval approach intended to look for the closest(approximate) K vectors to a query one. "override the existing function or write a custom method to give a high score to the latest documents" It seems suspicious to me. It's