Re: Relative cpu cost of fetching term frequency during scoring

2023-06-21 Thread Vimal Jain
frequency calls on PostingsEnum are that slow ? *Thanks and Regards,* *Vimal Jain* On Wed, Jun 21, 2023 at 1:43 PM Adrien Grand wrote: > As far as your performance problem is concerned, I don't know. Can you > compare the number of documents that need to be evaluated in both cases, > e

Re: Relative cpu cost of fetching term frequency during scoring

2023-06-20 Thread Vimal Jain
Thanks Adrien , I had a look at your blog post. Looks like this Scorer#getMaxScore was added in lucene 8.0 , i am using 7.7.3. A side question , is there any resource to help migrate newer major version , i see lot of api changed from v7 to v8. *Thanks and Regards,* *Vimal Jain* On Wed, Jun 21

Re: Relative cpu cost of fetching term frequency during scoring

2023-06-20 Thread Vimal Jain
; dynamic pruning, so I wonder if this is the reason why you are seeing > slower queries. But since you mentioned custom term queries, maybe you > never actually took advantage of dynamic pruning? > > On Tue, Jun 20, 2023 at 10:30 AM Vimal Jain wrote: > > > Ok , sorry , I realiz

Re: Relative cpu cost of fetching term frequency during scoring

2023-06-20 Thread Vimal Jain
perf drop is observed in reference to earlier implementation ( with multiple term queries ). *Thanks and Regards,* *Vimal Jain* On Tue, Jun 20, 2023 at 1:01 PM Adrien Grand wrote: > You say you observed a performance drop, what are you comparing against? > > Le mar. 20 juin 2023, 08:

Re: Relative cpu cost of fetching term frequency during scoring

2023-06-19 Thread Vimal Jain
Note - i am using lucene 7.7.3 *Thanks and Regards,* *Vimal Jain* On Tue, Jun 20, 2023 at 12:26 PM Vimal Jain wrote: > Hi, > I want to understand if fetching the term frequency of a term during > scoring is relatively cpu bound operation ? > Context - I am storing custom term freq

Relative cpu cost of fetching term frequency during scoring

2023-06-19 Thread Vimal Jain
drop in my application and I suspect it's because of this change. Any insight or related articles for reference would be appreciated. *Thanks and Regards,* *Vimal Jain*

Lucene in action

2023-06-09 Thread Vimal Jain
Hi Mike, Any plans to author 3rd edition of Lucene in Action ? Since 2nd edition ( based on lucene 4), things have changed quite a bit ( 9.6.0) So should we expect 3rd edition soon or any other references to learn new things in latest lucene ?

Mix of lucene50 and lucene70 codes

2023-04-08 Thread Vimal Jain
.doc_1_Lucene50_0.tim_1_Lucene50_0.tip_1_Lucene70_0.dvd_1_Lucene70_0.dvm* Is this some misconfiguration ? How do I fix it ? *Thanks and Regards,* *Vimal Jain*