Correct some error  in SearchDoc (closes #4299, closes #4300, closes #4303, closes #4195)