Git Product home page Git Product logo

Comments (2)

nickvasilyev avatar nickvasilyev commented on September 28, 2024

Sure, I am going to put in a bit of work on this project over the weekend; it's been a bit neglected by my lately. I want to put in something to make working with json.facet easier and fix SolrResponse a bit.

Can you add unit tests to verify the routing is actually working correctly? I haven't looked at all the code you submitted, especially the stuff going over in the aware router. This is needed so when someone else (or me) is working on changing the transport, we can test to make sure we didn't break any of the routing functionality. Some documentation so people can figure out how to use it would be good too.

Also, on SolrVagrant I am running into issue with indexq tests on solr 5.2.1, it looks like it is a solr 5.2.1 config issue.

from solrclient.

nickvasilyev avatar nickvasilyev commented on September 28, 2024

I updated dev / master and pushed a new release (0.2.0) to pypi because of the previous bug with index method on the client, however I disabled your routing module.

I would really like to include it next time, but I want unit tests for it to prevent breakage in the future. Having even a single unit test for the index method would definitely have identified the infinite loop and would have prevented it from being merged into the code and pushed out to pypi. I added that unit test now.

Please add the tests for the router functionality, they can be totally independent from the rest of the tests to not mix things up. One thing you can do is to set up an extra devel argument that you can pass to the object with you instantiate it, then have it check if the flag is on and store some extra information about usage that you can later verify. Not a perfect solution, but something that would be a decent workaround.

Let me know what you think.
Thanks

from solrclient.

Related Issues (20)

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.