Case sensiitivity in ElasticSearch

hi all,

Can anybody tell me the process of creating the index name with capital letters ?

Thanx in advance

Regards,
Sumit Gupta

curl -XPUT 'http://localhost:9200/MYINDEX/'

doesn't work ?

Le 8 juin 2012 à 11:30, Sumit Guptaa sumit.gupta.ngi@gmail.com a écrit :

hi all,

Can anybody tell me the process of creating the index name with capital
letters ?

Thanx in advance

Regards,
Sumit Gupta

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Case-sensiitivity-in-ElasticSearch-tp4018961.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.

--
David Pilato
http://dev.david.pilato.fr/
Twitter : @dadoonet

hi dadoonet

it is not working...

so please tell me the process of creating the index name with capital letter...

Regards,
Sumit Gupta

Yes. You're right.
And the error message is really clear :

{"error":"InvalidIndexNameException[[MYINDEX] Invalid index name [MYINDEX], must
be lowercase]","status":400}

So, I think you can not uppercase it !

David.

Le 8 juin 2012 à 11:36, Sumit Guptaa sumit.gupta.ngi@gmail.com a écrit :

hi dadoonet

it is not working...

so please tell me the process of creating the index name with capital
letter...

Regards,
Sumit Gupta

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Case-sensiitivity-in-ElasticSearch-tp4018961p4018964.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.

--
David Pilato
http://dev.david.pilato.fr/
Twitter : @dadoonet

hi dadoonet

i think this is an issue when we don't create index name with capital letter then how we can make field index in mapping..

Regards,
Sumit Gupta

Not really I understand the connection between the index name having to be
lowercase, and a specific field?

On Fri, Jun 8, 2012 at 11:58 AM, Sumit Guptaa sumit.gupta.ngi@gmail.comwrote:

hi dadoonet

i think this is an issue when we don't create index name with capital
letter
then how we can make field index in mapping..

Regards,
Sumit Gupta

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Case-sensiitivity-in-ElasticSearch-tp4018961p4018966.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.

hi shay

i mean to say that if we don't create the name of index to be in uppercase that means in mapping if we have any filed that is in uppercase then according to index not be in uppercase we don't define "index":"yes" for this field....

Regards,
Sumit Gupta

What? There is the index name, this /[index_name]/... (which has to be in
lower case), then there is the field name in the document you index, which
can have any casing. Then, there is the mapping of a field called index.
What are you talking about?

On Tue, Jun 12, 2012 at 3:21 PM, Sumit Guptaa sumit.gupta.ngi@gmail.comwrote:

hi shay

i mean to say that if we don't create the name of index to be in uppercase
that means in mapping if we have any filed that is in uppercase then
according to index not be in uppercase we don't define "index":"yes" for
this field....

Regards,
Sumit Gupta

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Case-sensiitivity-in-ElasticSearch-tp4018961p4019124.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.

hi shay

i want to say only that why we don't create index name with uppercase...

Regards,
Sumit Gupta

Shay - Sorry to revive and old thread. Why the restriction on capital
letters and index names? Also, are there other characters or classes that
can't be used in an index name?

On Monday, June 18, 2012 9:06:36 AM UTC-4, Sumit Gupta wrote:

hi shay

i want to say only that why we don't create index name with uppercase...

Regards,
Sumit Gupta

--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Case-sensiitivity-in-ElasticSearch-tp4018961p4019450.html
Sent from the Elasticsearch Users mailing list archive at Nabble.com.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.