Tagged Questions
0
votes
1answer
33 views
Speeding up reading the url response in python
I have a piece of code that queries a server that returns a big json object(elasticsearch, BTW),
It takes a lot of time to read the results. parsing the json object is very fast.
tic = time.time()
...
0
votes
1answer
20 views
Elastic Search [PUT] error
I'm having some trouble getting elastic search integrated with an existing application, but it should be a fairly straightforward issue. I'm able to create and destroy indices but for some reason I'm ...
0
votes
1answer
17 views
Elastic Search No server available, list index out of range
I'm trying to get a simple example working with elastic search using pyes, but I'm having trouble getting the starting examples working. I'm following the documentation found here: ...
1
vote
0answers
14 views
django-haystack and external indexing
I'm trying to understand what's the right way to:
feed documents for indexing directly to search backend (just in case I use elasticsearch)
then use resulting index from haystack to integrate with a ...
0
votes
0answers
28 views
Can python scripts with flow-control be applied in elasticsearch
I would like to run a script that uses try-except in the update API in Elasticsearch?
How would that go, since python is sensitive to indentation?
I'm trying to find the location of a tag with a ...
0
votes
0answers
56 views
Python log analysis tool/library
I'm looking for a tool/library written in python similar with logstash (ruby + java).
My goals are:
parse all system logs from syslog
parse application specific logs (apache, django, mysql etc.)
...
0
votes
1answer
59 views
Querying ElasticSearch with Python Requests not working fine
I'm trying to do full-text search on a mongodb db with the Elastic Search engine but I ran into a problem: no matters what search term I provide(or if I use query1 or query2), the engine always ...
0
votes
0answers
41 views
Getting pyes.exceptions.ElasticSearchException: from python code
I'm following this tutorial for using elastic search with python pyes.Here is my python code
from pyes import *
from pyes.mappings import *
conn = ES('http://search.twitter.com/search.json?q=poplio')
...
0
votes
1answer
43 views
Unable to redirect python script result to a text file in windows
Here is my python code.I'm trying to do elastic search in python.
from pyes import *
from pyes.mappings import *
conn = ES('http://search.twitter.com/search.json?q=poplio')
...
-1
votes
2answers
65 views
A simple app using elastic search and python [closed]
OK, i was looking for playing with elastic search and i went through their site, but couldn't find any basic or simple app which make use of elastic search or show how to use elastic search.can Any ...
0
votes
1answer
94 views
python elastic search not working pyes package issues
Installed pyes recently , but when i tired it in the python shell it is giving the error,
Can any one please help me out in this regard:
Traceback (most recent call last):
File "<stdin>", line ...
1
vote
2answers
81 views
url requst emulating curl --data-binary
I want to send a URL request equivalent to using to json objects in the post data, separated by newline.
This is for indexing two items in bulk for Elasticsearch.
This works fine:
curl -XPOST ...
0
votes
1answer
188 views
ElasticSearch requests range timestamp in python
I'm trying to perform a request on my ES, to count logs in a timestamp range. My request works, but she returns always the same result. The timestamp filter seems not working.
I would to retrieve a ...
0
votes
0answers
86 views
How to use ResultSet in PyES
I'm using PyES to use ElasticSearch in Python.
Typically, I build my queries in the following format:
# Create connection to server.
conn = ES('127.0.0.1:9200')
# Create a filter to select documents ...
3
votes
3answers
303 views
Django Haystack/ElasticSearch indexing process aborted
I'm running a setup with django 1.4, Haystack 2 beta, and ElasticSearch .20. My database is postgresql 9.1, which has several million records. When I try to index all of my data with ...