Hi, I followed the same steps mentioned in given readme.md file
Here is my model:
from django.db import models
from django_elasticsearch.models import EsIndexable
class Product(EsIndexable, models.Model):
product_name = models.CharField(max_length=100)
slug = models.SlugField(max_length=100)
After this as per mentioned in steps I did this in python shell
>>> q = Product.es.search('sample')
>>> q
and I got this error in shell
ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection
object at 0x10828e250>: Failed to establish a new connection: [Errno
61] Connection refused) caused by:
NewConnectionError(<urllib3.connection.HTTPConnection object at
0x10828e250>: Failed to establish a new connection: [Errno 61]
Connection refused)
What is that I'm missing and how do I proceed now, so that I should get resultant array
Hi, I followed the same steps mentioned in given readme.md file
Here is my model:
After this as per mentioned in steps I did this in python shell
and I got this error in shell
What is that I'm missing and how do I proceed now, so that I should get resultant array