lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From busc...@apache.org
Subject svn commit: r800191 [12/12] - in /lucene/java/trunk: ./ contrib/ contrib/queryparser/ contrib/queryparser/src/ contrib/queryparser/src/java/ contrib/queryparser/src/java/org/ contrib/queryparser/src/java/org/apache/ contrib/queryparser/src/java/org/apa...
Date Mon, 03 Aug 2009 03:38:50 GMT
Modified: lucene/java/trunk/src/java/org/apache/lucene/queryParser/FastCharStream.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/queryParser/FastCharStream.java?rev=800191&r1=800190&r2=800191&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/queryParser/FastCharStream.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/queryParser/FastCharStream.java Mon Aug 
3 03:38:44 2009
@@ -16,6 +16,7 @@
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  * See the License for the specific language governing permissions and
  * limitations under the License.
+ *  
  */
 
 import java.io.*;
@@ -23,7 +24,11 @@
 /** An efficient implementation of JavaCC's CharStream interface.  <p>Note that
  * this does not do line-number counting, but instead keeps track of the
  * character position of the token in the input, as required by Lucene's {@link
- * org.apache.lucene.analysis.Token} API. */
+ * org.apache.lucene.analysis.Token} API. 
+ *   
+ * @deprecated this class will be removed in Lucene 3.0, when the {@link QueryParser} is
removed
+ * 
+ * */
 public final class FastCharStream implements CharStream {
   char[] buffer = null;
 

Modified: lucene/java/trunk/src/java/org/apache/lucene/queryParser/MultiFieldQueryParser.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/queryParser/MultiFieldQueryParser.java?rev=800191&r1=800190&r2=800191&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/queryParser/MultiFieldQueryParser.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/queryParser/MultiFieldQueryParser.java Mon
Aug  3 03:38:44 2009
@@ -20,7 +20,6 @@
 import java.util.ArrayList;
 import java.util.List;
 import java.util.Map;
-import java.util.Vector;
 
 import org.apache.lucene.analysis.Analyzer;
 import org.apache.lucene.search.BooleanClause;
@@ -32,6 +31,8 @@
 /**
  * A QueryParser which constructs queries to search multiple fields.
  *
+ * @deprecated use the equivalent class defined in the new <tt>queryparser</tt>
project, 
+ * 				currently located in contrib: org.apache.lucene.queryParser.original.OriginalQueryParserHelper
  *
  * @version $Revision$
  */

Modified: lucene/java/trunk/src/java/org/apache/lucene/queryParser/ParseException.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/queryParser/ParseException.java?rev=800191&r1=800190&r2=800191&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/queryParser/ParseException.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/queryParser/ParseException.java Mon Aug 
3 03:38:44 2009
@@ -10,6 +10,9 @@
  *
  * You can modify this class to customize your error reporting
  * mechanisms so long as you retain the public fields.
+ * 
+ * @deprecated use the equivalent class defined in the new <tt>queryparser</tt>
project, 
+ * 				currently located in contrib: org.apache.lucene.queryParser.original.parser.ParseException
  */
 public class ParseException extends Exception {
 

Modified: lucene/java/trunk/src/java/org/apache/lucene/queryParser/QueryParser.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/queryParser/QueryParser.java?rev=800191&r1=800190&r2=800191&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/queryParser/QueryParser.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/queryParser/QueryParser.java Mon Aug  3 03:38:44
2009
@@ -97,6 +97,9 @@
  * </p>
  *
  * <p>Note that QueryParser is <em>not</em> thread-safe.</p>
+ * 
+ * @deprecated use the equivalent class defined in the new <tt>queryparser</tt>
project, 
+ * 				currently located in contrib: org.apache.lucene.queryParser.original.OriginalQueryParserHelper
  */
 public class QueryParser implements QueryParserConstants {
 

Modified: lucene/java/trunk/src/java/org/apache/lucene/queryParser/QueryParser.jj
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/queryParser/QueryParser.jj?rev=800191&r1=800190&r2=800191&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/queryParser/QueryParser.jj (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/queryParser/QueryParser.jj Mon Aug  3 03:38:44
2009
@@ -120,7 +120,11 @@
  * use a different method for date conversion.
  * </p>
  *
- * <p>Note that QueryParser is <em>not</em> thread-safe.</p>
+ * <p>Note that QueryParser is <em>not</em> thread-safe.</p> 
+ *
+ * @deprecated use the equivalent class defined in the new <tt>queryparser</tt>
project, 
+ * 				currently located in contrib: org.apache.lucene.queryParser.original.LuceneQueryParserHelper
+ *
  */
 public class QueryParser {
 

Modified: lucene/java/trunk/src/java/org/apache/lucene/queryParser/QueryParserConstants.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/queryParser/QueryParserConstants.java?rev=800191&r1=800190&r2=800191&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/queryParser/QueryParserConstants.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/queryParser/QueryParserConstants.java Mon
Aug  3 03:38:44 2009
@@ -5,6 +5,10 @@
 /**
  * Token literal values and constants.
  * Generated by org.javacc.parser.OtherFilesGen#start()
+ *
+ * @deprecated use the equivalent class defined in the new <tt>queryparser</tt>
project, 
+ * 				currently located in contrib: org.apache.lucene.queryParser.original.parser.TextParserConstants
+ * 
  */
 public interface QueryParserConstants {
 

Modified: lucene/java/trunk/src/java/org/apache/lucene/queryParser/QueryParserTokenManager.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/queryParser/QueryParserTokenManager.java?rev=800191&r1=800190&r2=800191&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/queryParser/QueryParserTokenManager.java
(original)
+++ lucene/java/trunk/src/java/org/apache/lucene/queryParser/QueryParserTokenManager.java
Mon Aug  3 03:38:44 2009
@@ -34,7 +34,11 @@
 import org.apache.lucene.search.WildcardQuery;
 import org.apache.lucene.util.Parameter;
 
-/** Token Manager. */
+/** Token Manager. 
+ *
+ * @deprecated use the equivalent class defined in the new <tt>queryparser</tt>
project, 
+ * 				currently located in contrib: org.apache.lucene.queryParser.original.parser.TextParserTokenManager
+ */
 public class QueryParserTokenManager implements QueryParserConstants
 {
 

Modified: lucene/java/trunk/src/java/org/apache/lucene/queryParser/Token.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/queryParser/Token.java?rev=800191&r1=800190&r2=800191&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/queryParser/Token.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/queryParser/Token.java Mon Aug  3 03:38:44
2009
@@ -4,6 +4,10 @@
 
 /**
  * Describes the input token stream.
+ * 
+ * @deprecated use the equivalent class defined in the new <tt>queryparser</tt>
project, 
+ * 				currently located in contrib: org.apache.lucene.queryParser.original.parser.Token
+ * 
  */
 
 public class Token {

Modified: lucene/java/trunk/src/java/org/apache/lucene/queryParser/TokenMgrError.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/queryParser/TokenMgrError.java?rev=800191&r1=800190&r2=800191&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/queryParser/TokenMgrError.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/queryParser/TokenMgrError.java Mon Aug  3
03:38:44 2009
@@ -2,7 +2,12 @@
 /* JavaCCOptions: */
 package org.apache.lucene.queryParser;
 
-/** Token Manager Error. */
+/** Token Manager Error. 
+ *
+ * @deprecated use the equivalent class defined in the new <tt>queryparser</tt>
project, 
+ * 				currently located in contrib: org.apache.lucene.queryParser.original.parser.TokenMgrError
+ *
+ */
 public class TokenMgrError extends Error
 {
 

Modified: lucene/java/trunk/src/java/org/apache/lucene/queryParser/package.html
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/queryParser/package.html?rev=800191&r1=800190&r2=800191&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/queryParser/package.html (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/queryParser/package.html Mon Aug  3 03:38:44
2009
@@ -20,6 +20,8 @@
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 </head>
 <body>
+NOTE: Please look into lucene contrib/queryparser for the new flexible queryparser api.
+
 A simple query parser implemented with JavaCC.
 <p>Note that JavaCC defines lots of public classes, methods and fields
 that do not need to be public.&nbsp; These clutter the documentation.&nbsp;



Mime
View raw message