xref: /Lucene/lucene/queryparser/docs/xml/README.htm (revision 29f71547d34279e1f72b7b5082e45f332277d8a0)
1<html>
2	<body>
3		<h1>XML based query syntax
4		</h1>
5		<p>
6			This module contains:
7			<ul>
8				<li>a modular Lucene Query Parser where queries are expressed as XML</li>
9				<li>JUnit test</li>
10				<li>DTD schemas and <a href="docs/index.html">generated documentation</a> </li>
11				<li>Example XML queries</li>
12				<li>Test index (subset of Reuters 21578)</li>
13			</ul>
14		</p>
15		<p>
16			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>.
17		</p>
18		<p>
19			Parser support includes:
20			<ul>
21				<li>"Span" queries</li>
22				<li>Simple caching for filters</li>
23				<li>"Like this" queries</li>
24				<li>Boolean, Term, and UserInput (parsed with existing query parser)</li>
25				<li>BoostingQuery - a class that can downgrade scores for hits on
26				certain terms rather than the hard-line approach taken by BooleanClause.Occurs.MUST_NOT</li>
27				<li>FilteredQuery, RangeFilter, DuplicateFilter and "TermsFilter" for non-sequential terms</li>
28				<li>"FuzzyLikeThis" a new query which is a cross between "LikeThis" and "fuzzy" but with
29					better scoring of fuzzy terms than standard fuzzy queries</li>
30				<li>A modular design with expandable support for new query/filter types</li>
31			</ul>
32		</p>
33		<p>This code is dependent on the "queries" module although the "CoreParser" can be compiled with just Lucene core if required</p>
34	</body>
35</html>