lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: svn commit: r928114 [1/3] - in /lucene/dev/trunk/lucene/contrib: ./ xml-query-parser/ xml-query-parser/docs/ xml-query-parser/src/java/org/apache/lucene/xmlparser/ xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/ xml-query-parser/src/te
Date Sat, 27 Mar 2010 00:45:43 GMT
Why do you add a com/apache/lucene package?

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de


> -----Original Message-----
> From: mharwood@apache.org [mailto:mharwood@apache.org]
> Sent: Saturday, March 27, 2010 1:37 AM
> To: java-commits@lucene.apache.org
> Subject: svn commit: r928114 [1/3] - in
> /lucene/dev/trunk/lucene/contrib: ./ xml-query-parser/ xml-query-
> parser/docs/ xml-query-parser/src/java/org/apache/lucene/xmlparser/
> xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/ xml-
> query-parser/src/tes...
> 
> Author: mharwood
> Date: Sat Mar 27 00:36:55 2010
> New Revision: 928114
> 
> URL: http://svn.apache.org/viewvc?rev=928114&view=rev
> Log:
> Lucene-2306: - Add NumericRangeQuery and NumericRangeFilter support to
> XMLQueryParser.
> Jingkei Ly via Mark Harwood
> 
> Added:
>     lucene/dev/trunk/lucene/contrib/xml-query-
> parser/src/java/org/apache/lucene/xmlparser/builders/NumericRangeFilter
> Builder.java
>     lucene/dev/trunk/lucene/contrib/xml-query-
> parser/src/java/org/apache/lucene/xmlparser/builders/NumericRangeQueryB
> uilder.java
>     lucene/dev/trunk/lucene/contrib/xml-query-parser/src/test/com/
>     lucene/dev/trunk/lucene/contrib/xml-query-
> parser/src/test/com/apache/
>     lucene/dev/trunk/lucene/contrib/xml-query-
> parser/src/test/com/apache/lucene/
>     lucene/dev/trunk/lucene/contrib/xml-query-
> parser/src/test/com/apache/lucene/xmlparser/
>     lucene/dev/trunk/lucene/contrib/xml-query-
> parser/src/test/com/apache/lucene/xmlparser/builders/
>     lucene/dev/trunk/lucene/contrib/xml-query-
> parser/src/test/com/apache/lucene/xmlparser/builders/NumericRangeFilter
> BuilderTestCase.java
>     lucene/dev/trunk/lucene/contrib/xml-query-
> parser/src/test/com/apache/lucene/xmlparser/builders/NumericRangeQueryB
> uilderTestCase.java
>     lucene/dev/trunk/lucene/contrib/xml-query-
> parser/src/test/org/apache/lucene/xmlparser/NumericRangeFilterQuery.xml
>     lucene/dev/trunk/lucene/contrib/xml-query-
> parser/src/test/org/apache/lucene/xmlparser/NumericRangeQueryQuery.xml
> Modified:
>     lucene/dev/trunk/lucene/contrib/CHANGES.txt
>     lucene/dev/trunk/lucene/contrib/xml-query-
> parser/LuceneCoreQuery.dtd
>     lucene/dev/trunk/lucene/contrib/xml-query-
> parser/docs/LuceneContribQuery.dtd.entities.html
>     lucene/dev/trunk/lucene/contrib/xml-query-
> parser/docs/LuceneContribQuery.dtd.html
>     lucene/dev/trunk/lucene/contrib/xml-query-
> parser/docs/LuceneCoreQuery.dtd.entities.html
>     lucene/dev/trunk/lucene/contrib/xml-query-
> parser/docs/LuceneCoreQuery.dtd.html
>     lucene/dev/trunk/lucene/contrib/xml-query-
> parser/docs/LuceneCoreQuery.dtd.org.html
>     lucene/dev/trunk/lucene/contrib/xml-query-
> parser/docs/elementsIndex.html
>     lucene/dev/trunk/lucene/contrib/xml-query-parser/docs/toc.html
>     lucene/dev/trunk/lucene/contrib/xml-query-
> parser/src/java/org/apache/lucene/xmlparser/CoreParser.java
>     lucene/dev/trunk/lucene/contrib/xml-query-
> parser/src/test/org/apache/lucene/xmlparser/TestParser.java
> 
> Modified: lucene/dev/trunk/lucene/contrib/CHANGES.txt
> URL:
> http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/contrib/CHANGES.tx
> t?rev=928114&r1=928113&r2=928114&view=diff
> =======================================================================
> =======
> --- lucene/dev/trunk/lucene/contrib/CHANGES.txt (original)
> +++ lucene/dev/trunk/lucene/contrib/CHANGES.txt Sat Mar 27 00:36:55
> 2010
> @@ -74,6 +74,8 @@ API Changes
>     (Robert Muir, Uwe Schindler, Simon Willnauer)
> 
>  New features
> + * LUCENE-2306: Add NumericRangeFilter and NumericRangeQuery support
> to XMLQueryParser.
> +   (Jingkei Ly, via Mark Harwood)
> 
>   * LUCENE-2102: Add a Turkish LowerCase Filter. TurkishLowerCaseFilter
> handles
>     Turkish and Azeri unique casing behavior correctly.
> 
> Modified: lucene/dev/trunk/lucene/contrib/xml-query-
> parser/LuceneCoreQuery.dtd
> URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/contrib/xml-
> query-
> parser/LuceneCoreQuery.dtd?rev=928114&r1=928113&r2=928114&view=diff
> =======================================================================
> =======
> --- lucene/dev/trunk/lucene/contrib/xml-query-
> parser/LuceneCoreQuery.dtd (original)
> +++ lucene/dev/trunk/lucene/contrib/xml-query-
> parser/LuceneCoreQuery.dtd Sat Mar 27 00:36:55 2010
> @@ -54,8 +54,8 @@
> 
>  <!-- @hidden Define core types of XML elements -->
>  <!ENTITY % coreSpanQueries
> "SpanOr|SpanNear|SpanOrTerms|SpanFirst|SpanNot|SpanTerm|BoostingTermQue
> ry" >
> -<!ENTITY % coreQueries
> "BooleanQuery|UserQuery|FilteredQuery|TermQuery|TermsQuery|MatchAllDocs
> Query|ConstantScoreQuery|BoostingTermQuery" >
> -<!ENTITY % coreFilters "RangeFilter|CachedFilter" >
> +<!ENTITY % coreQueries
> "BooleanQuery|UserQuery|FilteredQuery|TermQuery|TermsQuery|MatchAllDocs
> Query|ConstantScoreQuery|BoostingTermQuery|NumericRangeQuery" >
> +<!ENTITY % coreFilters "RangeFilter|NumericRangeFilter|CachedFilter" >
> 
>  <!-- @hidden Allow for extensions -->
>  <!ENTITY % extendedSpanQueries1 " " >
> @@ -283,7 +283,60 @@ Passes content directly through to the s
>  <!-- Controls if the upperTerm in the range is part of the allowed set
> of values -->
>  <!ATTLIST RangeFilter includeUpper (true | false) "true">
> 
> +<!--
> +	A Query that matches numeric values within a specified range.
> +	@example
> +	        <em>Search for documents about people who are aged 20-
> 25</em>
> +	        %
> +            <NumericRangeQuery fieldName="age" lowerTerm="20"
> upperTerm="25" />
> +	         %
> +	-->
> +<!ELEMENT NumericRangeQuery EMPTY>
> +<!-- fieldName must be defined here or is taken from the most
> immediate parent XML element that defines a "fieldName" attribute -->
> +<!ATTLIST NumericRangeQuery fieldName CDATA #IMPLIED>
> +<!-- The lower-most term value for this field (must be <= upperTerm
> and a valid native java numeric type) -->
> +<!ATTLIST NumericRangeQuery lowerTerm CDATA #REQUIRED>
> +<!-- The upper-most term value for this field (must be >= lowerTerm
> and a valid native java numeric type) -->
> +<!ATTLIST NumericRangeQuery upperTerm CDATA #REQUIRED>
> +<!-- The numeric type of this field -->
> +<!ATTLIST NumericRangeQuery type (int | long | float | double) "int">
> +<!-- Controls if the lowerTerm in the range is part of the allowed set
> of values -->
> +<!ATTLIST NumericRangeQuery includeLower (true | false) "true">
> +<!-- Controls if the upperTerm in the range is part of the allowed set
> of values -->
> +<!ATTLIST NumericRangeQuery includeUpper (true | false) "true">
> +<!-- Lower step values mean more precisions and so more terms in index
> (and index gets larger). This value must be an integer -->
> +<!ATTLIST NumericRangeQuery precisionStep CDATA "4">
> 
> +<!--
> +	A Filter that only accepts numeric values within a specified
> range
> +	@example
> +	        <em>Search for documents about people who are aged 20-
> 25</em>
> +	        %
> +            <FilteredQuery>
> +               <Query>
> +                  <UserQuery>person</UserQuery>
> +               </Query>
> +               <Filter>
> +                     <NumericRangeFilter fieldName="age"
> lowerTerm="20" upperTerm="25"/>
> +               </Filter>
> +            </FilteredQuery>
> +	         %
> +	-->
> +<!ELEMENT NumericRangeFilter EMPTY>
> +<!-- fieldName must be defined here or is taken from the most
> immediate parent XML element that defines a "fieldName" attribute -->
> +<!ATTLIST NumericRangeFilter fieldName CDATA #IMPLIED>
> +<!-- The lower-most term value for this field (must be <= upperTerm
> and a valid native java numeric type) -->
> +<!ATTLIST NumericRangeFilter lowerTerm CDATA #REQUIRED>
> +<!-- The upper-most term value for this field (must be >= lowerTerm
> and a valid native java numeric type) -->
> +<!ATTLIST NumericRangeFilter upperTerm CDATA #REQUIRED>
> +<!-- The numeric type of this field -->
> +<!ATTLIST NumericRangeFilter type (int | long | float | double) "int">
> +<!-- Controls if the lowerTerm in the range is part of the allowed set
> of values -->
> +<!ATTLIST NumericRangeFilter includeLower (true | false) "true">
> +<!-- Controls if the upperTerm in the range is part of the allowed set
> of values -->
> +<!ATTLIST NumericRangeFilter includeUpper (true | false) "true">
> +<!-- Lower step values mean more precisions and so more terms in index
> (and index gets larger). This value must be an integer -->
> +<!ATTLIST NumericRangeFilter precisionStep CDATA "4">
> 
>  <!-- A single term used in a SpanQuery. These clauses are the building
> blocks for more complex "span" queries which test word proximity
>  	@example <em>Find documents using terms close to each other about
> mining and accidents</em>
> 
> Modified: lucene/dev/trunk/lucene/contrib/xml-query-
> parser/docs/LuceneContribQuery.dtd.entities.html
> URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/contrib/xml-
> query-
> parser/docs/LuceneContribQuery.dtd.entities.html?rev=928114&r1=928113&r
> 2=928114&view=diff
> =======================================================================
> =======
> --- lucene/dev/trunk/lucene/contrib/xml-query-
> parser/docs/LuceneContribQuery.dtd.entities.html (original)
> +++ lucene/dev/trunk/lucene/contrib/xml-query-
> parser/docs/LuceneContribQuery.dtd.entities.html Sat Mar 27 00:36:55
> 2010
> @@ -59,13 +59,13 @@ LuceneCoreQuery.dtd <i>(system)</i>
>  <tr>
>  <td>coreSpanQueries</td>
>  <td>
> -SpanOr|SpanNear|SpanOrTerms|SpanFirst|SpanNot|SpanTerm
> +SpanOr|SpanNear|SpanOrTerms|SpanFirst|SpanNot|SpanTerm|BoostingTermQue
> ry
>  </td>
>  </tr>
>  <tr>
>  <td>coreFilters</td>
>  <td>
> -RangeFilter|CachedFilter
> +RangeFilter|NumericRangeFilter|CachedFilter
>  </td>
>  </tr>
>  <tr>
> @@ -83,7 +83,7 @@ RangeFilter|CachedFilter
>  <tr>
>  <td>coreQueries</td>
>  <td>
> -
> BooleanQuery|UserQuery|FilteredQuery|TermQuery|TermsQuery|MatchAllDocsQ
> uery|ConstantScoreQuery
> +BooleanQuery|UserQuery|FilteredQuery|TermQuery|TermsQuery|MatchAllDocs
> Query|ConstantScoreQuery|BoostingTermQuery|NumericRangeQuery
>  </td>
>  </tr>
>  </tbody>
> 
> Modified: lucene/dev/trunk/lucene/contrib/xml-query-
> parser/docs/LuceneContribQuery.dtd.html
> URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/contrib/xml-
> query-
> parser/docs/LuceneContribQuery.dtd.html?rev=928114&r1=928113&r2=928114&
> view=diff
> =======================================================================
> =======
> --- lucene/dev/trunk/lucene/contrib/xml-query-
> parser/docs/LuceneContribQuery.dtd.html (original)
> +++ lucene/dev/trunk/lucene/contrib/xml-query-
> parser/docs/LuceneContribQuery.dtd.html Sat Mar 27 00:36:55 2010
> @@ -23,7 +23,7 @@ Influence score of a query's matches in
>  <a name='BooleanQuery'></a>
>  <br /><table class='elementTitle' summary="BooleanQuery"><tr><td
> class='leftElementTitle'>
>  &lt;BooleanQuery&gt;</td><td class='rightElementTitle'>
> -Child of <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#BoostQuery'>BoostQuery</a>, <a href='#Query'>Query</a>, <a
> href='#Clause'>Clause</a>
> +Child of <a href='#BoostQuery'>BoostQuery</a>, <a
> href='#Clause'>Clause</a>, <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#Query'>Query</a>
>  </td></tr></table>
>  <p>BooleanQuerys implement Boolean logic which controls how multiple
> Clauses should be interpreted.
>  Some clauses may represent optional Query criteria while others
> represent mandatory criteria.</p><p><span
> class='inTextTitle'>Example:</span> <em>Find articles about banks,
> preferably talking about mergers but nothing to do with "sumitomo"</em>
> @@ -94,6 +94,7 @@ child elements - while in a &lt;BooleanF
>  <tbody><tr><td><a href='#BooleanFilter'>BooleanFilter</a></td><td>One
> or none</td></tr>
>  <tr><td><a href='#BooleanQuery'>BooleanQuery</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#BoostingQuery'>BoostingQuery</a></td><td>One or
> none</td></tr>
> +<tr><td><a href='#BoostingTermQuery'>BoostingTermQuery</a></td><td>One
> or none</td></tr>
>  <tr><td><a href='#CachedFilter'>CachedFilter</a></td><td>One or
> none</td></tr>
>  <tr><td><a
> href='#ConstantScoreQuery'>ConstantScoreQuery</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#DuplicateFilter'>DuplicateFilter</a></td><td>One or
> none</td></tr>
> @@ -101,6 +102,8 @@ child elements - while in a &lt;BooleanF
>  <tr><td><a
> href='#FuzzyLikeThisQuery'>FuzzyLikeThisQuery</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#LikeThisQuery'>LikeThisQuery</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#MatchAllDocsQuery'>MatchAllDocsQuery</a></td><td>One
> or none</td></tr>
> +<tr><td><a
> href='#NumericRangeFilter'>NumericRangeFilter</a></td><td>One or
> none</td></tr>
> +<tr><td><a href='#NumericRangeQuery'>NumericRangeQuery</a></td><td>One
> or none</td></tr>
>  <tr><td><a href='#RangeFilter'>RangeFilter</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#SpanFirst'>SpanFirst</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#SpanNear'>SpanNear</a></td><td>One or none</td></tr>
> @@ -120,7 +123,7 @@ child elements - while in a &lt;BooleanF
>  <th class='subtitle'>Name</th><th class='subtitle'>Values</th><th
> class='subtitle'>Default</th></tr>
>  <tr><th colspan='3' height='1' class='ruler'></th></tr>
>  <tr><td><a href='#Clause_occurs'>occurs</a></td><td>should, must,
> mustnot</td><td>should</td></tr></table></td></tr></table></blockquote>
> -<span class='inTextTitle'>Element's model:</span><p class='model'>(<a
> href='#BooleanQuery'>BooleanQuery</a> | <a
> href='#UserQuery'>UserQuery</a> | <a
> href='#FilteredQuery'>FilteredQuery</a> | <a
> href='#TermQuery'>TermQuery</a> | <a href='#TermsQuery'>TermsQuery</a>
> | <a href='#MatchAllDocsQuery'>MatchAllDocsQuery</a> | <a
> href='#ConstantScoreQuery'>ConstantScoreQuery</a> | <a
> href='#SpanOr'>SpanOr</a> | <a href='#SpanNear'>SpanNear</a> | <a
> href='#SpanOrTerms'>SpanOrTerms</a> | <a
> href='#SpanFirst'>SpanFirst</a> | <a href='#SpanNot'>SpanNot</a> | <a
> href='#SpanTerm'>SpanTerm</a> | <a
> href='#LikeThisQuery'>LikeThisQuery</a> | <a
> href='#BoostingQuery'>BoostingQuery</a> | <a
> href='#FuzzyLikeThisQuery'>FuzzyLikeThisQuery</a> | <a
> href='#RangeFilter'>RangeFilter</a> | <a
> href='#CachedFilter'>CachedFilter</a> | <a
> href='#TermsFilter'>TermsFilter</a> | <a
> href='#BooleanFilter'>BooleanFilter</a> | <a
> href='#DuplicateFilter'>DuplicateFilter</a>)</p><a
> name='Clause_occurs'></a>
> +<span class='inTextTitle'>Element's model:</span><p class='model'>(<a
> href='#BooleanQuery'>BooleanQuery</a> | <a
> href='#UserQuery'>UserQuery</a> | <a
> href='#FilteredQuery'>FilteredQuery</a> | <a
> href='#TermQuery'>TermQuery</a> | <a href='#TermsQuery'>TermsQuery</a>
> | <a href='#MatchAllDocsQuery'>MatchAllDocsQuery</a> | <a
> href='#ConstantScoreQuery'>ConstantScoreQuery</a> | <a
> href='#BoostingTermQuery'>BoostingTermQuery</a> | <a
> href='#NumericRangeQuery'>NumericRangeQuery</a> | <a
> href='#SpanOr'>SpanOr</a> | <a href='#SpanNear'>SpanNear</a> | <a
> href='#SpanOrTerms'>SpanOrTerms</a> | <a
> href='#SpanFirst'>SpanFirst</a> | <a href='#SpanNot'>SpanNot</a> | <a
> href='#SpanTerm'>SpanTerm</a> | <a
> href='#BoostingTermQuery'>BoostingTermQuery</a> | <a
> href='#LikeThisQuery'>LikeThisQuery</a> | <a
> href='#BoostingQuery'>BoostingQuery</a> | <a
> href='#FuzzyLikeThisQuery'>FuzzyLikeThisQuery</a> | <a
> href='#RangeFilter'>RangeFilter</a> | <a
> href='#NumericRangeFilter'>NumericRangeFilter</a> | <
>  a href='#CachedFilter'>CachedFilter</a> | <a
> href='#TermsFilter'>TermsFilter</a> | <a
> href='#BooleanFilter'>BooleanFilter</a> | <a
> href='#DuplicateFilter'>DuplicateFilter</a>)</p><a
> name='Clause_occurs'></a>
>  <br /><table class='attributeTitle' summary="occurs"><tr><td
> class='leftAttributeTitle'>
>  @occurs</td><td class='rightAttributeTitle'>
>  Attribute of <a href='#Clause'>Clause</a>
> @@ -128,7 +131,7 @@ Attribute of <a href='#Clause'>Clause</a
>  <p>Controls if the clause is optional (should), mandatory (must) or
> unacceptable (mustNot)</p><p><span class='inTextTitle'>Possible
> values</span>: should, must, mustnot - <span
> class='inTextTitle'>Default value</span>: should</p><a
> name='CachedFilter'></a>
>  <br /><table class='elementTitle' summary="CachedFilter"><tr><td
> class='leftElementTitle'>
>  &lt;CachedFilter&gt;</td><td class='rightElementTitle'>
> -Child of <a href='#ConstantScoreQuery'>ConstantScoreQuery</a>, <a
> href='#Filter'>Filter</a>, <a href='#Clause'>Clause</a>
> +Child of <a href='#Clause'>Clause</a>, <a href='#Filter'>Filter</a>,
> <a href='#ConstantScoreQuery'>ConstantScoreQuery</a>
>  </td></tr></table>
>  <p>Caches any nested query or filter in an LRU (Least recently used)
> Cache. Cached queries, like filters, are turned into
>  Bitsets at a cost of 1 bit per document in the index. The memory cost
> of a cached query/filter is therefore numberOfDocsinIndex/8 bytes.
> @@ -157,6 +160,7 @@ RAM to eliminate the cost of building th
>  <tbody><tr><td><a href='#BooleanFilter'>BooleanFilter</a></td><td>One
> or none</td></tr>
>  <tr><td><a href='#BooleanQuery'>BooleanQuery</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#BoostingQuery'>BoostingQuery</a></td><td>One or
> none</td></tr>
> +<tr><td><a href='#BoostingTermQuery'>BoostingTermQuery</a></td><td>One
> or none</td></tr>
>  <tr><td><a href='#CachedFilter'>CachedFilter</a></td><td>One or
> none</td></tr>
>  <tr><td><a
> href='#ConstantScoreQuery'>ConstantScoreQuery</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#DuplicateFilter'>DuplicateFilter</a></td><td>One or
> none</td></tr>
> @@ -164,6 +168,8 @@ RAM to eliminate the cost of building th
>  <tr><td><a
> href='#FuzzyLikeThisQuery'>FuzzyLikeThisQuery</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#LikeThisQuery'>LikeThisQuery</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#MatchAllDocsQuery'>MatchAllDocsQuery</a></td><td>One
> or none</td></tr>
> +<tr><td><a
> href='#NumericRangeFilter'>NumericRangeFilter</a></td><td>One or
> none</td></tr>
> +<tr><td><a href='#NumericRangeQuery'>NumericRangeQuery</a></td><td>One
> or none</td></tr>
>  <tr><td><a href='#RangeFilter'>RangeFilter</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#SpanFirst'>SpanFirst</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#SpanNear'>SpanNear</a></td><td>One or none</td></tr>
> @@ -176,10 +182,10 @@ RAM to eliminate the cost of building th
>  <tr><td><a href='#TermsQuery'>TermsQuery</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#UserQuery'>UserQuery</a></td><td>One or
> none</td></tr>
>  </tbody></table></td></tr></table></blockquote>
> -<span class='inTextTitle'>Element's model:</span><p class='model'>(<a
> href='#BooleanQuery'>BooleanQuery</a> | <a
> href='#UserQuery'>UserQuery</a> | <a
> href='#FilteredQuery'>FilteredQuery</a> | <a
> href='#TermQuery'>TermQuery</a> | <a href='#TermsQuery'>TermsQuery</a>
> | <a href='#MatchAllDocsQuery'>MatchAllDocsQuery</a> | <a
> href='#ConstantScoreQuery'>ConstantScoreQuery</a> | <a
> href='#SpanOr'>SpanOr</a> | <a href='#SpanNear'>SpanNear</a> | <a
> href='#SpanOrTerms'>SpanOrTerms</a> | <a
> href='#SpanFirst'>SpanFirst</a> | <a href='#SpanNot'>SpanNot</a> | <a
> href='#SpanTerm'>SpanTerm</a> | <a
> href='#LikeThisQuery'>LikeThisQuery</a> | <a
> href='#BoostingQuery'>BoostingQuery</a> | <a
> href='#FuzzyLikeThisQuery'>FuzzyLikeThisQuery</a> | <a
> href='#RangeFilter'>RangeFilter</a> | <a
> href='#CachedFilter'>CachedFilter</a> | <a
> href='#TermsFilter'>TermsFilter</a> | <a
> href='#BooleanFilter'>BooleanFilter</a> | <a
> href='#DuplicateFilter'>DuplicateFilter</a>)</p><a
> name='UserQuery'></a>
> +<span class='inTextTitle'>Element's model:</span><p class='model'>(<a
> href='#BooleanQuery'>BooleanQuery</a> | <a
> href='#UserQuery'>UserQuery</a> | <a
> href='#FilteredQuery'>FilteredQuery</a> | <a
> href='#TermQuery'>TermQuery</a> | <a href='#TermsQuery'>TermsQuery</a>
> | <a href='#MatchAllDocsQuery'>MatchAllDocsQuery</a> | <a
> href='#ConstantScoreQuery'>ConstantScoreQuery</a> | <a
> href='#BoostingTermQuery'>BoostingTermQuery</a> | <a
> href='#NumericRangeQuery'>NumericRangeQuery</a> | <a
> href='#SpanOr'>SpanOr</a> | <a href='#SpanNear'>SpanNear</a> | <a
> href='#SpanOrTerms'>SpanOrTerms</a> | <a
> href='#SpanFirst'>SpanFirst</a> | <a href='#SpanNot'>SpanNot</a> | <a
> href='#SpanTerm'>SpanTerm</a> | <a
> href='#BoostingTermQuery'>BoostingTermQuery</a> | <a
> href='#LikeThisQuery'>LikeThisQuery</a> | <a
> href='#BoostingQuery'>BoostingQuery</a> | <a
> href='#FuzzyLikeThisQuery'>FuzzyLikeThisQuery</a> | <a
> href='#RangeFilter'>RangeFilter</a> | <a
> href='#NumericRangeFilter'>NumericRangeFilter</a> | <
>  a href='#CachedFilter'>CachedFilter</a> | <a
> href='#TermsFilter'>TermsFilter</a> | <a
> href='#BooleanFilter'>BooleanFilter</a> | <a
> href='#DuplicateFilter'>DuplicateFilter</a>)</p><a
> name='UserQuery'></a>
>  <br /><table class='elementTitle' summary="UserQuery"><tr><td
> class='leftElementTitle'>
>  &lt;UserQuery&gt;</td><td class='rightElementTitle'>
> -Child of <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#BoostQuery'>BoostQuery</a>, <a href='#Query'>Query</a>, <a
> href='#Clause'>Clause</a>
> +Child of <a href='#BoostQuery'>BoostQuery</a>, <a
> href='#Clause'>Clause</a>, <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#Query'>Query</a>
>  </td></tr></table>
>  <p>Passes content directly through to the standard LuceneQuery parser
> see "Lucene Query Syntax"</p><p><span
> class='inTextTitle'>Example:</span> <em>Search for documents about John
> Smith or John Doe using standard LuceneQuerySyntax</em>
>  </p><pre>
> @@ -206,7 +212,7 @@ Attribute of <a href='#UserQuery'>UserQu
>  <p>fieldName can optionally be defined here to change the default
> field used in the QueryParser</p><a name='MatchAllDocsQuery'></a>
>  <br /><table class='elementTitle' summary="MatchAllDocsQuery"><tr><td
> class='leftElementTitle'>
>  &lt;MatchAllDocsQuery/&gt;</td><td class='rightElementTitle'>
> -Child of <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#BoostQuery'>BoostQuery</a>, <a href='#Query'>Query</a>, <a
> href='#Clause'>Clause</a>
> +Child of <a href='#BoostQuery'>BoostQuery</a>, <a
> href='#Clause'>Clause</a>, <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#Query'>Query</a>
>  </td></tr></table>
>  <p>A query which is used to match all documents. This has a couple of
> uses:
>  <ol>
> @@ -227,7 +233,7 @@ used to select content rather than it's
>  	       </pre><p></p><p class='emptyTagNote'>This element is
> always empty.</p><a name='TermQuery'></a>
>  <br /><table class='elementTitle' summary="TermQuery"><tr><td
> class='leftElementTitle'>
>  &lt;TermQuery&gt;</td><td class='rightElementTitle'>
> -Child of <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#BoostQuery'>BoostQuery</a>, <a href='#Query'>Query</a>, <a
> href='#Clause'>Clause</a>
> +Child of <a href='#BoostQuery'>BoostQuery</a>, <a
> href='#Clause'>Clause</a>, <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#Query'>Query</a>
>  </td></tr></table>
>  <p>a single term query - no analysis is done of the child
> text</p><p><span class='inTextTitle'>Example:</span> <em>Match on a
> primary key</em>
>  </p><pre>
> @@ -251,10 +257,25 @@ Attribute of <a href='#TermQuery'>TermQu
>  @fieldName</td><td class='rightAttributeTitle'>
>  Attribute of <a href='#TermQuery'>TermQuery</a>
>  </td></tr></table>
> +<p>fieldName must be defined here or is taken from the most immediate
> parent XML element that defines a "fieldName" attribute</p><a
> name='BoostingTermQuery'></a>
> +<br /><table class='elementTitle' summary="BoostingTermQuery"><tr><td
> class='leftElementTitle'>
> +&lt;BoostingTermQuery&gt;</td><td class='rightElementTitle'>
> +Child of <a href='#BoostQuery'>BoostQuery</a>, <a
> href='#Clause'>Clause</a>, <a href='#SpanFirst'>SpanFirst</a>, <a
> href='#Include'>Include</a>, <a href='#CachedFilter'>CachedFilter</a>,
> <a href='#SpanOr'>SpanOr</a>, <a href='#SpanNear'>SpanNear</a>, <a
> href='#Exclude'>Exclude</a>, <a href='#Query'>Query</a>
> +</td></tr></table>
> +<p>A boosted term query - no analysis is done of the child text. Also
> a span member.</p><p>(Text below is copied from the javadocs of
> BoostingTermQuery)</p><p>The BoostingTermQuery is very similar to the
> {</p><a name='TermQuery_boost'></a>
> +<br /><table class='attributeTitle' summary="boost"><tr><td
> class='leftAttributeTitle'>
> +@boost</td><td class='rightAttributeTitle'>
> +Attribute of <a href='#TermQuery'>TermQuery</a>
> +</td></tr></table>
> +<p>Optional boost for matches on this query. Values > 1</p><p><span
> class='inTextTitle'>Default value</span>: 1.0</p><a
> name='TermQuery_fieldName'></a>
> +<br /><table class='attributeTitle' summary="fieldName"><tr><td
> class='leftAttributeTitle'>
> +@fieldName</td><td class='rightAttributeTitle'>
> +Attribute of <a href='#TermQuery'>TermQuery</a>
> +</td></tr></table>
>  <p>fieldName must be defined here or is taken from the most immediate
> parent XML element that defines a "fieldName" attribute</p><a
> name='TermsQuery'></a>
>  <br /><table class='elementTitle' summary="TermsQuery"><tr><td
> class='leftElementTitle'>
>  &lt;TermsQuery&gt;</td><td class='rightElementTitle'>
> -Child of <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#BoostQuery'>BoostQuery</a>, <a href='#Query'>Query</a>, <a
> href='#Clause'>Clause</a>
> +Child of <a href='#BoostQuery'>BoostQuery</a>, <a
> href='#Clause'>Clause</a>, <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#Query'>Query</a>
>  </td></tr></table>
>  <p>The equivalent of a BooleanQuery with multiple optional TermQuery
> clauses.
>  Child text is analyzed using a field-specific choice of Analyzer to
> produce a set of terms that are ORed together in Boolean logic.
> @@ -295,7 +316,7 @@ Attribute of <a href='#TermsQuery'>Terms
>  <p>The minimum number of terms that should be present in any one
> document before it is considered to be a match.</p><p><span
> class='inTextTitle'>Default value</span>: 0</p><a
> name='FilteredQuery'></a>
>  <br /><table class='elementTitle' summary="FilteredQuery"><tr><td
> class='leftElementTitle'>
>  &lt;FilteredQuery&gt;</td><td class='rightElementTitle'>
> -Child of <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#BoostQuery'>BoostQuery</a>, <a href='#Query'>Query</a>, <a
> href='#Clause'>Clause</a>
> +Child of <a href='#BoostQuery'>BoostQuery</a>, <a
> href='#Clause'>Clause</a>, <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#Query'>Query</a>
>  </td></tr></table>
>  <p>Runs a Query and filters results to only those query matches that
> also match the Filter element.</p><p><span
> class='inTextTitle'>Example:</span> <em>Find all documents about Lucene
> that have a status of "published"</em>
>  </p><pre>
> @@ -333,7 +354,7 @@ Attribute of <a href='#FilteredQuery'>Fi
>  <p>Optional boost for matches on this query. Values > 1</p><p><span
> class='inTextTitle'>Default value</span>: 1.0</p><a name='Query'></a>
>  <br /><table class='elementTitle' summary="Query"><tr><td
> class='leftElementTitle'>
>  &lt;Query&gt;</td><td class='rightElementTitle'>
> -Child of <a href='#BoostingQuery'>BoostingQuery</a>, <a
> href='#FilteredQuery'>FilteredQuery</a>
> +Child of <a href='#FilteredQuery'>FilteredQuery</a>, <a
> href='#BoostingQuery'>BoostingQuery</a>
>  </td></tr></table>
>  <p>Used to identify a nested Query element inside another container
> element. NOT a top-level query tag</p><blockquote><table
> summary='element info'><tr>
>  <td class='construct'><table summary="&lt;Query&gt;'s children">
> @@ -345,11 +366,13 @@ Child of <a href='#BoostingQuery'>Boosti
>  </thead>
>  <tbody><tr><td><a href='#BooleanQuery'>BooleanQuery</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#BoostingQuery'>BoostingQuery</a></td><td>One or
> none</td></tr>
> +<tr><td><a href='#BoostingTermQuery'>BoostingTermQuery</a></td><td>One
> or none</td></tr>
>  <tr><td><a
> href='#ConstantScoreQuery'>ConstantScoreQuery</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#FilteredQuery'>FilteredQuery</a></td><td>One or
> none</td></tr>
>  <tr><td><a
> href='#FuzzyLikeThisQuery'>FuzzyLikeThisQuery</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#LikeThisQuery'>LikeThisQuery</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#MatchAllDocsQuery'>MatchAllDocsQuery</a></td><td>One
> or none</td></tr>
> +<tr><td><a href='#NumericRangeQuery'>NumericRangeQuery</a></td><td>One
> or none</td></tr>
>  <tr><td><a href='#SpanFirst'>SpanFirst</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#SpanNear'>SpanNear</a></td><td>One or none</td></tr>
>  <tr><td><a href='#SpanNot'>SpanNot</a></td><td>One or none</td></tr>
> @@ -360,7 +383,7 @@ Child of <a href='#BoostingQuery'>Boosti
>  <tr><td><a href='#TermsQuery'>TermsQuery</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#UserQuery'>UserQuery</a></td><td>One or
> none</td></tr>
>  </tbody></table></td></tr></table></blockquote>
> -<span class='inTextTitle'>Element's model:</span><p class='model'>(<a
> href='#BooleanQuery'>BooleanQuery</a> | <a
> href='#UserQuery'>UserQuery</a> | <a
> href='#FilteredQuery'>FilteredQuery</a> | <a
> href='#TermQuery'>TermQuery</a> | <a href='#TermsQuery'>TermsQuery</a>
> | <a href='#MatchAllDocsQuery'>MatchAllDocsQuery</a> | <a
> href='#ConstantScoreQuery'>ConstantScoreQuery</a> | <a
> href='#SpanOr'>SpanOr</a> | <a href='#SpanNear'>SpanNear</a> | <a
> href='#SpanOrTerms'>SpanOrTerms</a> | <a
> href='#SpanFirst'>SpanFirst</a> | <a href='#SpanNot'>SpanNot</a> | <a
> href='#SpanTerm'>SpanTerm</a> | <a
> href='#LikeThisQuery'>LikeThisQuery</a> | <a
> href='#BoostingQuery'>BoostingQuery</a> | <a
> href='#FuzzyLikeThisQuery'>FuzzyLikeThisQuery</a>)</p><a
> name='Filter'></a>
> +<span class='inTextTitle'>Element's model:</span><p class='model'>(<a
> href='#BooleanQuery'>BooleanQuery</a> | <a
> href='#UserQuery'>UserQuery</a> | <a
> href='#FilteredQuery'>FilteredQuery</a> | <a
> href='#TermQuery'>TermQuery</a> | <a href='#TermsQuery'>TermsQuery</a>
> | <a href='#MatchAllDocsQuery'>MatchAllDocsQuery</a> | <a
> href='#ConstantScoreQuery'>ConstantScoreQuery</a> | <a
> href='#BoostingTermQuery'>BoostingTermQuery</a> | <a
> href='#NumericRangeQuery'>NumericRangeQuery</a> | <a
> href='#SpanOr'>SpanOr</a> | <a href='#SpanNear'>SpanNear</a> | <a
> href='#SpanOrTerms'>SpanOrTerms</a> | <a
> href='#SpanFirst'>SpanFirst</a> | <a href='#SpanNot'>SpanNot</a> | <a
> href='#SpanTerm'>SpanTerm</a> | <a
> href='#BoostingTermQuery'>BoostingTermQuery</a> | <a
> href='#LikeThisQuery'>LikeThisQuery</a> | <a
> href='#BoostingQuery'>BoostingQuery</a> | <a
> href='#FuzzyLikeThisQuery'>FuzzyLikeThisQuery</a>)</p><a
> name='Filter'></a>
>  <br /><table class='elementTitle' summary="Filter"><tr><td
> class='leftElementTitle'>
>  &lt;Filter&gt;</td><td class='rightElementTitle'>
>  Child of <a href='#FilteredQuery'>FilteredQuery</a>
> @@ -376,13 +399,14 @@ Child of <a href='#FilteredQuery'>Filter
>  <tbody><tr><td><a href='#BooleanFilter'>BooleanFilter</a></td><td>One
> or none</td></tr>
>  <tr><td><a href='#CachedFilter'>CachedFilter</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#DuplicateFilter'>DuplicateFilter</a></td><td>One or
> none</td></tr>
> +<tr><td><a
> href='#NumericRangeFilter'>NumericRangeFilter</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#RangeFilter'>RangeFilter</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#TermsFilter'>TermsFilter</a></td><td>One or
> none</td></tr>
>  </tbody></table></td></tr></table></blockquote>
> -<span class='inTextTitle'>Element's model:</span><p class='model'>(<a
> href='#RangeFilter'>RangeFilter</a> | <a
> href='#CachedFilter'>CachedFilter</a> | <a
> href='#TermsFilter'>TermsFilter</a> | <a
> href='#BooleanFilter'>BooleanFilter</a> | <a
> href='#DuplicateFilter'>DuplicateFilter</a>)</p><a
> name='RangeFilter'></a>
> +<span class='inTextTitle'>Element's model:</span><p class='model'>(<a
> href='#RangeFilter'>RangeFilter</a> | <a
> href='#NumericRangeFilter'>NumericRangeFilter</a> | <a
> href='#CachedFilter'>CachedFilter</a> | <a
> href='#TermsFilter'>TermsFilter</a> | <a
> href='#BooleanFilter'>BooleanFilter</a> | <a
> href='#DuplicateFilter'>DuplicateFilter</a>)</p><a
> name='RangeFilter'></a>
>  <br /><table class='elementTitle' summary="RangeFilter"><tr><td
> class='leftElementTitle'>
>  &lt;RangeFilter/&gt;</td><td class='rightElementTitle'>
> -Child of <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#ConstantScoreQuery'>ConstantScoreQuery</a>, <a
> href='#Filter'>Filter</a>, <a href='#Clause'>Clause</a>
> +Child of <a href='#Clause'>Clause</a>, <a href='#Filter'>Filter</a>,
> <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#ConstantScoreQuery'>ConstantScoreQuery</a>
>  </td></tr></table>
>  <p>Filter used to limit query results to documents matching a range of
> field values</p><p><span class='inTextTitle'>Example:</span> <em>Search
> for documents about banks from the last 10 years</em>
>  </p><pre>
> @@ -428,10 +452,121 @@ Attribute of <a href='#RangeFilter'>Rang
>  @includeUpper</td><td class='rightAttributeTitle'>
>  Attribute of <a href='#RangeFilter'>RangeFilter</a>
>  </td></tr></table>
> -<p>Controls if the upperTerm in the range is part of the allowed set
> of values</p><p><span class='inTextTitle'>Possible values</span>: true,
> false - <span class='inTextTitle'>Default value</span>: true</p><a
> name='SpanTerm'></a>
> +<p>Controls if the upperTerm in the range is part of the allowed set
> of values</p><p><span class='inTextTitle'>Possible values</span>: true,
> false - <span class='inTextTitle'>Default value</span>: true</p><a
> name='NumericRangeQuery'></a>
> +<br /><table class='elementTitle' summary="NumericRangeQuery"><tr><td
> class='leftElementTitle'>
> +&lt;NumericRangeQuery/&gt;</td><td class='rightElementTitle'>
> +Child of <a href='#BoostQuery'>BoostQuery</a>, <a
> href='#Clause'>Clause</a>, <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#Query'>Query</a>
> +</td></tr></table>
> +<p>A Query that matches numeric values within a specified
> range.</p><p><span class='inTextTitle'>Example:</span> <em>Search for
> documents about people who are aged 20-25</em>
> +</p><pre>
> +            &lt;NumericRangeQuery fieldName="age" lowerTerm="20"
> upperTerm="25" /&gt;
> +	         </pre><p></p><blockquote>
> +<table  summary="&lt;NumericRangeQuery&gt;'s attributes"><tr>
> +<th class='title' colspan='3'>&lt;NumericRangeQuery&gt;'s
> attributes</th>
> +</tr>
> +<tr><th colspan='3' height='1' class='ruler'></th></tr>
> +<tr>
> +<th class='subtitle'>Name</th><th class='subtitle'>Values</th><th
> class='subtitle'>Default</th></tr>
> +<tr><th colspan='3' height='1' class='ruler'></th></tr>
> +<tr><td><a
> href='#NumericRangeQuery_fieldName'>fieldName</a></td><td></td><td></td
> ></tr><tr><td><a
> href='#NumericRangeQuery_includeLower'>includeLower</a></td><td>true,
> false</td><td>true</td></tr><tr><td><a
> href='#NumericRangeQuery_includeUpper'>includeUpper</a></td><td>true,
> false</td><td>true</td></tr><tr><td><a
> href='#NumericRangeQuery_lowerTerm'>lowerTerm</a></td><td></td><td></td
> ></tr><tr><td><a
> href='#NumericRangeQuery_precisionStep'>precisionStep</a></td><td></td>
> <td>4</td></tr><tr><td><a
> href='#NumericRangeQuery_type'>type</a></td><td>int, long, float,
> double</td><td>int</td></tr><tr><td><a
> href='#NumericRangeQuery_upperTerm'>upperTerm</a></td><td></td><td></td
> ></tr></table></blockquote>
> +<p class='emptyTagNote'>This element is always empty.</p><a
> name='NumericRangeQuery_fieldName'></a>
> +<br /><table class='attributeTitle' summary="fieldName"><tr><td
> class='leftAttributeTitle'>
> +@fieldName</td><td class='rightAttributeTitle'>
> +Attribute of <a href='#NumericRangeQuery'>NumericRangeQuery</a>
> +</td></tr></table>
> +<p>fieldName must be defined here or is taken from the most immediate
> parent XML element that defines a "fieldName" attribute</p><a
> name='NumericRangeQuery_lowerTerm'></a>
> +<br /><table class='attributeTitle' summary="lowerTerm"><tr><td
> class='leftAttributeTitle'>
> +@lowerTerm</td><td class='rightAttributeTitle'>
> +Attribute of <a href='#NumericRangeQuery'>NumericRangeQuery</a>
> +</td></tr></table>
> +<p>The lower-most term value for this field (must be &lt;= upperTerm
> and a valid native java numeric type)</p><p><span
> class='inTextTitle'>Required</span></p><a
> name='NumericRangeQuery_upperTerm'></a>
> +<br /><table class='attributeTitle' summary="upperTerm"><tr><td
> class='leftAttributeTitle'>
> +@upperTerm</td><td class='rightAttributeTitle'>
> +Attribute of <a href='#NumericRangeQuery'>NumericRangeQuery</a>
> +</td></tr></table>
> +<p>The upper-most term value for this field (must be >= lowerTerm and
> a valid native java numeric type)</p><p><span
> class='inTextTitle'>Required</span></p><a
> name='NumericRangeQuery_type'></a>
> +<br /><table class='attributeTitle' summary="type"><tr><td
> class='leftAttributeTitle'>
> +@type</td><td class='rightAttributeTitle'>
> +Attribute of <a href='#NumericRangeQuery'>NumericRangeQuery</a>
> +</td></tr></table>
> +<p>The numeric type of this field</p><p><span
> class='inTextTitle'>Possible values</span>: int, long, float, double -
> <span class='inTextTitle'>Default value</span>: int</p><a
> name='NumericRangeQuery_includeLower'></a>
> +<br /><table class='attributeTitle' summary="includeLower"><tr><td
> class='leftAttributeTitle'>
> +@includeLower</td><td class='rightAttributeTitle'>
> +Attribute of <a href='#NumericRangeQuery'>NumericRangeQuery</a>
> +</td></tr></table>
> +<p>Controls if the lowerTerm in the range is part of the allowed set
> of values</p><p><span class='inTextTitle'>Possible values</span>: true,
> false - <span class='inTextTitle'>Default value</span>: true</p><a
> name='NumericRangeQuery_includeUpper'></a>
> +<br /><table class='attributeTitle' summary="includeUpper"><tr><td
> class='leftAttributeTitle'>
> +@includeUpper</td><td class='rightAttributeTitle'>
> +Attribute of <a href='#NumericRangeQuery'>NumericRangeQuery</a>
> +</td></tr></table>
> +<p>Controls if the upperTerm in the range is part of the allowed set
> of values</p><p><span class='inTextTitle'>Possible values</span>: true,
> false - <span class='inTextTitle'>Default value</span>: true</p><a
> name='NumericRangeQuery_precisionStep'></a>
> +<br /><table class='attributeTitle' summary="precisionStep"><tr><td
> class='leftAttributeTitle'>
> +@precisionStep</td><td class='rightAttributeTitle'>
> +Attribute of <a href='#NumericRangeQuery'>NumericRangeQuery</a>
> +</td></tr></table>
> +<p>Lower step values mean more precisions and so more terms in index
> (and index gets larger). This value must be an integer</p><p><span
> class='inTextTitle'>Default value</span>: 4</p><a
> name='NumericRangeFilter'></a>
> +<br /><table class='elementTitle' summary="NumericRangeFilter"><tr><td
> class='leftElementTitle'>
> +&lt;NumericRangeFilter/&gt;</td><td class='rightElementTitle'>
> +Child of <a href='#Clause'>Clause</a>, <a href='#Filter'>Filter</a>,
> <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#ConstantScoreQuery'>ConstantScoreQuery</a>
> +</td></tr></table>
> +<p>A Filter that only accepts numeric values within a specified
> range</p><p><span class='inTextTitle'>Example:</span> <em>Search for
> documents about people who are aged 20-25</em>
> +</p><pre>
> +            &lt;FilteredQuery&gt;
> +               &lt;Query&gt;
> +                  &lt;UserQuery&gt;person&lt;/UserQuery&gt;
> +               &lt;/Query&gt;
> +               &lt;Filter&gt;
> +                     &lt;NumericRangeFilter fieldName="age"
> lowerTerm="20" upperTerm="25"/&gt;
> +               &lt;/Filter&gt;
> +            &lt;/FilteredQuery&gt;
> +	         </pre><p></p><blockquote>
> +<table  summary="&lt;NumericRangeFilter&gt;'s attributes"><tr>
> +<th class='title' colspan='3'>&lt;NumericRangeFilter&gt;'s
> attributes</th>
> +</tr>
> +<tr><th colspan='3' height='1' class='ruler'></th></tr>
> +<tr>
> +<th class='subtitle'>Name</th><th class='subtitle'>Values</th><th
> class='subtitle'>Default</th></tr>
> +<tr><th colspan='3' height='1' class='ruler'></th></tr>
> +<tr><td><a
> href='#NumericRangeFilter_fieldName'>fieldName</a></td><td></td><td></t
> d></tr><tr><td><a
> href='#NumericRangeFilter_includeLower'>includeLower</a></td><td>true,
> false</td><td>true</td></tr><tr><td><a
> href='#NumericRangeFilter_includeUpper'>includeUpper</a></td><td>true,
> false</td><td>true</td></tr><tr><td><a
> href='#NumericRangeFilter_lowerTerm'>lowerTerm</a></td><td></td><td></t
> d></tr><tr><td><a
> href='#NumericRangeFilter_precisionStep'>precisionStep</a></td><td></td
> ><td>4</td></tr><tr><td><a
> href='#NumericRangeFilter_type'>type</a></td><td>int, long, float,
> double</td><td>int</td></tr><tr><td><a
> href='#NumericRangeFilter_upperTerm'>upperTerm</a></td><td></td><td></t
> d></tr></table></blockquote>
> +<p class='emptyTagNote'>This element is always empty.</p><a
> name='NumericRangeFilter_fieldName'></a>
> +<br /><table class='attributeTitle' summary="fieldName"><tr><td
> class='leftAttributeTitle'>
> +@fieldName</td><td class='rightAttributeTitle'>
> +Attribute of <a href='#NumericRangeFilter'>NumericRangeFilter</a>
> +</td></tr></table>
> +<p>fieldName must be defined here or is taken from the most immediate
> parent XML element that defines a "fieldName" attribute</p><a
> name='NumericRangeFilter_lowerTerm'></a>
> +<br /><table class='attributeTitle' summary="lowerTerm"><tr><td
> class='leftAttributeTitle'>
> +@lowerTerm</td><td class='rightAttributeTitle'>
> +Attribute of <a href='#NumericRangeFilter'>NumericRangeFilter</a>
> +</td></tr></table>
> +<p>The lower-most term value for this field (must be &lt;= upperTerm
> and a valid native java numeric type)</p><p><span
> class='inTextTitle'>Required</span></p><a
> name='NumericRangeFilter_upperTerm'></a>
> +<br /><table class='attributeTitle' summary="upperTerm"><tr><td
> class='leftAttributeTitle'>
> +@upperTerm</td><td class='rightAttributeTitle'>
> +Attribute of <a href='#NumericRangeFilter'>NumericRangeFilter</a>
> +</td></tr></table>
> +<p>The upper-most term value for this field (must be >= lowerTerm and
> a valid native java numeric type)</p><p><span
> class='inTextTitle'>Required</span></p><a
> name='NumericRangeFilter_type'></a>
> +<br /><table class='attributeTitle' summary="type"><tr><td
> class='leftAttributeTitle'>
> +@type</td><td class='rightAttributeTitle'>
> +Attribute of <a href='#NumericRangeFilter'>NumericRangeFilter</a>
> +</td></tr></table>
> +<p>The numeric type of this field</p><p><span
> class='inTextTitle'>Possible values</span>: int, long, float, double -
> <span class='inTextTitle'>Default value</span>: int</p><a
> name='NumericRangeFilter_includeLower'></a>
> +<br /><table class='attributeTitle' summary="includeLower"><tr><td
> class='leftAttributeTitle'>
> +@includeLower</td><td class='rightAttributeTitle'>
> +Attribute of <a href='#NumericRangeFilter'>NumericRangeFilter</a>
> +</td></tr></table>
> +<p>Controls if the lowerTerm in the range is part of the allowed set
> of values</p><p><span class='inTextTitle'>Possible values</span>: true,
> false - <span class='inTextTitle'>Default value</span>: true</p><a
> name='NumericRangeFilter_includeUpper'></a>
> +<br /><table class='attributeTitle' summary="includeUpper"><tr><td
> class='leftAttributeTitle'>
> +@includeUpper</td><td class='rightAttributeTitle'>
> +Attribute of <a href='#NumericRangeFilter'>NumericRangeFilter</a>
> +</td></tr></table>
> +<p>Controls if the upperTerm in the range is part of the allowed set
> of values</p><p><span class='inTextTitle'>Possible values</span>: true,
> false - <span class='inTextTitle'>Default value</span>: true</p><a
> name='NumericRangeFilter_precisionStep'></a>
> +<br /><table class='attributeTitle' summary="precisionStep"><tr><td
> class='leftAttributeTitle'>
> +@precisionStep</td><td class='rightAttributeTitle'>
> +Attribute of <a href='#NumericRangeFilter'>NumericRangeFilter</a>
> +</td></tr></table>
> +<p>Lower step values mean more precisions and so more terms in index
> (and index gets larger). This value must be an integer</p><p><span
> class='inTextTitle'>Default value</span>: 4</p><a name='SpanTerm'></a>
>  <br /><table class='elementTitle' summary="SpanTerm"><tr><td
> class='leftElementTitle'>
>  &lt;SpanTerm&gt;</td><td class='rightElementTitle'>
> -Child of <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#SpanNear'>SpanNear</a>, <a href='#BoostQuery'>BoostQuery</a>, <a
> href='#Query'>Query</a>, <a href='#Include'>Include</a>, <a
> href='#SpanOr'>SpanOr</a>, <a href='#SpanFirst'>SpanFirst</a>, <a
> href='#Clause'>Clause</a>, <a href='#Exclude'>Exclude</a>
> +Child of <a href='#BoostQuery'>BoostQuery</a>, <a
> href='#Clause'>Clause</a>, <a href='#SpanFirst'>SpanFirst</a>, <a
> href='#Include'>Include</a>, <a href='#CachedFilter'>CachedFilter</a>,
> <a href='#SpanOr'>SpanOr</a>, <a href='#SpanNear'>SpanNear</a>, <a
> href='#Exclude'>Exclude</a>, <a href='#Query'>Query</a>
>  </td></tr></table>
>  <p>A single term used in a SpanQuery. These clauses are the building
> blocks for more complex "span" queries which test word
> proximity</p><p><span class='inTextTitle'>Example:</span> <em>Find
> documents using terms close to each other about mining and
> accidents</em>
>  </p><pre>
> @@ -464,7 +599,7 @@ Attribute of <a href='#SpanTerm'>SpanTer
>  <p>fieldName must be defined here or is taken from the most immediate
> parent XML element that defines a "fieldName" attribute</p><p><span
> class='inTextTitle'>Required</span></p><a name='SpanOrTerms'></a>
>  <br /><table class='elementTitle' summary="SpanOrTerms"><tr><td
> class='leftElementTitle'>
>  &lt;SpanOrTerms&gt;</td><td class='rightElementTitle'>
> -Child of <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#SpanNear'>SpanNear</a>, <a href='#BoostQuery'>BoostQuery</a>, <a
> href='#Query'>Query</a>, <a href='#Include'>Include</a>, <a
> href='#SpanOr'>SpanOr</a>, <a href='#SpanFirst'>SpanFirst</a>, <a
> href='#Clause'>Clause</a>, <a href='#Exclude'>Exclude</a>
> +Child of <a href='#BoostQuery'>BoostQuery</a>, <a
> href='#Clause'>Clause</a>, <a href='#SpanFirst'>SpanFirst</a>, <a
> href='#Include'>Include</a>, <a href='#CachedFilter'>CachedFilter</a>,
> <a href='#SpanOr'>SpanOr</a>, <a href='#SpanNear'>SpanNear</a>, <a
> href='#Exclude'>Exclude</a>, <a href='#Query'>Query</a>
>  </td></tr></table>
>  <p>A field-specific analyzer is used here to parse the child text
> provided in this tag. The SpanTerms produced are ORed in terms of
> Boolean logic</p><p><span class='inTextTitle'>Example:</span> <em>Use
> SpanOrTerms as a more convenient/succinct way of expressing multiple
> choices of SpanTerms. This example looks for reports
>  using words describing a fatality near to references to miners</em>
> @@ -490,7 +625,7 @@ Attribute of <a href='#SpanOrTerms'>Span
>  <p>fieldName must be defined here or is taken from the most immediate
> parent XML element that defines a "fieldName" attribute</p><p><span
> class='inTextTitle'>Required</span></p><a name='SpanOr'></a>
>  <br /><table class='elementTitle' summary="SpanOr"><tr><td
> class='leftElementTitle'>
>  &lt;SpanOr&gt;</td><td class='rightElementTitle'>
> -Child of <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#SpanNear'>SpanNear</a>, <a href='#BoostQuery'>BoostQuery</a>, <a
> href='#Query'>Query</a>, <a href='#Include'>Include</a>, <a
> href='#SpanFirst'>SpanFirst</a>, <a href='#Clause'>Clause</a>, <a
> href='#Exclude'>Exclude</a>
> +Child of <a href='#BoostQuery'>BoostQuery</a>, <a
> href='#Clause'>Clause</a>, <a href='#SpanFirst'>SpanFirst</a>, <a
> href='#Include'>Include</a>, <a href='#CachedFilter'>CachedFilter</a>,
> <a href='#SpanNear'>SpanNear</a>, <a href='#Exclude'>Exclude</a>, <a
> href='#Query'>Query</a>
>  </td></tr></table>
>  <p>Takes any number of child queries from the Span family</p><p><span
> class='inTextTitle'>Example:</span> <em>Find documents using terms
> close to each other about mining and accidents</em>
>  </p><pre>
> @@ -514,17 +649,18 @@ Child of <a href='#CachedFilter'>CachedF
>  <tr><th class='subtitle'>Name</th><th
> class='subtitle'>Cardinality</th></tr>
>  <tr><th colspan='2' height='1' class='ruler'></th></tr>
>  </thead>
> -<tbody><tr><td><a href='#SpanFirst'>SpanFirst</a></td><td>Any
> number</td></tr>
> +<tbody><tr><td><a
> href='#BoostingTermQuery'>BoostingTermQuery</a></td><td>Any
> number</td></tr>
> +<tr><td><a href='#SpanFirst'>SpanFirst</a></td><td>Any
> number</td></tr>
>  <tr><td><a href='#SpanNear'>SpanNear</a></td><td>Any number</td></tr>
>  <tr><td><a href='#SpanNot'>SpanNot</a></td><td>Any number</td></tr>
>  <tr><td><a href='#SpanOr'>SpanOr</a></td><td>Any number</td></tr>
>  <tr><td><a href='#SpanOrTerms'>SpanOrTerms</a></td><td>Any
> number</td></tr>
>  <tr><td><a href='#SpanTerm'>SpanTerm</a></td><td>Any number</td></tr>
>  </tbody></table></td></tr></table></blockquote>
> -<span class='inTextTitle'>Element's model:</span><p class='model'>(<a
> href='#SpanOr'>SpanOr</a> | <a href='#SpanNear'>SpanNear</a> | <a
> href='#SpanOrTerms'>SpanOrTerms</a> | <a
> href='#SpanFirst'>SpanFirst</a> | <a href='#SpanNot'>SpanNot</a> | <a
> href='#SpanTerm'>SpanTerm</a>)*</p><a name='SpanNear'></a>
> +<span class='inTextTitle'>Element's model:</span><p class='model'>(<a
> href='#SpanOr'>SpanOr</a> | <a href='#SpanNear'>SpanNear</a> | <a
> href='#SpanOrTerms'>SpanOrTerms</a> | <a
> href='#SpanFirst'>SpanFirst</a> | <a href='#SpanNot'>SpanNot</a> | <a
> href='#SpanTerm'>SpanTerm</a> | <a
> href='#BoostingTermQuery'>BoostingTermQuery</a>)*</p><a
> name='SpanNear'></a>
>  <br /><table class='elementTitle' summary="SpanNear"><tr><td
> class='leftElementTitle'>
>  &lt;SpanNear&gt;</td><td class='rightElementTitle'>
> -Child of <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#BoostQuery'>BoostQuery</a>, <a href='#Query'>Query</a>, <a
> href='#Include'>Include</a>, <a href='#SpanOr'>SpanOr</a>, <a
> href='#SpanFirst'>SpanFirst</a>, <a href='#Clause'>Clause</a>, <a
> href='#Exclude'>Exclude</a>
> +Child of <a href='#BoostQuery'>BoostQuery</a>, <a
> href='#Clause'>Clause</a>, <a href='#SpanFirst'>SpanFirst</a>, <a
> href='#Include'>Include</a>, <a href='#CachedFilter'>CachedFilter</a>,
> <a href='#SpanOr'>SpanOr</a>, <a href='#Exclude'>Exclude</a>, <a
> href='#Query'>Query</a>
>  </td></tr></table>
>  <p>Takes any number of child queries from the Span family and tests
> for proximity</p><blockquote><table summary='element info'><tr>
>  <td class='construct'><table summary="&lt;SpanNear&gt;'s children">
> @@ -534,7 +670,8 @@ Child of <a href='#CachedFilter'>CachedF
>  <tr><th class='subtitle'>Name</th><th
> class='subtitle'>Cardinality</th></tr>
>  <tr><th colspan='2' height='1' class='ruler'></th></tr>
>  </thead>
> -<tbody><tr><td><a href='#SpanFirst'>SpanFirst</a></td><td>Any
> number</td></tr>
> +<tbody><tr><td><a
> href='#BoostingTermQuery'>BoostingTermQuery</a></td><td>Any
> number</td></tr>
> +<tr><td><a href='#SpanFirst'>SpanFirst</a></td><td>Any
> number</td></tr>
>  <tr><td><a href='#SpanNear'>SpanNear</a></td><td>Any number</td></tr>
>  <tr><td><a href='#SpanNot'>SpanNot</a></td><td>Any number</td></tr>
>  <tr><td><a href='#SpanOr'>SpanOr</a></td><td>Any number</td></tr>
> @@ -548,7 +685,7 @@ Child of <a href='#CachedFilter'>CachedF
>  <th class='subtitle'>Name</th><th class='subtitle'>Values</th><th
> class='subtitle'>Default</th></tr>
>  <tr><th colspan='3' height='1' class='ruler'></th></tr>
>  <tr><td><a href='#SpanNear_inOrder'>inOrder</a></td><td>true,
> false</td><td>true</td></tr><tr><td><a
> href='#SpanNear_slop'>slop</a></td><td></td><td></td></tr></table></td>
> </tr></table></blockquote>
> -<span class='inTextTitle'>Element's model:</span><p class='model'>(<a
> href='#SpanOr'>SpanOr</a> | <a href='#SpanNear'>SpanNear</a> | <a
> href='#SpanOrTerms'>SpanOrTerms</a> | <a
> href='#SpanFirst'>SpanFirst</a> | <a href='#SpanNot'>SpanNot</a> | <a
> href='#SpanTerm'>SpanTerm</a>)*</p><a name='SpanNear_slop'></a>
> +<span class='inTextTitle'>Element's model:</span><p class='model'>(<a
> href='#SpanOr'>SpanOr</a> | <a href='#SpanNear'>SpanNear</a> | <a
> href='#SpanOrTerms'>SpanOrTerms</a> | <a
> href='#SpanFirst'>SpanFirst</a> | <a href='#SpanNot'>SpanNot</a> | <a
> href='#SpanTerm'>SpanTerm</a> | <a
> href='#BoostingTermQuery'>BoostingTermQuery</a>)*</p><a
> name='SpanNear_slop'></a>
>  <br /><table class='attributeTitle' summary="slop"><tr><td
> class='leftAttributeTitle'>
>  @slop</td><td class='rightAttributeTitle'>
>  Attribute of <a href='#SpanNear'>SpanNear</a>
> @@ -575,7 +712,7 @@ Attribute of <a href='#SpanNear'>SpanNea
>  <p>Controls if matching terms have to appear in the order listed or
> can be reversed</p><p><span class='inTextTitle'>Possible values</span>:
> true, false - <span class='inTextTitle'>Default value</span>:
> true</p><a name='SpanFirst'></a>
>  <br /><table class='elementTitle' summary="SpanFirst"><tr><td
> class='leftElementTitle'>
>  &lt;SpanFirst&gt;</td><td class='rightElementTitle'>
> -Child of <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#SpanNear'>SpanNear</a>, <a href='#BoostQuery'>BoostQuery</a>, <a
> href='#Query'>Query</a>, <a href='#Include'>Include</a>, <a
> href='#SpanOr'>SpanOr</a>, <a href='#Clause'>Clause</a>, <a
> href='#Exclude'>Exclude</a>
> +Child of <a href='#BoostQuery'>BoostQuery</a>, <a
> href='#Clause'>Clause</a>, <a href='#Include'>Include</a>, <a
> href='#CachedFilter'>CachedFilter</a>, <a href='#SpanOr'>SpanOr</a>, <a
> href='#SpanNear'>SpanNear</a>, <a href='#Exclude'>Exclude</a>, <a
> href='#Query'>Query</a>
>  </td></tr></table>
>  <p>Looks for a SpanQuery match occuring near the beginning of a
> document</p><p><span class='inTextTitle'>Example:</span> <em>Find
> letters where the first 50 words talk about a resignation:</em>
>  </p><pre>
> @@ -590,7 +727,8 @@ Child of <a href='#CachedFilter'>CachedF
>  <tr><th class='subtitle'>Name</th><th
> class='subtitle'>Cardinality</th></tr>
>  <tr><th colspan='2' height='1' class='ruler'></th></tr>
>  </thead>
> -<tbody><tr><td><a href='#SpanFirst'>SpanFirst</a></td><td>One or
> none</td></tr>
> +<tbody><tr><td><a
> href='#BoostingTermQuery'>BoostingTermQuery</a></td><td>One or
> none</td></tr>
> +<tr><td><a href='#SpanFirst'>SpanFirst</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#SpanNear'>SpanNear</a></td><td>One or none</td></tr>
>  <tr><td><a href='#SpanNot'>SpanNot</a></td><td>One or none</td></tr>
>  <tr><td><a href='#SpanOr'>SpanOr</a></td><td>One or none</td></tr>
> @@ -604,7 +742,7 @@ Child of <a href='#CachedFilter'>CachedF
>  <th class='subtitle'>Name</th><th class='subtitle'>Values</th><th
> class='subtitle'>Default</th></tr>
>  <tr><th colspan='3' height='1' class='ruler'></th></tr>
>  <tr><td><a
> href='#SpanFirst_boost'>boost</a></td><td></td><td>1.0</td></tr><tr><td
> ><a
> href='#SpanFirst_end'>end</a></td><td></td><td></td></tr></table></td><
> /tr></table></blockquote>
> -<span class='inTextTitle'>Element's model:</span><p class='model'>(<a
> href='#SpanOr'>SpanOr</a> | <a href='#SpanNear'>SpanNear</a> | <a
> href='#SpanOrTerms'>SpanOrTerms</a> | <a
> href='#SpanFirst'>SpanFirst</a> | <a href='#SpanNot'>SpanNot</a> | <a
> href='#SpanTerm'>SpanTerm</a>)</p><a name='SpanFirst_end'></a>
> +<span class='inTextTitle'>Element's model:</span><p class='model'>(<a
> href='#SpanOr'>SpanOr</a> | <a href='#SpanNear'>SpanNear</a> | <a
> href='#SpanOrTerms'>SpanOrTerms</a> | <a
> href='#SpanFirst'>SpanFirst</a> | <a href='#SpanNot'>SpanNot</a> | <a
> href='#SpanTerm'>SpanTerm</a> | <a
> href='#BoostingTermQuery'>BoostingTermQuery</a>)</p><a
> name='SpanFirst_end'></a>
>  <br /><table class='attributeTitle' summary="end"><tr><td
> class='leftAttributeTitle'>
>  @end</td><td class='rightAttributeTitle'>
>  Attribute of <a href='#SpanFirst'>SpanFirst</a>
> @@ -617,7 +755,7 @@ Attribute of <a href='#SpanFirst'>SpanFi
>  <p>Optional boost for matches on this query. Values > 1</p><p><span
> class='inTextTitle'>Default value</span>: 1.0</p><a name='SpanNot'></a>
>  <br /><table class='elementTitle' summary="SpanNot"><tr><td
> class='leftElementTitle'>
>  &lt;SpanNot&gt;</td><td class='rightElementTitle'>
> -Child of <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#SpanNear'>SpanNear</a>, <a href='#BoostQuery'>BoostQuery</a>, <a
> href='#Query'>Query</a>, <a href='#Include'>Include</a>, <a
> href='#SpanOr'>SpanOr</a>, <a href='#SpanFirst'>SpanFirst</a>, <a
> href='#Clause'>Clause</a>, <a href='#Exclude'>Exclude</a>
> +Child of <a href='#BoostQuery'>BoostQuery</a>, <a
> href='#Clause'>Clause</a>, <a href='#SpanFirst'>SpanFirst</a>, <a
> href='#Include'>Include</a>, <a href='#CachedFilter'>CachedFilter</a>,
> <a href='#SpanOr'>SpanOr</a>, <a href='#SpanNear'>SpanNear</a>, <a
> href='#Exclude'>Exclude</a>, <a href='#Query'>Query</a>
>  </td></tr></table>
>  <p>Finds documents matching a SpanQuery but not if matching another
> SpanQuery</p><p><span class='inTextTitle'>Example:</span> <em>Find
> documents talking about social services but not containing the word
> "public"</em>
>  </p><pre>
> @@ -656,14 +794,15 @@ Child of <a href='#SpanNot'>SpanNot</a>
>  <tr><th class='subtitle'>Name</th><th
> class='subtitle'>Cardinality</th></tr>
>  <tr><th colspan='2' height='1' class='ruler'></th></tr>
>  </thead>
> -<tbody><tr><td><a href='#SpanFirst'>SpanFirst</a></td><td>One or
> none</td></tr>
> +<tbody><tr><td><a
> href='#BoostingTermQuery'>BoostingTermQuery</a></td><td>One or
> none</td></tr>
> +<tr><td><a href='#SpanFirst'>SpanFirst</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#SpanNear'>SpanNear</a></td><td>One or none</td></tr>
>  <tr><td><a href='#SpanNot'>SpanNot</a></td><td>One or none</td></tr>
>  <tr><td><a href='#SpanOr'>SpanOr</a></td><td>One or none</td></tr>
>  <tr><td><a href='#SpanOrTerms'>SpanOrTerms</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#SpanTerm'>SpanTerm</a></td><td>One or none</td></tr>
>  </tbody></table></td></tr></table></blockquote>
> -<span class='inTextTitle'>Element's model:</span><p class='model'>(<a
> href='#SpanOr'>SpanOr</a> | <a href='#SpanNear'>SpanNear</a> | <a
> href='#SpanOrTerms'>SpanOrTerms</a> | <a
> href='#SpanFirst'>SpanFirst</a> | <a href='#SpanNot'>SpanNot</a> | <a
> href='#SpanTerm'>SpanTerm</a>)</p><a name='Exclude'></a>
> +<span class='inTextTitle'>Element's model:</span><p class='model'>(<a
> href='#SpanOr'>SpanOr</a> | <a href='#SpanNear'>SpanNear</a> | <a
> href='#SpanOrTerms'>SpanOrTerms</a> | <a
> href='#SpanFirst'>SpanFirst</a> | <a href='#SpanNot'>SpanNot</a> | <a
> href='#SpanTerm'>SpanTerm</a> | <a
> href='#BoostingTermQuery'>BoostingTermQuery</a>)</p><a
> name='Exclude'></a>
>  <br /><table class='elementTitle' summary="Exclude"><tr><td
> class='leftElementTitle'>
>  &lt;Exclude&gt;</td><td class='rightElementTitle'>
>  Child of <a href='#SpanNot'>SpanNot</a>
> @@ -676,17 +815,18 @@ Child of <a href='#SpanNot'>SpanNot</a>
>  <tr><th class='subtitle'>Name</th><th
> class='subtitle'>Cardinality</th></tr>
>  <tr><th colspan='2' height='1' class='ruler'></th></tr>
>  </thead>
> -<tbody><tr><td><a href='#SpanFirst'>SpanFirst</a></td><td>One or
> none</td></tr>
> +<tbody><tr><td><a
> href='#BoostingTermQuery'>BoostingTermQuery</a></td><td>One or
> none</td></tr>
> +<tr><td><a href='#SpanFirst'>SpanFirst</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#SpanNear'>SpanNear</a></td><td>One or none</td></tr>
>  <tr><td><a href='#SpanNot'>SpanNot</a></td><td>One or none</td></tr>
>  <tr><td><a href='#SpanOr'>SpanOr</a></td><td>One or none</td></tr>
>  <tr><td><a href='#SpanOrTerms'>SpanOrTerms</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#SpanTerm'>SpanTerm</a></td><td>One or none</td></tr>
>  </tbody></table></td></tr></table></blockquote>
> -<span class='inTextTitle'>Element's model:</span><p class='model'>(<a
> href='#SpanOr'>SpanOr</a> | <a href='#SpanNear'>SpanNear</a> | <a
> href='#SpanOrTerms'>SpanOrTerms</a> | <a
> href='#SpanFirst'>SpanFirst</a> | <a href='#SpanNot'>SpanNot</a> | <a
> href='#SpanTerm'>SpanTerm</a>)</p><a name='ConstantScoreQuery'></a>
> +<span class='inTextTitle'>Element's model:</span><p class='model'>(<a
> href='#SpanOr'>SpanOr</a> | <a href='#SpanNear'>SpanNear</a> | <a
> href='#SpanOrTerms'>SpanOrTerms</a> | <a
> href='#SpanFirst'>SpanFirst</a> | <a href='#SpanNot'>SpanNot</a> | <a
> href='#SpanTerm'>SpanTerm</a> | <a
> href='#BoostingTermQuery'>BoostingTermQuery</a>)</p><a
> name='ConstantScoreQuery'></a>
>  <br /><table class='elementTitle' summary="ConstantScoreQuery"><tr><td
> class='leftElementTitle'>
>  &lt;ConstantScoreQuery&gt;</td><td class='rightElementTitle'>
> -Child of <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#BoostQuery'>BoostQuery</a>, <a href='#Query'>Query</a>, <a
> href='#Clause'>Clause</a>
> +Child of <a href='#BoostQuery'>BoostQuery</a>, <a
> href='#Clause'>Clause</a>, <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#Query'>Query</a>
>  </td></tr></table>
>  <p>a utility tag to wrap any filter as a query</p><p><span
> class='inTextTitle'>Example:</span> <em> Find all documents from the
> last 10 years </em>
>  </p><pre>
> @@ -704,6 +844,7 @@ Child of <a href='#CachedFilter'>CachedF
>  <tbody><tr><td><a href='#BooleanFilter'>BooleanFilter</a></td><td>Any
> number</td></tr>
>  <tr><td><a href='#CachedFilter'>CachedFilter</a></td><td>Any
> number</td></tr>
>  <tr><td><a href='#DuplicateFilter'>DuplicateFilter</a></td><td>Any
> number</td></tr>
> +<tr><td><a
> href='#NumericRangeFilter'>NumericRangeFilter</a></td><td>Any
> number</td></tr>
>  <tr><td><a href='#RangeFilter'>RangeFilter</a></td><td>Any
> number</td></tr>
>  <tr><td><a href='#TermsFilter'>TermsFilter</a></td><td>Any
> number</td></tr>
>  </tbody></table></td><td class='construct'><table
> summary="&lt;ConstantScoreQuery&gt;'s attributes"><tr>
> @@ -714,7 +855,7 @@ Child of <a href='#CachedFilter'>CachedF
>  <th class='subtitle'>Name</th><th class='subtitle'>Values</th><th
> class='subtitle'>Default</th></tr>
>  <tr><th colspan='3' height='1' class='ruler'></th></tr>
>  <tr><td><a
> href='#ConstantScoreQuery_boost'>boost</a></td><td></td><td>1.0</td></t
> r></table></td></tr></table></blockquote>
> -<span class='inTextTitle'>Element's model:</span><p class='model'>(<a
> href='#RangeFilter'>RangeFilter</a> | <a
> href='#CachedFilter'>CachedFilter</a> | <a
> href='#TermsFilter'>TermsFilter</a> | <a
> href='#BooleanFilter'>BooleanFilter</a> | <a
> href='#DuplicateFilter'>DuplicateFilter</a>)*</p><a
> name='ConstantScoreQuery_boost'></a>
> +<span class='inTextTitle'>Element's model:</span><p class='model'>(<a
> href='#RangeFilter'>RangeFilter</a> | <a
> href='#NumericRangeFilter'>NumericRangeFilter</a> | <a
> href='#CachedFilter'>CachedFilter</a> | <a
> href='#TermsFilter'>TermsFilter</a> | <a
> href='#BooleanFilter'>BooleanFilter</a> | <a
> href='#DuplicateFilter'>DuplicateFilter</a>)*</p><a
> name='ConstantScoreQuery_boost'></a>
>  <br /><table class='attributeTitle' summary="boost"><tr><td
> class='leftAttributeTitle'>
>  @boost</td><td class='rightAttributeTitle'>
>  Attribute of <a href='#ConstantScoreQuery'>ConstantScoreQuery</a>
> @@ -722,7 +863,7 @@ Attribute of <a href='#ConstantScoreQuer
>  <p>Optional boost for matches on this query. Values > 1</p><p><span
> class='inTextTitle'>Default value</span>: 1.0</p><a
> name='FuzzyLikeThisQuery'></a>
>  <br /><table class='elementTitle' summary="FuzzyLikeThisQuery"><tr><td
> class='leftElementTitle'>
>  &lt;FuzzyLikeThisQuery&gt;</td><td class='rightElementTitle'>
> -Child of <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#BoostQuery'>BoostQuery</a>, <a href='#Query'>Query</a>, <a
> href='#Clause'>Clause</a>
> +Child of <a href='#BoostQuery'>BoostQuery</a>, <a
> href='#Clause'>Clause</a>, <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#Query'>Query</a>
>  </td></tr></table>
>  <p>Performs fuzzy matching on "significant" terms in fields. Improves
> on "LikeThisQuery" by allowing for fuzzy variations of supplied fields.
>  Improves on FuzzyQuery by rewarding all fuzzy variants of a term with
> the same IDF rather than default fuzzy behaviour which ranks rarer
> @@ -803,7 +944,7 @@ Attribute of <a href='#Field'>Field</a>
>  <p>fieldName must be defined here or is taken from the most immediate
> parent XML element that defines a "fieldName" attribute</p><a
> name='LikeThisQuery'></a>
>  <br /><table class='elementTitle' summary="LikeThisQuery"><tr><td
> class='leftElementTitle'>
>  &lt;LikeThisQuery&gt;</td><td class='rightElementTitle'>
> -Child of <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#BoostQuery'>BoostQuery</a>, <a href='#Query'>Query</a>, <a
> href='#Clause'>Clause</a>
> +Child of <a href='#BoostQuery'>BoostQuery</a>, <a
> href='#Clause'>Clause</a>, <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#Query'>Query</a>
>  </td></tr></table>
>  <p>Cherry-picks "significant" terms from the example child text and
> queries using these words. By only using significant (read: rare) terms
> the
>  performance cost of the query is substantially reduced and large
> bodies of text can be used as example content.</p><p><span
> class='inTextTitle'>Example:</span> <em>Use a block of text as an
> example of the type of content to be found, ignoring the "Reuters" word
> which
> @@ -868,7 +1009,7 @@ Attribute of <a href='#LikeThisQuery'>Li
>  Values must be between 1 and 100</p><p><span
> class='inTextTitle'>Default value</span>: 30</p><a
> name='BoostingQuery'></a>
>  <br /><table class='elementTitle' summary="BoostingQuery"><tr><td
> class='leftElementTitle'>
>  &lt;BoostingQuery&gt;</td><td class='rightElementTitle'>
> -Child of <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#BoostQuery'>BoostQuery</a>, <a href='#Query'>Query</a>, <a
> href='#Clause'>Clause</a>
> +Child of <a href='#BoostQuery'>BoostQuery</a>, <a
> href='#Clause'>Clause</a>, <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#Query'>Query</a>
>  </td></tr></table>
>  <p>Requires matches on the "Query" element and optionally boosts by
> any matches on the "BoostQuery".
>  Unlike a regular BooleanQuery the boost can be less than 1 to produce
> a subtractive rather than additive result
> @@ -927,11 +1068,13 @@ Child of <a href='#BoostingQuery'>Boosti
>  </thead>
>  <tbody><tr><td><a href='#BooleanQuery'>BooleanQuery</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#BoostingQuery'>BoostingQuery</a></td><td>One or
> none</td></tr>
> +<tr><td><a href='#BoostingTermQuery'>BoostingTermQuery</a></td><td>One
> or none</td></tr>
>  <tr><td><a
> href='#ConstantScoreQuery'>ConstantScoreQuery</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#FilteredQuery'>FilteredQuery</a></td><td>One or
> none</td></tr>
>  <tr><td><a
> href='#FuzzyLikeThisQuery'>FuzzyLikeThisQuery</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#LikeThisQuery'>LikeThisQuery</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#MatchAllDocsQuery'>MatchAllDocsQuery</a></td><td>One
> or none</td></tr>
> +<tr><td><a href='#NumericRangeQuery'>NumericRangeQuery</a></td><td>One
> or none</td></tr>
>  <tr><td><a href='#SpanFirst'>SpanFirst</a></td><td>One or
> none</td></tr>
>  <tr><td><a href='#SpanNear'>SpanNear</a></td><td>One or none</td></tr>
>  <tr><td><a href='#SpanNot'>SpanNot</a></td><td>One or none</td></tr>
> @@ -949,7 +1092,7 @@ Child of <a href='#BoostingQuery'>Boosti
>  <th class='subtitle'>Name</th><th class='subtitle'>Values</th><th
> class='subtitle'>Default</th></tr>
>  <tr><th colspan='3' height='1' class='ruler'></th></tr>
>  <tr><td><a
> href='#BoostQuery_boost'>boost</a></td><td></td><td>1.0</td></tr></tabl
> e></td></tr></table></blockquote>
> -<span class='inTextTitle'>Element's model:</span><p class='model'>(<a
> href='#BooleanQuery'>BooleanQuery</a> | <a
> href='#UserQuery'>UserQuery</a> | <a
> href='#FilteredQuery'>FilteredQuery</a> | <a
> href='#TermQuery'>TermQuery</a> | <a href='#TermsQuery'>TermsQuery</a>
> | <a href='#MatchAllDocsQuery'>MatchAllDocsQuery</a> | <a
> href='#ConstantScoreQuery'>ConstantScoreQuery</a> | <a
> href='#SpanOr'>SpanOr</a> | <a href='#SpanNear'>SpanNear</a> | <a
> href='#SpanOrTerms'>SpanOrTerms</a> | <a
> href='#SpanFirst'>SpanFirst</a> | <a href='#SpanNot'>SpanNot</a> | <a
> href='#SpanTerm'>SpanTerm</a> | <a
> href='#LikeThisQuery'>LikeThisQuery</a> | <a
> href='#BoostingQuery'>BoostingQuery</a> | <a
> href='#FuzzyLikeThisQuery'>FuzzyLikeThisQuery</a>)</p><a
> name='BoostQuery_boost'></a>
> 
> +<span class='inTextTitle'>Element's model:</span><p class='model'>(<a
> href='#BooleanQuery'>BooleanQuery</a> | <a
> href='#UserQuery'>UserQuery</a> | <a
> href='#FilteredQuery'>FilteredQuery</a> | <a
> href='#TermQuery'>TermQuery</a> | <a href='#TermsQuery'>TermsQuery</a>
> | <a href='#MatchAllDocsQuery'>MatchAllDocsQuery</a> | <a
> href='#ConstantScoreQuery'>ConstantScoreQuery</a> | <a
> href='#BoostingTermQuery'>BoostingTermQuery</a> | <a
> href='#NumericRangeQuery'>NumericRangeQuery</a> | <a
> href='#SpanOr'>SpanOr</a> | <a href='#SpanNear'>SpanNear</a> | <a
> href='#SpanOrTerms'>SpanOrTerms</a> | <a
> href='#SpanFirst'>SpanFirst</a> | <a href='#SpanNot'>SpanNot</a> | <a
> href='#SpanTerm'>SpanTerm</a> | <a
> href='#BoostingTermQuery'>BoostingTermQuery</a> | <a
> href='#LikeThisQuery'>LikeThisQuery</a> | <a
> href='#BoostingQuery'>BoostingQuery</a> | <a
> href='#FuzzyLikeThisQuery'>FuzzyLikeThisQuery</a>)</p><a
> name='BoostQuery_boost'></a>
>  <br /><table class='attributeTitle' summary="boost"><tr><td
> class='leftAttributeTitle'>
>  @boost</td><td class='rightAttributeTitle'>
>  Attribute of <a href='#BoostQuery'>BoostQuery</a>
> @@ -958,7 +1101,7 @@ Attribute of <a href='#BoostQuery'>Boost
>  effectively demotes results from Query that match this
> BoostQuery.</p><p><span class='inTextTitle'>Default value</span>:
> 1.0</p><a name='DuplicateFilter'></a>
>  <br /><table class='elementTitle' summary="DuplicateFilter"><tr><td
> class='leftElementTitle'>
>  &lt;DuplicateFilter/&gt;</td><td class='rightElementTitle'>
> -Child of <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#ConstantScoreQuery'>ConstantScoreQuery</a>, <a
> href='#Filter'>Filter</a>, <a href='#Clause'>Clause</a>
> +Child of <a href='#Clause'>Clause</a>, <a href='#Filter'>Filter</a>,
> <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#ConstantScoreQuery'>ConstantScoreQuery</a>
>  </td></tr></table>
>  <p>Removes duplicated documents from results where "duplicate" means
> documents share a value for a particular field such as a primary
> key</p><p><span class='inTextTitle'>Example:</span> <em>Find the latest
> version of each web page that mentions "Lucene"</em>
>  </p><pre>
> @@ -1000,7 +1143,7 @@ assuming every document is a duplicate t
>  unique and unmarks those documents that are a copy.</p><p><span
> class='inTextTitle'>Possible values</span>: full, fast - <span
> class='inTextTitle'>Default value</span>: full</p><a
> name='TermsFilter'></a>
>  <br /><table class='elementTitle' summary="TermsFilter"><tr><td
> class='leftElementTitle'>
>  &lt;TermsFilter&gt;</td><td class='rightElementTitle'>
> -Child of <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#ConstantScoreQuery'>ConstantScoreQuery</a>, <a
> href='#Filter'>Filter</a>, <a href='#Clause'>Clause</a>
> +Child of <a href='#Clause'>Clause</a>, <a href='#Filter'>Filter</a>,
> <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#ConstantScoreQuery'>ConstantScoreQuery</a>
>  </td></tr></table>
>  <p>Processes child text using a field-specific choice of Analyzer to
> produce a set of terms that are then used as a filter.</p><p><span
> class='inTextTitle'>Example:</span> <em>Find documents talking about
> Lucene written on a Monday or a Friday</em>
>  </p><pre>
> @@ -1029,7 +1172,7 @@ Attribute of <a href='#TermsFilter'>Term
>  <p>fieldName must be defined here or is taken from the most immediate
> parent XML element that defines a "fieldName" attribute</p><a
> name='BooleanFilter'></a>
>  <br /><table class='elementTitle' summary="BooleanFilter"><tr><td
> class='leftElementTitle'>
>  &lt;BooleanFilter&gt;</td><td class='rightElementTitle'>
> -Child of <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#ConstantScoreQuery'>ConstantScoreQuery</a>, <a
> href='#Filter'>Filter</a>, <a href='#Clause'>Clause</a>
> +Child of <a href='#Clause'>Clause</a>, <a href='#Filter'>Filter</a>,
> <a href='#CachedFilter'>CachedFilter</a>, <a
> href='#ConstantScoreQuery'>ConstantScoreQuery</a>
>  </td></tr></table>
>  <p>A Filter equivalent to BooleanQuery that applies Boolean logic to
> Clauses containing Filters.
>  Unlike BooleanQuery a BooleanFilter can contain a single "mustNot"
> clause.</p><p><span class='inTextTitle'>Example:</span> <em>Find
> documents from the first quarter of this year or last year that are not
> in "draft" status</em>
> 
> Modified: lucene/dev/trunk/lucene/contrib/xml-query-
> parser/docs/LuceneCoreQuery.dtd.entities.html
> URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/contrib/xml-
> query-
> parser/docs/LuceneCoreQuery.dtd.entities.html?rev=928114&r1=928113&r2=9
> 28114&view=diff
> =======================================================================
> =======
> --- lucene/dev/trunk/lucene/contrib/xml-query-
> parser/docs/LuceneCoreQuery.dtd.entities.html (original)
> +++ lucene/dev/trunk/lucene/contrib/xml-query-
> parser/docs/LuceneCoreQuery.dtd.entities.html Sat Mar 27 00:36:55 2010
> @@ -41,13 +41,13 @@
>  <tr>
>  <td>coreSpanQueries</td>
>  <td>
> -SpanOr|SpanNear|SpanOrTerms|SpanFirst|SpanNot|SpanTerm
> +SpanOr|SpanNear|SpanOrTerms|SpanFirst|SpanNot|SpanTerm|BoostingTermQue
> ry
>  </td>
>  </tr>
>  <tr>
>  <td>coreFilters</td>
>  <td>
> -RangeFilter|CachedFilter
> +RangeFilter|NumericRangeFilter|CachedFilter
>  </td>
>  </tr>
>  <tr>
> @@ -59,7 +59,7 @@ RangeFilter|CachedFilter
>  <tr>
>  <td>coreQueries</td>
>  <td>
> -
> BooleanQuery|UserQuery|FilteredQuery|TermQuery|TermsQuery|MatchAllDocsQ
> uery|ConstantScoreQuery
> +BooleanQuery|UserQuery|FilteredQuery|TermQuery|TermsQuery|MatchAllDocs
> Query|ConstantScoreQuery|BoostingTermQuery|NumericRangeQuery
>  </td>
>  </tr>
>  </tbody>
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message