Which character/special character break Elastic Search on index time as well as Search?


(Sam-4) #1

Hi

can anyone provide list of character which breaks Elastic Search on index
and search .

Thanks


(vineeth mohan) #2

ES supports UTF encoding and hence there should not be any such character
which breaks ES.
Can you elaborate the context where you have run into such a character.

Thanks
Vineeth

On Sun, Mar 18, 2012 at 11:23 AM, sam mishra.sameek@gmail.com wrote:

Hi

can anyone provide list of character which breaks Elastic Search on index
and search .

Thanks


(David Pilato) #3

You could break indexing if you use special chars (like comma) in index name, type name or ID.

Otherwise, as Vineeth said, it should not break.

David :wink:
Twitter : @dadoonet / @elasticsearchfr

Le 18 mars 2012 à 07:24, Vineeth Mohan vineethmohan@algotree.com a écrit :

ES supports UTF encoding and hence there should not be any such character which breaks ES.
Can you elaborate the context where you have run into such a character.

Thanks
Vineeth

On Sun, Mar 18, 2012 at 11:23 AM, sam mishra.sameek@gmail.com wrote:
Hi

can anyone provide list of character which breaks Elastic Search on index and search .

Thanks


(Sam-4) #4

Thanks for reply.

if document may contains special character comma,colon etc in this case
what happen?

On Sunday, March 18, 2012 1:16:01 PM UTC+5:30, David Pilato wrote:

You could break indexing if you use special chars (like comma) in index
name, type name or ID.

Otherwise, as Vineeth said, it should not break.

David :wink:
Twitter : @dadoonet / @elasticsearchfr

Le 18 mars 2012 à 07:24, Vineeth Mohan vineethmohan@algotree.com a
écrit :

ES supports UTF encoding and hence there should not be any such character
which breaks ES.
Can you elaborate the context where you have run into such a character.

Thanks
Vineeth

On Sun, Mar 18, 2012 at 11:23 AM, sam mishra.sameek@gmail.com wrote:

Hi

can anyone provide list of character which breaks Elastic Search on index
and search .

Thanks


(vineeth mohan) #5

Which part of the document ?

You need to preserve the JSON format for one thing.
Then its just fields and values.
Its fine if it comes in the value side and i havnt tried it on the field
side.

Can you elaborate you problem a little more.
Like the scenario which motivated to ask this question

Thanks
Vineeth

On Sun, Mar 18, 2012 at 10:35 PM, sam mishra.sameek@gmail.com wrote:

Thanks for reply.

if document may contains special character comma,colon etc in this case
what happen?

On Sunday, March 18, 2012 1:16:01 PM UTC+5:30, David Pilato wrote:

You could break indexing if you use special chars (like comma) in index
name, type name or ID.

Otherwise, as Vineeth said, it should not break.

David :wink:
Twitter : @dadoonet / @elasticsearchfr

Le 18 mars 2012 à 07:24, Vineeth Mohan vineethmohan@algotree.com a
écrit :

ES supports UTF encoding and hence there should not be any such character
which breaks ES.
Can you elaborate the context where you have run into such a character.

Thanks
Vineeth

On Sun, Mar 18, 2012 at 11:23 AM, sam mishra.sameek@gmail.com wrote:

Hi

can anyone provide list of character which breaks Elastic Search on
index and search .

Thanks


(system) #6