Skip to content

issues Search Results · repo:vrcmarcos/elasticmock language:Python

Filter by

44 results
 (51 ms)

44 results

invrcmarcos/elasticmock (press backspace or delete to remove)

I see that the mock client uses the random package to generate new IDs for documents (specifically random.choice). In my project, I am generating an ES document after each test is ran, and resetting the ...
  • sillly-milly
  • Opened 
    on Apr 4, 2023
  • #89

While I was looking at https://github.com/vrcmarcos/elasticmock/issues/87, and elasticmock s lack of support for the Elasticsearch.update function, I found that this lack of support is a bit non-obvious: ...
  • sillly-milly
  • Opened 
    on Apr 4, 2023
  • #88

From what I can tell, https://elasticsearch-py.readthedocs.io/en/7.x/api.html#elasticsearch.Elasticsearch.update is not supported by the mocking client (I think when I try to call the function on the mock ...
  • sillly-milly
  • Opened 
    on Apr 4, 2023
  • #87

dateutil.parser.isoparse is meant to be used to transfrom ISO 8601 datetime strings into datetime objects. However, it is being used in FakeQueryCondition to parse a datetime object, which is both redundant ...
  • JimGomez48
  • 2
  • Opened 
    on Mar 16, 2023
  • #84

I have written the following unit test. from unittest import TestCase from elasticmock import elasticmock from elasticsearch import Elasticsearch def some_function_that_uses_elasticsearch(): client ...
  • wpm
  • 1
  • Opened 
    on Jan 14, 2023
  • #82

Currently the create endpoint is not supported by the fake class.
  • x41lakazam
  • Opened 
    on May 11, 2022
  • #81

I m just about to switch to opensearch-py and opensearch-dsl, since I rely on elasticmock for my testing, I will probably have to fork this, but I wanted to check if there were any plans to support the ...
  • matthewdeanmartin
  • 1
  • Opened 
    on Apr 23, 2022
  • #80

Hi, sweet tool you created. Are there any plans to support elasticsearch 8?
  • hogklint
  • 2
  • Opened 
    on Apr 22, 2022
  • #79

I am attempting to bulk create a few documents by passing this to bulk: { create : { customer_id : 1, field2 : doc1 , _index : my_index }} { create : { customer_id : 1, field2 : doc2 , _index : ...
  • flashgorman-chorus
  • 2
  • Opened 
    on Aug 3, 2021
  • #73
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub