Pysolr

Latest version: v3.9.0

Safety actively analyzes 629052 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 4

2.0.11

--------------------

- Fixed initialization parameters on ``Results``. Thanks to
jonathan.slenders for pointing this out. v2.0.11. [Daniel Lindsley]

- Added a sane .gitignore. [Daniel Lindsley]

2.0.10

--------------------

- Fixed a bug in URL construction with httplib2. Thanks to maciekp.lists
for the patch. v2.0.10. [Daniel Lindsley]

- Added a way to handle queries longer than 1024. Adapted from cogtree's
Python Solr fork. [Daniel Lindsley]

- Fixed isinstance bug that can occur with the now potentially different
datetime/date objects. [Daniel Lindsley]

- Altered pysolr to use, if available, Django's implementation of
datetime for dates before 1900. Falls back to the default
implementation of datetime. [Daniel Lindsley]

- If MLT was enabled but no reindexing was performed, Solr returns null
instead of no docs. Handle this slightly more gracefully. [Daniel
Lindsley]

- Corrected a regression when errors occur while using httplib. [Daniel
Lindsley]

- Bumped version number for previous commit. [Daniel Lindsley]

- Altered the '_extract_error' method to be a little more useful when
things go south. [Daniel Lindsley]

- Bumped version for previous commit. [polarcowz]

- Added (optional but default) sanitizing for updates. This cleans the
XML sent of control characters which cause Solr's XML parser to break.
[polarcowz]

- Fixed up a couple distribution bits. [polarcowz]

- Added spellchecking support. [polarcowz]

- Added timeouts (optional if httplib2 is installed). [polarcowz]

- Fixed DATETIME_REGEX & _from_python to match Solr documentation.
Thanks initcrash! [polarcowz]

- Under some circumstances, Solr returns a regular data type instead of
a string. Deal with it in _to_python as best as possible. [polarcowz]

- Added '_to_python' method for converting data back to its native
Python type. Backward compatible (requires manually calling).
[polarcowz]

- Updated pysolr to version 2.0. [polarcowz]

New bits:
* Now uses JSON instead of parsing XML. (jkocherhans)
* Added support for passing many types of query parameters to Solr. (daniellindsley)
* Added support for More Like This (requires Solr 1.3+). (daniellindsley)
* Added support for highlighting. (daniellindsley)
* Added support for faceting. (daniellindsley)

Ought to be fairly backward-compatible (no known issues) but caution is advised when upgrading.

Newly requires either the 'json' or 'simplejson' modules.

- Added the stuff needed to easy_install pysolr. And a LICENSE, since I
just made fun of another project for not having one.
[jacob.kaplanmoss]

- It would probably help if I imported the correct thing. [jkocherhans]

- This is getting a bit hairy, but try to import ElementTree from lxml
as well. [jkocherhans]

- Use cElementTree if it's available. [jkocherhans]

- Removed unused import. Thanks, jarek.zgoda. [jkocherhans]

- Removed default values for start and rows from the search method.
Thanks, jarek.zgoda. This will allow people to let solr determine what
the default for those should be. [jkocherhans]

- Added converters for float and decimal. This references Issue 1.
Thanks, jarek.zgoda. [jkocherhans]

- Fixed a bug for connections that don't specify a port number.
[jkocherhans]

- Fixed Python 2.5-ism. [jkocherhans]

- Allowed for connections to solr instances that don't live at /solr.
[jkocherhans]

- Added multiValue field handling support. [jkocherhans]

- Broke results out into a separate object with docs and hits
attributes. [jkocherhans]

- Fixed typo that caused breakage with python < 2.5. [jkocherhans]

- Fixed a small typo. [jkocherhans]

- Initial import of pysolr. [jkocherhans]

- Initial directory structure. [(no author)]

Page 4 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.