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?
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?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.