I'm using Hibernate Search 3.1.1.GA and JPA (hence persistence.xml) and deploying to WebSphere Application Server 6.1.
The deployment will be clustered, and the desired target directories for the search indexes will include the unique node names. Therefore, it would be a huge help if I could include a reference to a WebSphere variable in the indexBase definition in the persistence.xml file. e.g.:
Code:
<persistence-unit name="PersistenceUnitName" transaction-type="JTA">
<properties>
<property name="hibernate.search.default.directory_provider"
value="org.hibernate.search.store.FSDirectoryProvider" />
<property name="hibernate.search.default.indexBase"
value="${LOG_DIR}/lucene/indexes" />
</properties>
</persistence-unit>
I haven't hit upon any standard way or any good reference, so I figured I'd ask to see if anyone can tell me if this is even possible?