lucy-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marvin Humphrey (JIRA)" <j...@apache.org>
Subject [lucy-issues] [jira] [Commented] (LUCY-329) Document numeric field types
Date Sun, 18 Mar 2018 04:39:00 GMT

    [ https://issues.apache.org/jira/browse/LUCY-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16403849#comment-16403849
] 

Marvin Humphrey commented on LUCY-329:
--------------------------------------

My recollection is that the numeric types were never made public because they could not be
{{indexed}}. [Inverter will throw an error|https://github.com/apache/lucy/blob/rel/v0.6.2/core/Lucy/Index/Inverter.c#L237]
if detects an indexed numeric type.

The reason for the limitation was a bottleneck in the indexing code where the field value
had to be a String.  In think it was [here, in Inverter.c|https://github.com/apache/lucy/blob/rel/v0.6.2/core/Lucy/Index/Inverter.c#L186].

I recall using numeric types in production but only for providing sortable field values.

> Document numeric field types
> ----------------------------
>
>                 Key: LUCY-329
>                 URL: https://issues.apache.org/jira/browse/LUCY-329
>             Project: Lucy
>          Issue Type: Documentation
>          Components: Plan
>    Affects Versions: 0.7.0, 0.6.2
>            Reporter: Nick Wellnhofer
>            Priority: Minor
>
> Make the [NumericType classes|https://git1-us-west.apache.org/repos/asf?p=lucy.git;a=blob;f=core/Lucy/Plan/NumericType.cfh]
public and maybe review and improve the documentation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message