pysolr v3.5.0 Release Notes

Release Date: 2016-05-24 // almost 8 years ago
  • πŸ†• New

    
    - πŸ”¦ Expose the full Solr response in `Results` [Chris Adams]
    
      This makes life easier for anyone using custom extensions by
      removing the need to create a `Results` subclass just to get
      access to an extra dictionary key.
    
    - More flexible control of request handlers. [nuarhu]
    
      This allows configuring the default search handler and overriding it for every query method
    
      Thanks to @nuarhu for the patch
    
    - Start maintaining a changelog from gitchangelog. [Chris Adams]
    
    - Overwrite flag for Solr.add (closes #182) [Chris Adams]
    
      Thanks to @robinsonkwame for the patch
    
    - πŸ‘€ SolrCloud support (see #138) [Chris Adams]
    
      This optionally adds support for SolrCloud using the Kazoo client
      library.
    
      Thanks to @upayavira
    
    Other
    
    • V3.5.0. [Chris Adams]

    • Merge pull request #192 from dhruvpathak/optimize_commit_flag. [Chris Adams]

    chg: optimize() also accepts commit flag

    • ⚑️ Included commit flag in optimize() to let optimize call run with or without commit. [dhruv.pathak]

    • πŸ”€ Merge pull request #188 from TigorC/master. [Chris Adams]

    Removed py26 from tox.ini

    • βœ‚ Removed py26 from tox.ini. [Igor Tokarev]

    • πŸ‘· Tests: avoid timeout-based CI failures. [Chris Adams]

    These caused sporadic CI build failures and weren’t otherwise testing actual functionality since we don’t have a test which does something like SIGSTOP the test Solr server long enough to confirm a timeout.

    We’ll confirm that the timeout is passed through but otherwise use the defaults.

    • ⚑️ Update Travis CI badge in the README. [Chris Adams]

    • πŸ”€ Merge pull request #184 from atuljangra/master. [Chris Adams]

    Correct documentation for _update

    Thanks to @atuljangra for the patch!

    • πŸ”€ Merge branch 'master' of https://github.com/atuljangra/pysolr. [atuljangra]

    • Misleading comments. [atuljangra]

    • πŸ— Travis: use build matrix for regular and SolrCloud tests. [Chris Adams]

    • 🚚 Test_cloud: remove dead code. [Chris Adams]

    The first instance of test_custom_results_class was broken because it used the wrong port but this wasn’t failing because the same method name was redefined further down in the file and that used the updated port config.

    • PEP-8. [Chris Adams]

    • 🌲 ZooKeeper: log unexpected format changes to watched aliases. [Chris Adams]

    • βͺ ZooKeeper: restore JSON blob decoding. [Chris Adams]

    • PEP-8. [Chris Adams]

    • PEP-8 unused imports. [Chris Adams]

    • PEP-8. [Chris Adams]

    • PEP-8. [Chris Adams]

    • PEP-8. [Chris Adams]

    • Setup.cfg: add pep8 and isort config. [Chris Adams]

    • Tear down requests.Session instance at close. [Chris Adams]

    This avoids log-spew on modern unittest implementations which report unclosed file handles at the end of a run.

    • βœ‚ Remove Python 2.6 from Travis test matrix. [Chris Adams]

    • Add future absolute_import. [Chris Adams]

    This is currently moot but avoids any chance of regression between Python 2.x and 3.x.

    • PEP-8. [Chris Adams]

    • ⬇️ Drop support for Python 2.6. [Chris Adams]

    We have some old import dances and other overhead for Python 2.6 support, which the CPython developers dropped support for in 2013:

    http://www.curiousefficiency.org/posts/2015/04/stop-supporting-python26.html

    • πŸ‘ Allow queries to be directed to different search handlers. [Chris Adams]

    The search method now allows you override the default select handler when your Solr instance has multiple search handlers.

    Thanks to @k-patel for the patch.

    Closes #174 Closes #175