Name Date Size

.. 2012-12-07 17:08:20 22

build.xml 2012-06-08 22:32:54 2.4 KiB

docs 2012-12-07 17:08:17 16

dtddocbuild.xml 2012-06-08 22:32:54 812

ivy.xml 2012-06-08 22:32:54 922

LuceneContribQuery.dtd 2012-06-08 22:32:54 11.4 KiB

LuceneCoreQuery.dtd 2012-06-08 22:32:54 21 KiB

README.htm 2012-06-08 22:32:54 1.4 KiB

src 2012-12-07 17:08:17 5

README.htm

<html>
<body>
<h1>XML based query syntax
</h1>
<p>
This module contains:
<ul>
<li>a modular Lucene Query Parser where queries are expressed as XML</li>
<li>JUnit test</li>
<li>DTD schemas and <a href="docs/index.html">generated documentation</a> </li>
<li>Example XML queries</li>
<li>Test index (subset of Reuters 21578)</li>
</ul>
</p>
<p>
The original motivation for creating this package was outlined and discussed <a href="http://marc.theaimsgroup.com/?l=lucene-dev&m=113355526731460&w=2">here</a>.
</p>
<p>
Parser support includes:
<ul>
<li>"Span" queries</li>
<li>Simple caching for filters</li>
<li>"Like this" queries</li>
<li>Boolean, Term, and UserInput (parsed with existing query parser)</li>
<li>BoostingQuery - a class that can downgrade scores for hits on
certain terms rather than the hard-line approach taken by BooleanClause.Occurs.MUST_NOT</li>
<li>FilteredQuery, RangeFilter, DuplicateFilter and "TermsFilter" for non-sequential terms</li>
<li>"FuzzyLikeThis" a new query which is a cross between "LikeThis" and "fuzzy" but with
better scoring of fuzzy terms than standard fuzzy queries</li>
<li>A modular design with expandable support for new query/filter types</li>
</ul>
</p>
<p>This code is dependent on the "queries" contrib module although the "CoreParser" can be compiled with just Lucene core if required</p>
</body>
</html>