The example is exactly the one from Jena, which does work.
It looks like you have a confusion of jar versions. Have you tried using maven to resolve the dependencies? Looking at "mvn dependency:tree" shows you what versions are used.
jena-text is built for Lucene 4.3.1 or Solr 4.3.1.
See the POM from: https://repository.apache.org/content/groups/snapshots/org/apache/jena/jena-text/1.0.0-SNAPSHOT/