RE: Query about Query.ToString()

2010-02-17 Thread Goddard, Michael J.
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

Question on highlighting of nested SpanQuery instances

2010-02-17 Thread Goddard, Michael J.
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