Re: Solr cache when using custom scoring

2015-07-09 Thread amid
Mikhail, We've now override the equal & hashcode of the custom query to use this new param as well, and it works like charm. Thanks allot, Ami -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-cache-when-using-custom-scoring-tp4216419p4216496.html Sent from the Solr - U

Re: Solr cache when using custom scoring

2015-07-08 Thread amid
No sure I get you, the parameter is passed to solr as a string. It seems like solr use for the caching key only the query, sort and range of documents (from the doc - "This cache holds the results of previous searches: ordered lists of document IDs (DocList) based on a query, a sort, and the range

Re: Solr cache when using custom scoring

2015-07-08 Thread Mikhail Khludnev
On Wed, Jul 8, 2015 at 11:30 PM, amid wrote: > The custom scoring code use a parameter which passed to the solr query, this param should be evaluated in equals() and hashcode(). isn;t it? -- Sincerely yours Mikhail Khludnev Principal Engineer, Grid Dynamics