incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [3/3] git commit: Fixed compiler errors in QueryParserUtil.
Date Thu, 18 Oct 2012 02:14:21 GMT
Fixed compiler errors in QueryParserUtil.


Project: http://git-wip-us.apache.org/repos/asf/incubator-blur/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-blur/commit/4d81f461
Tree: http://git-wip-us.apache.org/repos/asf/incubator-blur/tree/4d81f461
Diff: http://git-wip-us.apache.org/repos/asf/incubator-blur/diff/4d81f461

Branch: refs/heads/lucene-4.0.0
Commit: 4d81f46169dac9be75772bef3c73ab6e2ce337eb
Parents: 4c77501
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Wed Oct 17 22:09:34 2012 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Wed Oct 17 22:09:34 2012 -0400

----------------------------------------------------------------------
 .../org/apache/blur/manager/QueryParserUtil.java   |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/4d81f461/src/blur-core/src/main/java/org/apache/blur/manager/QueryParserUtil.java
----------------------------------------------------------------------
diff --git a/src/blur-core/src/main/java/org/apache/blur/manager/QueryParserUtil.java b/src/blur-core/src/main/java/org/apache/blur/manager/QueryParserUtil.java
index 3c4d92c..469431a 100644
--- a/src/blur-core/src/main/java/org/apache/blur/manager/QueryParserUtil.java
+++ b/src/blur-core/src/main/java/org/apache/blur/manager/QueryParserUtil.java
@@ -16,13 +16,13 @@ package org.apache.blur.manager;
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-import static org.apache.blur.lucene.LuceneConstant.LUCENE_VERSION;
+import static org.apache.blur.lucene.LuceneVersionConstant.LUCENE_VERSION;
 
 import org.apache.blur.analysis.BlurAnalyzer;
 import org.apache.blur.lucene.search.SuperParser;
 import org.apache.blur.thrift.generated.BlurException;
 import org.apache.blur.thrift.generated.ScoreType;
-import org.apache.lucene.queryParser.ParseException;
+import org.apache.lucene.queryparser.classic.ParseException;
 import org.apache.lucene.search.Filter;
 import org.apache.lucene.search.FilteredQuery;
 import org.apache.lucene.search.Query;
@@ -30,7 +30,7 @@ import org.apache.lucene.search.QueryWrapperFilter;
 
 public class QueryParserUtil {
 
-  public static Query parseQuery(String query, boolean superQueryOn, BlurAnalyzer analyzer,
Filter postFilter, Filter preFilter, ScoreType scoreType) throws ParseException {
+  public static Query parseQuery(String query, boolean superQueryOn, BlurAnalyzer analyzer,
Filter postFilter, Filter preFilter, ScoreType scoreType) throws ParseException   {
     Query result = new SuperParser(LUCENE_VERSION, analyzer, superQueryOn, preFilter, scoreType).parse(query);
     if (postFilter == null) {
       return result;


Mime
View raw message