As said just using ${JBOSS_HOME} in the properties file is not going to work. Hibernate or in this case Hibernate Search would not know how to expand this variable.
A relative path name, however, should work. Hibernate Search uses the specified
indexBase property and just and calls
Code:
File indexDir = new File( indexBase );
According to the Java specs in case of a relative path the resulting file/directory should be relative to the system property
user.dir which is in turn typically the directory in which the Java virtual machine was invoked. If you can figure out from which directory your startup script is launching the JVM you should be able to work out how the relative path should look like.
Have you tried the filtering approach though?