incubator-blur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From amccu...@apache.org
Subject [1/6] git commit: Adding family as apart of the NO-Analyzer fields.
Date Tue, 11 Jun 2013 01:53:02 GMT
Updated Branches:
  refs/heads/0.1.5 8765cd9de -> 7620924e4


Adding family as apart of the NO-Analyzer fields.


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

Branch: refs/heads/0.1.5
Commit: dac1fd309616d797c086a3dd240675ce5deb90d2
Parents: 73515b0
Author: Aaron McCurry <amccurry@gmail.com>
Authored: Mon Jun 10 19:13:48 2013 -0400
Committer: Aaron McCurry <amccurry@gmail.com>
Committed: Mon Jun 10 19:13:48 2013 -0400

----------------------------------------------------------------------
 .../src/main/java/org/apache/blur/analysis/BlurAnalyzer.java  | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-blur/blob/dac1fd30/blur-query/src/main/java/org/apache/blur/analysis/BlurAnalyzer.java
----------------------------------------------------------------------
diff --git a/blur-query/src/main/java/org/apache/blur/analysis/BlurAnalyzer.java b/blur-query/src/main/java/org/apache/blur/analysis/BlurAnalyzer.java
index 89735aa..eca5abc 100644
--- a/blur-query/src/main/java/org/apache/blur/analysis/BlurAnalyzer.java
+++ b/blur-query/src/main/java/org/apache/blur/analysis/BlurAnalyzer.java
@@ -17,6 +17,7 @@ package org.apache.blur.analysis;
  * limitations under the License.
  */
 import static org.apache.blur.lucene.LuceneVersionConstant.LUCENE_VERSION;
+import static org.apache.blur.utils.BlurConstants.FAMILY;
 import static org.apache.blur.utils.BlurConstants.PRIME_DOC;
 import static org.apache.blur.utils.BlurConstants.RECORD_ID;
 import static org.apache.blur.utils.BlurConstants.ROW_ID;
@@ -125,7 +126,7 @@ public final class BlurAnalyzer extends AnalyzerWrapper {
     _analyzers.put(ROW_ID, ERROR_ANALYZER);
     _analyzers.put(RECORD_ID, ERROR_ANALYZER);
     _analyzers.put(PRIME_DOC, ERROR_ANALYZER);
-    _analyzers.put(PRIME_DOC, ERROR_ANALYZER);
+    _analyzers.put(FAMILY, ERROR_ANALYZER);
     _analyzers.put(SUPER, ERROR_ANALYZER);
     load(_analyzers, _analyzerDefinition.columnFamilyDefinitions, _fullTextFields, _subIndexNameLookups,
         _subIndexNames, _fullTextColumnFamilies, _typeLookup, _fieldTypes);
@@ -158,10 +159,10 @@ public final class BlurAnalyzer extends AnalyzerWrapper {
     }
     FieldType fieldType = _fieldTypes.get(field);
     switch (type) {
-    
+
     case STRING:
       return null;
-    
+
     case INTEGER:
       int integerPrecisionStep = fieldType.numericPrecisionStep();
       int integerMin = Integer.parseInt(part1);


Mime
View raw message