Sent again from my email account: the message I posted online is hung
up in approval even though I registered, and it's followed by two spam
messages. I missed the "subscribe" part after registering.
Running 0.16.2 on win7 conversing through Apache HttpClient.
Can create a new index
Trouble putting a mapping. Mapping string sent as built from XContentFactory is:
'{"email":{"properties":{"from":{"type":"string","store":"yes"},"subject":{"type":"string","store":"yes"},"body":{"type":"string","store":"yes"},"date":{"type":"string","store":"yes"},"tags":{"type":"string","store":"yes"},"id":{"type":"string","store":"yes"},"parentId":{"type":"string","store":"yes"}}}}'
I run the query string through URLEncoder.encode so it looks like this:
topicquests%2Femail%2F_mapping%27+-d+%7B%22email%22%3A%7B%22from%22%3A%7B%22type%22%3A%22string%22%2C%22store%22%3A%22yes%22%7D%2C%22subject%22%3A%7B%22type%22%3A%22string%22%2C%22store%22%3A%22yes%22%7D%2C%22body%22%3A%7B%22type%22%3A%22string%22%2C%22store%22%3A%22yes%22%7D%2C%22date%22%3A%7B%22type%22%3A%22string%22%2C%22store%22%3A%22yes%22%7D%2C%22tags%22%3A%7B%22type%22%3A%22string%22%2C%22store%22%3A%22yes%22%7D%2C%22id%22%3A%7B%22type%22%3A%22string%22%2C%22store%22%3A%22yes%22%7D%2C%22parentId%22%3A%7B%22type%22%3A%22string%22%2C%22store%22%3A%22yes%22%7D%7D%7D
If I don't run it through URLEncode, it still crashes.
What the log shows is this:
DEBUG 2011-06-08 17:59:07,225 [main] - <<
"{"error":"InvalidIndexNameException[[topicquests/email/_mapping' -d
'{"email":{"properties":{"from":{"type":"string","store":"yes"},"subject":{"type":"string","store":"yes"},"body":{"type":"string","store":"yes"},"date":{"type":"string","store":"yes"},"tags":{"type":"string","store":"yes"},"id":{"type":"string","store":"yes"},"parentId":{"type":"string","store":"yes"}}}}']
Invalid index name [topicquests/email/_mapping' -d
'{"email":{"properties":{"from":{"type":"string","store":"yes"},"subject":{"type":"string","store":"yes"},"body":{"type":"string","store":"yes"},"date":{"type":"string","store":"yes"},"tags":{"type":"string","store":"yes"},"id":{"type":"string","store":"yes"},"parentId":{"type":"string","store":"yes"}}}}'],
must not contain whitespace]","status":400}"
What am I missing?
Many thanks.