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

ASF subversion and git services commented on GEODE-2960:
--------------------------------------------------------

Commit d50489c6c526ab996c4ff8883283a6e8f7a228a1 in geode's branch 
refs/heads/develop from [~deepakddixit]
[ https://git-wip-us.apache.org/repos/asf?p=geode.git;h=d50489c ]

GEODE-2960 : Trim field parameter values from create lucene index.

        * Added logic to trim leading and trailing spaces from values provided 
against 'field'.
        * Modified existing test case to verify changes.

        This closes #541


> 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
>
> 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
(v6.3.15#6346)

Reply via email to