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.
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|18h 21m||1||Shalin Shekhar Mangar||04/Jul/14 18:00|
|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|