lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "SurroundQueryParser" by shinichiro
Date Fri, 05 Dec 2014 04:51:31 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The "SurroundQueryParser" page has been changed by shinichiro:
https://wiki.apache.org/solr/SurroundQueryParser?action=diff&rev1=9&rev2=10

Comment:
Fix for SOLR-4572

  
  The operators (W, N, AND, OR, NOT) can be expressed lower-cased or upper-cased, and the
non-unary operators (everything but NOT) support both infix (a AND b AND c) and prefix AND(a,
b, c) notation.
  
- The W and N operators express a positional relationship among their operands. N is ordered,
and W is unordered. The distance is 1 by default, meaning the operands are adjacent, or may
be provided as a prefix from 2-99. So, for example, 3W(a, b) means that terms a and b must
appear within three positions of each other, or in other words, up to two terms may appear
between a and b. 
+ The W and N operators express a positional relationship among their operands. W is ordered,
and N is unordered. The distance is 1 by default, meaning the operands are adjacent, or may
be provided as a prefix from 2-99. So, for example, 3W(a, b) means that terms a and b must
appear within three positions of each other, or in other words, up to two terms may appear
between a and b. 
  }}}
  
  

Mime
View raw message