Re: org.apache.lucene.search.BooleanWeight.bulkScorer() and BulkScorer.score()

2021-10-05 Thread Baris Kazar
From: Baris Kazar Sent: Tuesday, October 5, 2021 3:56 PM To: Adrien Grand ; Lucene Users Mailing List ; Baris Kazar Subject: Re: org.apache.lucene.search.BooleanWeight.bulkScorer() and BulkScorer.score() Hi Adrien,- Thanks for taking a look at it and sure, that will be very nice to fix

Re: org.apache.lucene.search.BooleanWeight.bulkScorer() and BulkScorer.score()

2021-10-05 Thread Baris Kazar
: Tuesday, October 5, 2021 3:18 PM To: Lucene Users Mailing List Cc: Baris Kazar Subject: Re: org.apache.lucene.search.BooleanWeight.bulkScorer() and BulkScorer.score() Hmm we should fix these access$ accessors by fixing the visibility of some fields. These breakdowns do not necessarily signal

Re: org.apache.lucene.search.BooleanWeight.bulkScorer() and BulkScorer.score()

2021-10-05 Thread Adrien Grand
gt; Next: BulkScorer.score() with its call tree and time spent: > > > > BulkScorer.score() > -->> Weight$DefaultBulkScorer.score() > -->>-->> Weight$DefaultBulkScorer.scoreAll() > -->>-->>-->> WANDScorer$1.nextDoc() > -->>-->>-->&

Re: org.apache.lucene.search.BooleanWeight.bulkScorer() and BulkScorer.score()

2021-10-04 Thread Baris Kazar
.score() -->> Weight$DefaultBulkScorer.score() -->>-->> Weight$DefaultBulkScorer.scoreAll() -->>-->>-->> WANDScorer$1.nextDoc() -->>-->>-->>-->> WANDScorer$1.advance() -->>-->>-->>-->>-->> WANDScorer.access$300() (constitutes %65 of Bul

Re: org.apache.lucene.search.BooleanWeight.bulkScorer() and BulkScorer.score()

2021-10-02 Thread Baris Kazar
: Adrien Grand Sent: Saturday, October 2, 2021 1:44:40 AM To: Lucene Users Mailing List Cc: Baris Kazar Subject: Re: org.apache.lucene.search.BooleanWeight.bulkScorer() and BulkScorer.score() Is your profiler reporting inclusive or exclusive costs for each function? Ie. does it exclude time

Re: org.apache.lucene.search.BooleanWeight.bulkScorer() and BulkScorer.score()

2021-10-01 Thread Adrien Grand
Is your profiler reporting inclusive or exclusive costs for each function? Ie. does it exclude time spent in functions that are called within a function? I'm asking because it makes total sense for IndexSearcher#search to spend most of its time is BulkScorer#score, which coordinates the whole match