Term text cannot contain HOLE character U+001E; or unit separator character U+001F; this character is reserved

I run today an interesting error message:

Term text cannot contain HOLE character U+001E; this character is reserved

Term text cannot contain unit separator character U+001F; this character is reserved

in search suggesters

    {
    	"suggest":{
    		"regex":{
    			"regex":"[\u001E]",
    			"completion":{
    				"field":"suggest",
    				"size":10,
    				"skip_duplicates":true
    			}
    		}
    	}
    }

or

    {
    	"suggest":{
    		"regex":{
    			"regex":"[\u001F]",
    			"completion":{
    				"field":"suggest",
    				"size":10,
    				"skip_duplicates":true
    			}
    		}
    	}
    }

What is this? Why does this happen?

The underlying logic of the completion field uses this character internally and thus it is considered reserved and will not be used for querying.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.