GithubHelp home page GithubHelp logo

brainbot-com / pyelasticsearch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pyelasticsearch/pyelasticsearch

1.0 1.0 1.0 370 KB

python elasticsearch client

License: BSD 3-Clause "New" or "Revised" License

Shell 5.34% Python 94.66%

pyelasticsearch's People

Contributors

acdha avatar bkjones avatar cybertoast avatar davedash avatar erikrose avatar gcarothers avatar hannosch avatar honzakral avatar j0hnsmith avatar jasisz avatar jezdez avatar konarkmodi avatar konradkonrad avatar kul avatar msabramo avatar rhec avatar robertour avatar schmir avatar toastdriven avatar willkg avatar zbyte64 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

guybowden

pyelasticsearch's Issues

AttributeError: 'dict' object has no attribute 'startswith'

just got this traceback:

2013-06-02 13:16:50,797:pyelasticsearch:http://localhost:9200 marked as dead for
 300 seconds.
2013-06-02 13:16:50,799:requests.packages.urllib3.connectionpool:Starting new HT
TP connection (2): localhost
2013-06-02 13:18:59,933:bemo.index_control:total added 5702009 docs
(0.14 docs/sec 0.02 MByte/sec) Index Size: 14259.71 MB
Traceback (most recent call last):
  File "/home/ralf/bemo/bin/bemopy", line 47, in <module>
    exec(compile(__file__f.read(), __file__, "exec"))
  File "/home/ralf/cpidx.py", line 49, in <module>
    ic.index_documents(src, report_stats=index_control.make_report_stats())
  File "/home/ralf/bemo/bemo/index_control.py", line 140, in index_documents
    for doc in documents:
  File "/home/ralf/cpidx.py", line 27, in iterate_scroll
    result = conn.scroll(scroll_id=scroll_id, scroll="10m")
  File "/home/ralf/.buildout/cache/eggs/pyelasticsearch-0.5_brainbot_1_20130516-
py2.7.egg/pyelasticsearch/client.py", line 96, in decorate
    return func(*args, query_params=query_params, **kwargs)
  File "/home/ralf/.buildout/cache/eggs/pyelasticsearch-0.5_brainbot_1_20130516-
py2.7.egg/pyelasticsearch/client.py", line 622, in scroll
    query_params=query_params)
  File "/home/ralf/.buildout/cache/eggs/pyelasticsearch-0.5_brainbot_1_20130516-
py2.7.egg/pyelasticsearch/client.py", line 254, in send_request
    self._raise_exception(resp, prepped_response)
  File "/home/ralf/.buildout/cache/eggs/pyelasticsearch-0.5_brainbot_1_20130516-
py2.7.egg/pyelasticsearch/client.py", line 265, in _raise_exception
    elif error_message.startswith('IndexAlreadyExistsException'):
AttributeError: 'dict' object has no attribute 'startswith'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.