lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject svn commit: r345677 - /lucene/java/trunk/src/java/org/apache/lucene/search/regex/SpanRegexQuery.java
Date Sat, 19 Nov 2005 20:01:20 GMT
Author: ehatcher
Date: Sat Nov 19 12:01:18 2005
New Revision: 345677

URL: http://svn.apache.org/viewcvs?rev=345677&view=rev
Log:
add getTerm to SpanRegexQuery

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/search/regex/SpanRegexQuery.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/search/regex/SpanRegexQuery.java
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/java/org/apache/lucene/search/regex/SpanRegexQuery.java?rev=345677&r1=345676&r2=345677&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/search/regex/SpanRegexQuery.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/search/regex/SpanRegexQuery.java Sat Nov
19 12:01:18 2005
@@ -23,6 +23,8 @@
     this.term = term;
   }
 
+  public Term getTerm() { return term; }
+
   public Query rewrite(IndexReader reader) throws IOException {
     Query orig = new RegexQuery(term).rewrite(reader);
 



Mime
View raw message