Re: pf (Phrase Fields) Query expansion and maxClauseCount nested clause issue in Solr 9.2

2023-11-07 Thread Mikhail Khludnev
Here's the Lucene change https://github.com/apache/lucene/issues/10247 It will be interesting to experiment with old logic of deeply nesting spans, but with intervals. On Mon, Nov 6, 2023 at 11:00 PM Karun G wrote: > Hello, > > Trying to upgrade from solr 8.9.0 to 9.2 and got the issue as below.

Re: Disk cleanup of deleted data

2023-11-07 Thread Koen De Groote
Hello Jan, Thanks for the article and suggestions. On Fri, Nov 3, 2023 at 2:11 PM Jan Høydahl wrote: > Hi, > > What's going on is Lucene doing merges of segments, and when it so does, > all documents marked for deletion in the old segments are gone, freeing up > space. I recommend planning for

Re: Solr Operator Tutorial

2023-11-07 Thread Jason Gerlowski
Hey, thanks for sharing. Each version of the operator supports a range of Solr versions. The latest operator version (0.8.0) only supports Solr versions >= 8.11. It looks like the tutorial you were following along with hasn't been updated to match the range of Solr versions, which is definitely

Re: pf (Phrase Fields) Query expansion and maxClauseCount nested clause issue in Solr 9.2

2023-11-07 Thread Karun G
Mikhail, Thanks for the comment. Is this considered a bug or as a new feature with no plan to address this type of query expansion in further releases? thanks. On Tue, Nov 7, 2023 at 3:00 AM Mikhail Khludnev wrote: > Here's the Lucene change > https://github.com/apache/lucene/issues/10247 > It

Re: pf (Phrase Fields) Query expansion and maxClauseCount nested clause issue in Solr 9.2

2023-11-07 Thread Mikhail Khludnev
It's a feature. No plan to address, beside my earlier idea to prototype expansion to intervals, but I couldn't find anyone who's interested in evaluation, and suspended prototyping. So, it's worth revising the problem definition and approach. On Tue, Nov 7, 2023 at 5:40 PM Karun G wrote: > Mikha

Rerank top-k by field

2023-11-07 Thread Tomasz Elendt
Hey, If I want to rerank (rq={!ltr ...}) the window of top-k results but that top-k is not selected by a regular query-to-doc similarity score, but by a value of a date field (so technically, rerank k most recent), how should I do it? Is ?q={!func}ms(my_date_field) the only way? Or is there a

Re: Vector math with Streaming Expressions?

2023-11-07 Thread Eric Pugh
Just got to give this a try and it worked GREAT!Here is the working example (that will be in the upcoming “How to use Vectors” tutorial): let( a=select( search(films, qt="/select", q="name:"Finding Nemo" OR name:"Bee Movie" OR name:"Harry Potter and the Chamber of S

Re: pf (Phrase Fields) Query expansion and maxClauseCount nested clause issue in Solr 9.2

2023-11-07 Thread Karun G
Mikhail, thanks for the clarification. Many regards.. On Tue, Nov 7, 2023 at 10:04 AM Mikhail Khludnev wrote: > It's a feature. No plan to address, beside my earlier idea to prototype > expansion to intervals, but I couldn't find anyone who's interested in > evaluation, and suspended prototyping

Re: pf (Phrase Fields) Query expansion and maxClauseCount nested clause issue in Solr 9.2

2023-11-07 Thread Chris Hostetter
: Mikhail, Thanks for the comment. Is this considered a bug or as a new : feature with no plan to address this type of query expansion in further : releases? It is a documented feature in Lucene (to prevent query explosion) with the change in behavior called out in the "Major Changes" section o

Re: pf (Phrase Fields) Query expansion and maxClauseCount nested clause issue in Solr 9.2

2023-11-07 Thread Karun G
Hoss, Thanks for the update. Any idea how to handle this exact query (which was giving no results before upgrade and now gives error and pushes query to a big loop for maxBooleanClauses issue ) , Many regards. http://localhost:8983/solr/techproducts/select?start=0&rows=0&defType=edismax&pf=title