jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r770296 - /jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LuceneQueryFactoryImpl.java
Date Thu, 30 Apr 2009 15:49:34 GMT
Author: jukka
Date: Thu Apr 30 15:49:34 2009
New Revision: 770296

URL: http://svn.apache.org/viewvc?rev=770296&view=rev
Log:
JCR-2093: Implement QueryObjectModelFactory.fullTextSearch() in QueryManagerImpl

Somewhat related, use StaticOperand.toString() until we have a better idea of how to handle
static operands

Modified:
    jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LuceneQueryFactoryImpl.java

Modified: jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LuceneQueryFactoryImpl.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LuceneQueryFactoryImpl.java?rev=770296&r1=770295&r2=770296&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LuceneQueryFactoryImpl.java
(original)
+++ jackrabbit/trunk/jackrabbit-core/src/main/java/org/apache/jackrabbit/core/query/lucene/LuceneQueryFactoryImpl.java
Thu Apr 30 15:49:34 2009
@@ -206,7 +206,8 @@
         QueryParser parser = new JackrabbitQueryParser(
                 fieldname, analyzer, synonymProvider);
         try {
-            return parser.parse(fts.getFullTextSearchExpression());
+            // TODO: JCR-2093 How to handle the StaticOperand below?
+            return parser.parse(fts.getFullTextSearchExpression().toString());
         } catch (ParseException e) {
             throw new RepositoryException(e);
         }



Mime
View raw message