The recommended way to run Hibernate Search on WildFly nowadays is to use the modules, which are nicely packaged and documented, so I don't think we'll need this anymore.