lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gol...@apache.org
Subject cvs commit: jakarta-lucene/src/java/org/apache/lucene/search WildcardQuery.java
Date Fri, 16 Apr 2004 09:49:06 GMT
goller      2004/04/16 02:49:06

  Modified:    src/java/org/apache/lucene/search WildcardQuery.java
  Log:
  added some javadoc (patch from Daniel)
  
  Revision  Changes    Path
  1.5       +9 -1      jakarta-lucene/src/java/org/apache/lucene/search/WildcardQuery.java
  
  Index: WildcardQuery.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/WildcardQuery.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- WildcardQuery.java	29 Mar 2004 22:48:04 -0000	1.4
  +++ WildcardQuery.java	16 Apr 2004 09:49:06 -0000	1.5
  @@ -20,7 +20,15 @@
   import org.apache.lucene.index.Term;
   import java.io.IOException;
   
  -/** Implements the wildcard search query */
  +/** Implements the wildcard search query. Supported wildcards are <code>*</code>,
which
  + * matches any character sequence (including the empty one), and <code>?</code>,
  + * which matches any single character. Note this query can be slow, as it
  + * needs to iterate over all terms. In order to prevent extremely slow WildcardQueries,
  + * a Wildcard term must not start with one of the wildcards <code>*</code>
or
  + * <code>?</code>.
  + * 
  + * @see WildcardTermEnum
  + */
   public class WildcardQuery extends MultiTermQuery {
     public WildcardQuery(Term term) {
       super(term);
  
  
  

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


Mime
View raw message