Tagged Questions
0
votes
0answers
7 views
Elasticsearch sorting fails after update / insert
I'm inserting documents into elasticsearch and trying to sort on a given field that's present in all documents. However, whenever I update a document, indexing seems to break and I do not get a sorted ...
0
votes
1answer
18 views
How to update an existing document in elasticsearch with pyes?
Assuming I have a document with an id of 49385 and I wanted to update it to have an addition field of "newfield" with value "newvalue". How do I do this in pyes if possible? There appears to be no ...
0
votes
0answers
13 views
How to add a new field to all documents in index in elasticsearch with pyes?
Assuming I have documents already index "myindex" in elastic search and wanted to add a new string field "mynewfield" based on "fieldA", a string field that is already indexed with the document. How ...
0
votes
1answer
39 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
22 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
28 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
35 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
57 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
61 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
43 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
44 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
99 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
82 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 ...