I found that, when using shards.tolerant, if there is some kind of exception in the second phase of the search, some component’s throw NPE.
I found it with the QueryComponent first, but then saw that other components would suffer in the same way: DebugComponent, HighlightComponent and MLTComponent. I only checked the components of the default chain.
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Fix Version/s||5.0 [ 12321664 ]|
|Fix Version/s||4.10 [ 12327122 ]|
|Resolution||Fixed [ 1 ]|
|Assignee||Shalin Shekhar Mangar [ shalinmangar ]|
|Field||Original Value||New Value|
|Summary||QueryComponents may throw NPE when using shards.tolerant and there is a failure in the “GET_FIELDS/GET_HIGHLIGHTS/GET_DEBUG” phase||SearchComponents may throw NPE when using shards.tolerant and there is a failure in the “GET_FIELDS/GET_HIGHLIGHTS/GET_DEBUG” phase|