You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Anthony Baker (JIRA)" <ji...@apache.org> on 2018/04/19 21:37:00 UTC

[jira] [Commented] (GEODE-2960) gfsh create index should trim from field names

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

Anthony Baker commented on GEODE-2960:
--------------------------------------

[~huynhja] can this issue be closed?

> gfsh create index should trim from field names
> ----------------------------------------------
>
>                 Key: GEODE-2960
>                 URL: https://issues.apache.org/jira/browse/GEODE-2960
>             Project: Geode
>          Issue Type: Bug
>          Components: lucene
>            Reporter: Jason Huynh
>            Assignee: Deepak Dixit
>            Priority: Major
>
> When creating an index with specific fields, the parameter expects a comma separated string.  However we are not trimming after splitting the string.  So if fields are defined as --field="name, age, height, weight" the indexed fields are actually "name", " age", " height", " weight"
> The command should probably trim the spaces before creating the index.



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