The org.hibernate.search.store.LockFactoryProvider exposes a java.io.File type, but all consumers and known implementors of this API are using Path nowadays.