A useful Civil War database is available at
http://www.civilwardata.com/
Although the full database is available only by subscription, the basic
personnel records can be searched free of charge. Most Union states have
been fully entered, including IN, and a few Confederate so far. On the
home page, click on Demo, then on Personnel Directory.