Re: Score field NaN in the expanded Results

2019-03-13 Thread Raveendra Yerraguntla
Found the issue.I am using solr 5.4.0 version. in ExpandComponent - the TermFieldCollector is created with the TotalDefaultScores and TotalDefaultMaxScores were passed as false. This limits any field sorting (other than score) makes the score to be returned as NaN. By passing either or both of

Score field NaN in the expanded Results

2019-03-13 Thread Raveendra Yerraguntla
All, I am using the collapse plugin with the following query params text_field:( apple OR  apples) ) ) Fq :  {!collapse field=string_field  sort='numeric_field asc , score desc  '  nullPolicy=expand} Raw params : expand=true&expand.rows=600&expand.sort=numeric_field asc The above query result