Transport error 404

Hi,

I'm trying to get elasticsearch working, querying it from python. However in my UWSGI logs I have this error:

File "/var/www/.../venv/local/lib/python2.7/site-packages/elasticsearch/connection/base.py", line 9
7, in _raise_error
raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info)
elasticsearch.exceptions.NotFoundError: TransportError(404, u'IndexMissingException[[employ_simple] missin
g]')

Is this a simple error just to say I don't have an index on my elasticsearch server yet? Do I have to create one before I can attempt to put any data on it?

James

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/2eac9753-9ea4-48cb-b8e1-7723fb63b56b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi James,

you can index documents even without creating an index - it will be
created for you, but when searching the index must exist.

Hope this helps.

On Thu, Feb 5, 2015 at 1:04 PM, James mail@employ.com wrote:

Hi,

I'm trying to get elasticsearch working, querying it from python. However in
my UWSGI logs I have this error:

File
"/var/www/.../venv/local/lib/python2.7/site-packages/elasticsearch/connection/base.py",
line 9
7, in _raise_error
raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code,
error_message, additional_info)
elasticsearch.exceptions.NotFoundError: TransportError(404,
u'IndexMissingException[[employ_simple] missin
g]')

Is this a simple error just to say I don't have an index on my elasticsearch
server yet? Do I have to create one before I can attempt to put any data on
it?

James

--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/2eac9753-9ea4-48cb-b8e1-7723fb63b56b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CABfdDio9wx%2BucqiSMYhwdviu6jCCJaUgTObme_jOLfEtRhZakA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.