I recently had the same need, for a utility to get me from the Query toString()
output back to the Java code to construct that specific query in Lucene. The
reason for my interest is that our query syntax differs significantly from the
standard Lucene query syntax, so having something like this
Hello,
I'm seeking some help with a highlighting issue involving the SpanQuery family.
To illustrate my issue, I added a test to the existing HighlighterTest (see
diff, below, against tags/lucene_2_9_1). When this test runs, it fails and the
System.out.println yields this:
Expected: "Sam dis