Re: Query Optimization in search/searchAfter

2024-04-12 Thread Puneeth Bikkumanla
Thanks Adrien! On Fri, Apr 12, 2024 at 9:49 AM Adrien Grand wrote: > You are correct, query rewriting is not affected by the use of search vs. > searchAfter. > > On Fri, Apr 12, 2024 at 3:37 PM Puneeth Bikkumanla > wrote: > > > Hello, > > Sorry I should

Re: Query Optimization in search/searchAfter

2024-04-12 Thread Puneeth Bikkumanla
ee e.g. what LongComparator > does with its `topValue`, which is the value of the `after` doc. > > On Thu, Apr 11, 2024 at 4:34 PM Puneeth Bikkumanla > wrote: > > > Hello, > > I was wondering if a user-defined Query is optimized the same way in both > > search/searchAft

Query Optimization in search/searchAfter

2024-04-11 Thread Puneeth Bikkumanla
Hello, I was wondering if a user-defined Query is optimized the same way in both search/searchAfter provided the index stays the same (no CRUD takes place). In searchAfter we pass in an "after" doc so I was wondering if that changes how a query is optimized at all. By looking at the code, I'm thin

DoubleLeafComparator Question

2023-02-16 Thread Puneeth Bikkumanla
Hello everyone, In the DoubleLeafComparator::getValueForDoc when Lucene is converting back to the double from the long representation,

Re: LongDistanceFeatureQuery for DoublePoint

2022-04-01 Thread Puneeth Bikkumanla
Hello, Just wanted to bump this email again because it might have been lost since there's been no activity on it for the past week+. On Wed, Mar 23, 2022 at 3:04 PM Puneeth Bikkumanla wrote: > Hello Adrien, > Thanks for the quick response! The doubles can be pretty much anythi

Re: LongDistanceFeatureQuery for DoublePoint

2022-03-23 Thread Puneeth Bikkumanla
been added with the idea that it would be useful for > timestamp fields in order to boost hits by recency. What is your > use-case for adding similar functionality to double fields? > > On Wed, Mar 23, 2022 at 12:38 AM Puneeth Bikkumanla > wrote: > > > > Hello, > >

LongDistanceFeatureQuery for DoublePoint

2022-03-22 Thread Puneeth Bikkumanla
Hello, I was wondering if there is anything similar to the LongDistanceFeatureQuery for DoublePoint. We are currently converting our doubles into longs in order to use this feature but would like to switch off of that. If nothing exists, are there any immediate challenges that people foresee for im

Re: Lucene Explanation

2021-04-23 Thread Puneeth Bikkumanla
explore some of the challenges around > introducing a more structured explain response. > > On Fri, Apr 9, 2021 at 6:40 PM Puneeth Bikkumanla > wrote: > > > > Hello, > > I am currently working on a project that would like to implement Document > > Explain where we

Lucene Explanation

2021-04-09 Thread Puneeth Bikkumanla
Hello, I am currently working on a project that would like to implement Document Explain where we can see how a document was scored internally in lucene given a query. I see that the IndexSearcher has an explain