<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to queries</title><link>https://sourceforge.net/p/montezuma/wiki/queries/</link><description>Recent changes to queries</description><atom:link href="https://sourceforge.net/p/montezuma/wiki/queries/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 07 Jan 2016 19:51:37 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/montezuma/wiki/queries/feed" rel="self" type="application/rss+xml"/><item><title>queries modified by Roy Edward Anderson</title><link>https://sourceforge.net/p/montezuma/wiki/queries/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -3,23 +3,18 @@

 This description of Montezuma Query Syntax is based on the implementation of the Montezuma Query Parser grammar used to process search queries. It is intended to be a guide for the construction of Montezuma queries, rather than to be a rigourous BNF definition of Montezuma query syntax.

-Query character input has been extended with [Character Entities](CharacterEntities).
+Query character input has been extended with [Character Entities](CharacterEntities) which facilitates the inclusion of any Unicode characters into query input.

 Queries
 -------

 A Montezuma Query generally consists of one or more clauses, but not necessarily!

-A query without clauses is equivalent to a wild-card search for all documents 
-regardless of document content but it is almost certainly more efficient than a 
-search using the match-all wild-card ('*'). 
+A query without clauses is equivalent to a wild-card search for all documents regardless of document content.

-The full range of sort orders may be used to express built-in document number
-and score value sorts in addition to document fields in the index for sorting
-in either ascending or descending order.
+The full range of sort orders may be used to express built-in document number and score value sorts in addition to document fields in the index for sorting in either ascending or descending order.

-Boundary values can used to specify the first document and number of documents
-to be retrieved.
+Boundary values can used to specify the first document and number of documents to be retrieved.

 Finally, the fields extracted from documents in search results can be used to select specified document fields.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roy Edward Anderson</dc:creator><pubDate>Thu, 07 Jan 2016 19:51:37 -0000</pubDate><guid>https://sourceforge.netf4c3e151b247413b6125ac0b7ab3d3d3fc2c9999</guid></item><item><title>queries modified by Roy Edward Anderson</title><link>https://sourceforge.net/p/montezuma/wiki/queries/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -3,7 +3,7 @@

 This description of Montezuma Query Syntax is based on the implementation of the Montezuma Query Parser grammar used to process search queries. It is intended to be a guide for the construction of Montezuma queries, rather than to be a rigourous BNF definition of Montezuma query syntax.

-Query character input has been extended with [Character Entities][CharacterEntities].
+Query character input has been extended with [Character Entities](CharacterEntities).

 Queries
 -------
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roy Edward Anderson</dc:creator><pubDate>Thu, 07 Jan 2016 07:09:18 -0000</pubDate><guid>https://sourceforge.net041601d32d101ea1bdeed31bd310379a0fd4de17</guid></item><item><title>queries modified by Roy Edward Anderson</title><link>https://sourceforge.net/p/montezuma/wiki/queries/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -1,12 +1,9 @@
 An informal description of Montezuma Queries
 --------------------------------------------

-This description of Montezuma Query Syntax is based on the implementation
-of the Montezuma Query Parser grammar used to process search queries. 
-It is intended to be a guide for the construction of Montezuma queries, rather
-than to be a rigourous BNF definition of Montezuma query syntax.
+This description of Montezuma Query Syntax is based on the implementation of the Montezuma Query Parser grammar used to process search queries. It is intended to be a guide for the construction of Montezuma queries, rather than to be a rigourous BNF definition of Montezuma query syntax.

-Query character input has been extended with [Character Entities](CharacterEntities.html).
+Query character input has been extended with [Character Entities][CharacterEntities].

 Queries
 -------
@@ -24,38 +21,26 @@
 Boundary values can used to specify the first document and number of documents
 to be retrieved.

-Finally, the fields extracted from documents in search results can be used to
-select specified document fields.
+Finally, the fields extracted from documents in search results can be used to select specified document fields.

 Clauses can be combined in a list or with logical operators ('and', 'or', 'not').

-In addition, clauses may be prefixed by a field specifier, optionally using a
-wild-card field specifier.
+In addition, clauses may be prefixed by a field specifier, optionally using a wild-card field specifier.

-Queries may be given a boost factor to tune the weight of some clauses relative
-to the others.
+Queries may be given a boost factor to tune the weight of some clauses relative to the others.

-Range Queries consist of one or two limiting values with operators for inclusive
-or exclusive limits.
+Range Queries consist of one or two limiting values with operators for inclusive or exclusive limits.

-Fuzzy Queries consist of a word value followed by a '~' and optionally a fuzzy 
-factor between 0 and 1.0 which are satisfied by field words with an closely 
-matching editing difference.
+Fuzzy Queries consist of a word value followed by a '~' and optionally a fuzzy factor between 0 and 1.0 which are satisfied by field words with an closely matching editing difference.

 Support has been added for typed terms and range queries for: integer, float and dates.

-Dates can be specified in a form based on ISO 8601: YYYYMMDDTHHmmSSssssss. A minimum
-datetime value is a four digit year. Datetimes may be followed by a timezone offset:
-Z, or a + or - followed by hhmm. For example, 2016 or 20151225. Note: dates with or 
-without times and timezone offsets must be given without either spaces or non-alphabetic
-punctuatiom. Alternatively, datetime values may be specified in a quoted datetime phrase
-which makes them easier to enter and read, e.g. '2015-12-25'.
+Dates can be specified in a form based on ISO 8601: YYYYMMDDTHHmmSSssssss. A minimum datetime value is a four digit year. Datetimes may be followed by a timezone offset: Z, or a + or - followed by hhmm. For example, 2016 or 20151225. Note: dates with or without times and timezone offsets must be given without either spaces or non-alphabetic
+punctuatiom. Alternatively, datetime values may be specified in a quoted datetime phrase which makes them easier to enter and read, e.g. '2015-12-25'.

-Similarly, fields me be defined in a Montezuma Index as int or float in which case the
-Query Parser generates typed queries for these fields.
+Similarly, fields me be defined in a Montezuma Index as int or float in which case the Query Parser generates typed queries for these fields.

-Execution of typed terms and ranges is coordinated between field definitions in the
-Montezuma Index and terms in queries.
+Execution of typed terms and ranges is coordinated between field definitions in the Montezuma Index and terms in queries.

 ~~~~~
 &amp;lt;montezuma-query&amp;gt; ::= &amp;lt;clause&amp;gt; &amp;lt;sort-order&amp;gt; &amp;lt;boundaries&amp;gt; &amp;lt;field-list&amp;gt;
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roy Edward Anderson</dc:creator><pubDate>Thu, 07 Jan 2016 07:03:52 -0000</pubDate><guid>https://sourceforge.netc371f0fa7fa20ae2c9f471007ac415647dc3fbde</guid></item><item><title>queries modified by Roy Edward Anderson</title><link>https://sourceforge.net/p/montezuma/wiki/queries/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -6,7 +6,7 @@
 It is intended to be a guide for the construction of Montezuma queries, rather
 than to be a rigourous BNF definition of Montezuma query syntax.

-Query character input has been extended with [Character Entities][CharacterEntities.html].
+Query character input has been extended with [Character Entities](CharacterEntities.html).

 Queries
 -------
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roy Edward Anderson</dc:creator><pubDate>Thu, 07 Jan 2016 00:00:02 -0000</pubDate><guid>https://sourceforge.net9782bbdae55e3586cb303b24069aef71140a561c</guid></item><item><title>queries modified by Roy Edward Anderson</title><link>https://sourceforge.net/p/montezuma/wiki/queries/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -5,6 +5,8 @@
 of the Montezuma Query Parser grammar used to process search queries. 
 It is intended to be a guide for the construction of Montezuma queries, rather
 than to be a rigourous BNF definition of Montezuma query syntax.
+
+Query character input has been extended with [Character Entities][CharacterEntities.html].

 Queries
 -------
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roy Edward Anderson</dc:creator><pubDate>Wed, 06 Jan 2016 23:59:00 -0000</pubDate><guid>https://sourceforge.net62fed6a8217b57e8c8e88e4ad7d24aab841c8f06</guid></item><item><title>queries modified by Roy Edward Anderson</title><link>https://sourceforge.net/p/montezuma/wiki/queries/</link><description>&lt;div class="markdown_content"&gt;&lt;h2 id="an-informal-description-of-montezuma-queries"&gt;An informal description of Montezuma Queries&lt;/h2&gt;
&lt;p&gt;This description of Montezuma Query Syntax is based on the implementation&lt;br/&gt;
of the Montezuma Query Parser grammar used to process search queries. &lt;br/&gt;
It is intended to be a guide for the construction of Montezuma queries, rather&lt;br/&gt;
than to be a rigourous BNF definition of Montezuma query syntax.&lt;/p&gt;
&lt;h2 id="queries"&gt;Queries&lt;/h2&gt;
&lt;p&gt;A Montezuma Query generally consists of one or more clauses, but not necessarily!&lt;/p&gt;
&lt;p&gt;A query without clauses is equivalent to a wild-card search for all documents &lt;br/&gt;
regardless of document content but it is almost certainly more efficient than a &lt;br/&gt;
search using the match-all wild-card ('*'). &lt;/p&gt;
&lt;p&gt;The full range of sort orders may be used to express built-in document number&lt;br/&gt;
and score value sorts in addition to document fields in the index for sorting&lt;br/&gt;
in either ascending or descending order.&lt;/p&gt;
&lt;p&gt;Boundary values can used to specify the first document and number of documents&lt;br/&gt;
to be retrieved.&lt;/p&gt;
&lt;p&gt;Finally, the fields extracted from documents in search results can be used to&lt;br/&gt;
select specified document fields.&lt;/p&gt;
&lt;p&gt;Clauses can be combined in a list or with logical operators ('and', 'or', 'not').&lt;/p&gt;
&lt;p&gt;In addition, clauses may be prefixed by a field specifier, optionally using a&lt;br/&gt;
wild-card field specifier.&lt;/p&gt;
&lt;p&gt;Queries may be given a boost factor to tune the weight of some clauses relative&lt;br/&gt;
to the others.&lt;/p&gt;
&lt;p&gt;Range Queries consist of one or two limiting values with operators for inclusive&lt;br/&gt;
or exclusive limits.&lt;/p&gt;
&lt;p&gt;Fuzzy Queries consist of a word value followed by a '~' and optionally a fuzzy &lt;br/&gt;
factor between 0 and 1.0 which are satisfied by field words with an closely &lt;br/&gt;
matching editing difference.&lt;/p&gt;
&lt;p&gt;Support has been added for typed terms and range queries for: integer, float and dates.&lt;/p&gt;
&lt;p&gt;Dates can be specified in a form based on ISO 8601: YYYYMMDDTHHmmSSssssss. A minimum&lt;br/&gt;
datetime value is a four digit year. Datetimes may be followed by a timezone offset:&lt;br/&gt;
Z, or a + or - followed by hhmm. For example, 2016 or 20151225. Note: dates with or &lt;br/&gt;
without times and timezone offsets must be given without either spaces or non-alphabetic&lt;br/&gt;
punctuatiom. Alternatively, datetime values may be specified in a quoted datetime phrase&lt;br/&gt;
which makes them easier to enter and read, e.g. '2015-12-25'.&lt;/p&gt;
&lt;p&gt;Similarly, fields me be defined in a Montezuma Index as int or float in which case the&lt;br/&gt;
Query Parser generates typed queries for these fields.&lt;/p&gt;
&lt;p&gt;Execution of typed terms and ranges is coordinated between field definitions in the&lt;br/&gt;
Montezuma Index and terms in queries.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&amp;lt;montezuma-query&amp;gt; ::= &amp;lt;clause&amp;gt; &amp;lt;sort-order&amp;gt; &amp;lt;boundaries&amp;gt; &amp;lt;field-list&amp;gt;
&amp;lt;boundaries&amp;gt; ::= ':' &amp;lt;first-document&amp;gt; ',' &amp;lt;number-of-documents&amp;gt; | ''
&amp;lt;first-document&amp;gt; ::= integer
&amp;lt;number-of-documents&amp;gt; ::= integer
&amp;lt;sort-order&amp;gt; ::= '/' &amp;lt;direction&amp;gt; &amp;lt;sorting&amp;gt; | ''
&amp;lt;direction&amp;gt; ::= '+' | '-' | ''
&amp;lt;sorting&amp;gt;&amp;gt; ::= 'document' | 'score' | &amp;lt;word&amp;gt; | '(' &amp;lt;sort-field-names&amp;gt; ')'
&amp;lt;sort-field-names&amp;gt; ::= &amp;lt;sort-field-name&amp;gt; | &amp;lt;sort-field-name&amp;gt; &amp;lt;sort-field-names&amp;gt;
&amp;lt;sort-field-name&amp;gt; ::= &amp;lt;direction&amp;gt; &amp;lt;word&amp;gt;
&amp;lt;field-list&amp;gt; ::= '[' &amp;lt;field-names&amp;gt; ']' | ''
&amp;lt;field-names&amp;gt; ::= &amp;lt;field-name&amp;gt; | &amp;lt;field-name&amp;gt; &amp;lt;field-names&amp;gt;
&amp;lt;field-name&amp;gt; ::= &amp;lt;wild-word&amp;gt; | &amp;lt;word&amp;gt;
&amp;lt;logical-operator&amp;gt; ::= 'not' | 'and' | 'or' | ''
&amp;lt;field-specifier&amp;gt; ::= &amp;lt;field-name&amp;gt; ':' | ''
&amp;lt;simple-query&amp;gt; ::= &amp;lt;phrase-query&amp;gt; | &amp;lt;wild-query&amp;gt; | &amp;lt;parenthesised-query&amp;gt; |
                         &amp;lt;field-range-query&amp;gt; | &amp;lt;fuzzy-query&amp;gt; | &amp;lt;term-query&amp;gt;
&amp;lt;clause&amp;gt; ::= &amp;lt;logical-operator&amp;gt; &amp;lt;field-specifier&amp;gt; &amp;lt;simple-query&amp;gt; &amp;lt;boost&amp;gt; | ''
&amp;lt;boost&amp;gt; ::= '^' &amp;lt;number&amp;gt; | ''
&amp;lt;field-range-query&amp;gt; ::= &amp;lt;lower-bound&amp;gt; &amp;lt;word&amp;gt; 'to' &amp;lt;word&amp;gt; &amp;lt;upper-bound&amp;gt;
&amp;lt;lower-bound&amp;gt; ::= '[' | '{'
&amp;lt;upper-bound&amp;gt; ::= ']' | '}'
&amp;lt;parenthesised-query&amp;gt; ::= '(' &amp;lt;clause&amp;gt; ')'
&amp;lt;phrase&amp;gt; ::= '"' &amp;lt;word-list&amp;gt; '"' &amp;lt;proximity&amp;gt;
&amp;lt;word-list&amp;gt; ::= &amp;lt;word&amp;gt; | &amp;lt;word&amp;gt; &amp;lt;word-list&amp;gt;
&amp;lt;proximity&amp;gt; ::= '~' integer | ''
&amp;lt;term-query&amp;gt; ::= &amp;lt;word&amp;gt;
&amp;lt;fuzzy-query&amp;gt; ::= &amp;lt;word&amp;gt; '~' &amp;lt;fuzzy-factor&amp;gt;
&amp;lt;fuzzy-factor&amp;gt; ::= &amp;lt;number&amp;gt; | ''
&amp;lt;wild-query&amp;gt; ::= &amp;lt;wild-word&amp;gt;
&amp;lt;number&amp;gt; ::= integer | real
&amp;lt;letter&amp;gt; ::=  &amp;lt;non-wild-letter&amp;gt; | &amp;lt;character-entity&amp;gt;
&amp;lt;word&amp;gt; ::=  &amp;lt;letter&amp;gt; | &amp;lt;letter&amp;gt; &amp;lt;word&amp;gt;
&amp;lt;character-entity&amp;gt; ::= &amp;lt;decimal-entity&amp;gt; | &amp;lt;hexadecimal-entity&amp;gt; | &amp;lt;named-entity&amp;gt;
&amp;lt;decimal-entity&amp;gt; ::= '&amp;amp;#' integer ';'
&amp;lt;hexdecimal-entity&amp;gt; ::= '&amp;amp;#x' hexadecimal-number ';'
&amp;lt;named-entity&amp;gt; ::= '&amp;amp;' &amp;lt;word&amp;gt; ';'
&amp;lt;wild-word-constituent&amp;gt; ::= &amp;lt;any-letter&amp;gt; | &amp;lt;wild-letter&amp;gt; | &amp;lt;character-entity&amp;gt;
&amp;lt;wild-word&amp;gt; ::= non-wild-letter* &amp;lt;wild-letter&amp;gt; &amp;lt;wild-word-constituent&amp;gt;*
&amp;lt;wild-letter&amp;gt; ::= '*' | '*'
&amp;lt;any-letter&amp;gt; ::= '[A-Z0-9-]'
&amp;lt;non-wild-letter&amp;gt; ::= [^*?]
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roy Edward Anderson</dc:creator><pubDate>Wed, 06 Jan 2016 20:24:14 -0000</pubDate><guid>https://sourceforge.net38d3f72a7a828615f33793d5c768a1406fafad33</guid></item></channel></rss>