Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Null Pointer Exception and Improve Handling for Missing Config Index
This PR addresses two issues to enhance robustness in the IndexManagement class: * Null Check for Candidate Result Aliases: * Added a null check for candidateResultAliases in updateCustomResultIndexMapping to prevent NullPointerExceptions. * Graceful Handling for Missing Config Index: * Modified searchConfigs to return an empty list instead of throwing a ResourceNotFoundException when the config index does not exist. Testing: * Verified that NullPointerExceptions are prevented and the system gracefully handles cases where the config index does not exist. Signed-off-by: Kaituo Li <[email protected]>
- Loading branch information