[
https://issues.apache.org/jira/browse/BLUR-341?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14093051#comment-14093051
]
ASF GitHub Bot commented on BLUR-341:
-------------------------------------
Github user gbarton commented on a diff in the pull request:
https://github.com/apache/incubator-blur/pull/2#discussion_r16068322
--- Diff: blur-core/src/main/java/org/apache/blur/manager/IndexManager.java
---
@@ -1024,7 +1032,11 @@ public static long recordFrequency(IndexReader
reader, String columnFamily, Stri
BytesRef currentTermText = termEnum.term();
do {
- terms.add(currentTermText.utf8ToString());
+
+ String readTerm = typeDef.readTerm(currentTermText);
+ System.out.println("Read term: " + readTerm);
+ if(readTerm != null)
--- End diff --
Fixed. At least I tried to, I could not determine the exact formatting
style being used as everything I tried to do to the whole of IndexManager
changed the whole file. Perhaps a committed style for eclipse in the blur
project would help?
> Fix term enumeration
> --------------------
>
> Key: BLUR-341
> URL: https://issues.apache.org/jira/browse/BLUR-341
> Project: Apache Blur
> Issue Type: Bug
> Components: Blur
> Affects Versions: 0.2.2
> Reporter: Aaron McCurry
> Fix For: 0.2.4
>
>
> When using the terms call in blur the raw terms are returned this works for
> string and text types. However the numeric types, gis etc, do not return
> human readable values.
> This would be highly useful for typeahead lookups on numeric types.
--
This message was sent by Atlassian JIRA
(v6.2#6252)