You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Cheburakshu (JIRA)" <ji...@apache.org> on 2017/09/26 16:28:00 UTC
[jira] [Commented] (SOLR-11393) Unable to index field names in JSON
[ https://issues.apache.org/jira/browse/SOLR-11393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16181071#comment-16181071 ]
Cheburakshu commented on SOLR-11393:
------------------------------------
Hi.
I just input *{"location_region":"test"}* in the Solr Admin UI for a gettingstarted collection as defined in the documentation https://lucene.apache.org/solr/guide/6_6/documents-screen.html.
You can try to input *{"location_region":"test"}* instead of *{"id":"my_doc_id","title","My Documentation Title"}* and it will fail.
> Unable to index field names in JSON
> -----------------------------------
>
> Key: SOLR-11393
> URL: https://issues.apache.org/jira/browse/SOLR-11393
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: Admin UI
> Affects Versions: 6.6.1
> Reporter: Cheburakshu
>
> I am not able to index documents with below field names in JSON doc.
> config_os_version
> location_region
> custom_var_v2
> deleted
> I get the below error
> ERROR: [doc=29128e37-c6d9-4d2b-814e-1d42f84be9b5] Error adding field 'location_region'='test' msg=For input string: "test"
> The input given in admin UI /update endpoint is
> {"location_region":"test"}
> Same error was encountered for other field names as well.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org