Is a title mixed up in the name?

An ancestor of mine was John Rucker. In some records he is listed as “Captain John Rucker.” In some cases “captain” ends up being his first name. Of course, this makes a difference in how his name appears in an index or an online database.

Did your ancestor have a title? Is it making him difficult or impossible to find?