lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stanislav Livotov (JIRA)" <>
Subject [jira] [Commented] (SOLR-12699) make LTRScoringModel immutable (to allow hashCode caching)
Date Thu, 01 Nov 2018 09:42:00 GMT


Stanislav Livotov commented on SOLR-12699:

Hi [~cpoerschke], I took a look at your patch and I don't have any concerns from my side.
And thank you one more time for helping with that! 

> make LTRScoringModel immutable (to allow hashCode caching)
> ----------------------------------------------------------
>                 Key: SOLR-12699
>                 URL:
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: contrib - LTR
>            Reporter: Stanislav Livotov
>            Priority: Major
>         Attachments: SOLR-12699.patch, SOLR-12699.patch, SOLR-12699.patch, SOLR-12699.patch
> [~slivotov] wrote in SOLR-12688:
> bq. ... LTRScoringModel was a mutable object. It was leading to the calculation of hashcode
on each query, which in turn can consume a lot of time ... So I decided to make LTRScoringModel
immutable and cache hashCode calculation. ...
> (Please see SOLR-12688 description for overall context and analysis results.)

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message