lucene/contrib/xml-query-parser
Mark Harwood 6c53bc3c49 Fixed bug where BooleanQueryBuilder.java and BooleanFilterBuilder.java were mistakenly adding all child (and grandchild) clauses to the top node. A call to Element.getElementsByTagName was the offending code - this descends full depth rather than getting only immediate children which is the desired behaviour. Thanks to Jingkei Ly for spotting this bug.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@441667 13f79535-47bb-0310-9956-ffa450edef68
2006-09-08 21:45:14 +00:00
..
src Fixed bug where BooleanQueryBuilder.java and BooleanFilterBuilder.java were mistakenly adding all child (and grandchild) clauses to the top node. A call to Element.getElementsByTagName was the offending code - this descends full depth rather than getting only immediate children which is the desired behaviour. Thanks to Jingkei Ly for spotting this bug. 2006-09-08 21:45:14 +00:00
build.xml Added XML-query-parser module for new extensible query parser that handles queries expressed as XML. Is dependent on new "queries" contrib module. 2006-02-25 00:39:18 +00:00
readme.htm Added XML-query-parser module for new extensible query parser that handles queries expressed as XML. Is dependent on new "queries" contrib module. 2006-02-25 00:39:18 +00:00

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>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>"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, 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>