incubator-blur-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Garrett Barton (JIRA)" <>
Subject [jira] [Commented] (BLUR-341) Fix term enumeration
Date Fri, 08 Aug 2014 14:34:12 GMT


Garrett Barton commented on BLUR-341:

I'll take a stab at this one. 

Current plan is to add a new method to FieldTypeDefinition:
public abstract String readBytesRef(BytesRef ref)

And then implement it for the built in types.  Will mod the IndexManager.terms() command to
get the FieldTypeDefinition for the field being requested and pass that down into the deeper
term's commands for use.

> Fix term enumeration
> --------------------
>                 Key: BLUR-341
>                 URL:
>             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

View raw message