The CorePlusExtensionsParser refers to the DuplicateFilter class that currently does not work with the new Lucene APIs (filters are now segment-level rather than global and detecting duplicates requires global visibility).
Consequently DuplicateFilter has been moved into the "sandbox" and should not really be used unless you have a single-segment index.
You can succesfully start Luke with the XMLQueryParser if you include this new sandbox dependency on startup ie.
java -cp lukeall-4.0.0-ALPHA.jar;lucene-sandbox-4.0.0-ALPHA.jar org.getopt.luke.Luke
>> the XML Query syntax is documented only in the Lucene Core src distribution
Ideally the docs should be part of the binary distribution but HTML docs are produced from the DTDs by the DTDDoc tool which would drag in all sorts of dependencies to the build process.
I've often thought that the DTDs and related docs could make a really nice auto-complete type tool in Luke where at any point during query construction Luke can guide as to what legal child queries/filters are available according to the DTD.
An XSL template could also be used to generate a query GUI with dropdown boxes etc rather than editing raw XML. Cool, no?
Cheers,
Mark