Django-haystack

Latest version: v3.3.0

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

Scan your dependencies

Page 1 of 4

2.8.1

-------------------
- Merge pull request 1596 from klass-ivan/collecting-deep-attr-through-
m2m. [Chris Adams]

Fixed collection of deep attributes through m2m relation
- Fixed collection of deep attributes through m2m relation. [Ivan Klass]

2.8.0

-------------------
- Optimize ElasticSearch backend (closes 1590) [Chris Adams]

Thanks to klass-ivan for the patch
- [elasticsearch backend] - Fixed index re-obtaining for every field.
[Ivan Klass]
- Django 2.0 compatibility (closes 1582) [Chris Adams]

Thanks to mpauly and timgraham for working on this and dani0805,
andrewbenedictwallace, rabidcicada, webtweakers, nadimtuhin, and
JonLevischi for testing.
- Implemented TG's review comments. [Martin Pauly]
- Drop support for old django versions. [Martin Pauly]
- For some reason the mock needs to return something. [Martin Pauly]
- Django 2.0 changes to tests. [Martin Pauly]
- Dropped a few unnecessary interactive=False. [Martin Pauly]
- Replace get_coords() by coords in more places. [Martin Pauly]
- Ignore python2 Django2 combination. [Martin Pauly]
- Drop tests for Django < 1.11. [Martin Pauly]
- Update requirements in setup.py. [Martin Pauly]
- Update imports to drop Django 1.8 support. [Martin Pauly]
- Fix intendation error in tox.ini. [Martin Pauly]
- Merge https://github.com/django-haystack/django-haystack. [Martin
Pauly]
- Added a test for exclusion of M2M fields for ModelSearchIndex. [Martin
Pauly]
- In Django 2.0 ForeinKeys must have on_delete. [Martin Pauly]
- Assuming that everyone who wants to run these tests upgrades pysolr.
[Martin Pauly]
- Django 2.0 is not compatible with python 2.7. [Martin Pauly]
- Deal with tuples and strings. [Martin Pauly]
- Fix a bug due to string __version__ of pysolr. [Martin Pauly]
- Fix tox. [Martin Pauly]
- Mocking order. [Martin Pauly]
- Reverse order. [Martin Pauly]
- Update test - the interactive kwarg is only passed to the clear_index
command. [Martin Pauly]
- Revert "Trigger travis build" [Martin Pauly]

This reverts commit 7a9ac3824d7c6d5a9de63e4144ccb8c78daf60d6.
- Trigger travis build. [Martin Pauly]
- Update authors. [Martin Pauly]
- Update tests. [Martin Pauly]
- Update imports. [Martin Pauly]
- Fix missing attribute rel. [Martin Pauly]
- Add the corresponding option for update_index. [Martin Pauly]
- Fix import order. [Martin Pauly]
- Exclude unused options for call of clear_index and update_index.
[Martin Pauly]
- Merge pull request 1576 from claudep/pep479. [Chris Adams]

Replaced deprecated StopIteration by simple return
- Replaced deprecated StopIteration by simple return. [Claude Paroz]

Compliance to PEP 479.
- Merge pull request 1588 from bit/patch-1. [Justin Caratzas]

make BaseInput.__repr__ for in python3
- Update inputs.py. [bit]
- Make BaseInput.__repr__ for in python3. [bit]

remove call to __unicode__

2.7.0

-------------------
- Use Python 3-compatible version comparison. [Chris Adams]
- Add Django 1.11 and Python 3.6 to tox config. [Chris Adams]
- Tests use pysolr version_info to work on Python 3.6. [Chris Adams]
- Upgrade dependencies. [Chris Adams]
- Align haystack's version attributes with pysolr. [Chris Adams]

__version__ = pkg resource string
version_info = more usable tuple
- Fixed order_by multiple fields in whoosh backend. [Chris Adams]

Thanks rjhelms and TTGmarkad for the patch

Closes 604
- Fixed order_by multiple fields in whoosh backend. [Rob Hailman]

Implemented fix as suggested in issue 604
- Merge pull request 1551 from RabidCicada/uuid-pk-fix. [Chris Adams]

Uuid pk fix
- Fixed final bug with test_related_load_all_queryset test. [Kyle Stapp]
- Fixing errors. [Kyle Stapp]
- Initial attempt at adding testing framework for uuid models. [Kyle
Stapp]
- Coerce the pk string to the type that matches the models pk object.
[Kyle Stapp]
- Merge pull request 1555 from whyscream/django-pinning. [Chris Adams]

Fix django version pinning in setup.py
- Fix django pinning in setup.py. [Tom Hendrikx]
- Remove unused import. [Chris Adams]
- Update_index: remove dead variable assignment. [Chris Adams]

This declaration was meaningless since the value would be unconditionally overwritten by the `total = qs.count()` statement above on the next loop iteration, before anything read the value.
- PEP-8. [Chris Adams]
- LocationField.convert() will raise TypeError for unknown inputs.
[Chris Adams]
- Whoosh: prevent more_like_this from hitting an uninitialized variable.
[Chris Adams]

This was uncommon but previously possible
- Remove dead code from Whoosh backend. [Chris Adams]
- PEP-8. [Chris Adams]
- Merge pull request 1526 from RabidCicada/better-default-configs.
[Chris Adams]

Better default configs
- Comment editing. [Chris Adams]
- Adding the template updates I forgot. [Kyle Stapp]
- Merge pull request 1544 from jbzdak/jbzdak-patch. [Chris Adams]

Update haystack.generic_views.SearchView to handle empty GET requests
- Update generic_views.py. [Jacek Bzdak]

Fix for inconsistent behavior when GET parameters are present.
- Merge pull request 1541 from alasdairnicol/patch-1. [Chris Adams]

Add link to 2.5.x docs
- Add link to 2.5.x docs. [Alasdair Nicol]
- Updated config setting for solr 6.5. [Jaimin]

Updated documentation to enable spellcheck for Solr 6.5.
- Add load_all to the generic views form kwargs. [Alex Tomkins]

The deprecated views in views.py automatially pass `load_all` to the search form. Class based generic views will now match this behaviour.
- Update who_uses.rst. [davneet4u]
- Update who_uses.rst. [davneet4u]
- Added teachoo to sites using. [davneet4u]
- Merge pull request 1527 from palmeida/patch-1. [Chris Adams]

Remove extraneous word
- Remove extraneous word. [Paulo Almeida]
- Merge pull request 1530 from tomkins/travis-elasticsearch. [Chris
Adams]

Fix elasticsearch installation in travis
- Fix elasticsearch installation in travis. [Alex Tomkins]

Recent travis updates installed a later version of elasticsearch by default, so we need to force a downgrade to test the right versions.
- Changed GeoDjango Link. [Mohit Khandelwal]

Changed GeoDjango link from geodjango.org to https://docs.djangoproject.com/en/1.11/ref/contrib/gis/
- Ensure that custom highlighter tests consistently clean up monkey-
patches. [Chris Adams]

This didn't cause problems currently but there's no point in leaving a
trap for the future.
- Prefer full import path for Highlighter. [Chris Adams]

This maintains compatibility with existing code but updates
the docs & tests to use `haystack.utils.highlighting` rather
than just `haystack.utils` to import `Highlighter`.
- PEP-8. [Chris Adams]
- Update default identifier to support UUID primary keys. [Chris Adams]

Thanks to rabidcicada for the patch & tests!

Closes 1498
Closes 1497
Closes 1515
- Merge pull request 1479 from mjl/mjl-issue-1077. [Chris Adams]

rebuild_index slowdown fix (1077)
- Merge remote-tracking branch 'upstream/master' into mjl-issue-1077.
[Martin J. Laubach]
- Merge branch '1504-solr-6-by-default' [Chris Adams]
- Documentation copy-editing. [Chris Adams]
- Tidy build_solr_schema help text and exceptions. [Chris Adams]
- Build_solr_schema: reload should not assume the backend name. [Chris
Adams]
- Attempt to fix on Travis. I guess it runs from different directory.
[Kyle T Stapp]
- Cleaner approach based on acdh's comments. We don't carry around
baggage....but I also am not worried that random lines will get
inserted into alien future configs. [Kyle T Stapp]
- Updated docs to add warning about template filename change. Fixed
typo. [Kyle T Stapp]
- Removed Unnecessary stopword files as requested. [Kyle T Stapp]
- Updated docs to match new implementation. [Kyle T Stapp]
- Tidying test suite. [Chris Adams]

* Remove some test utilities which were only used once
or (after refactoring) not at all
* PEP-8 cleanup
- Tidy Solr backend tests. [Chris Adams]

* Use assertSetEqual for prettier debug output on failure
* Whitespace around operators
- Update build_solr_schema arguments. [Chris Adams]

* Use longer names for command-line options
* Tidy variable names & error messages
- Tests: better name for Solr-specific management commands. [Chris
Adams]

This makes things like editor open-by-name shortcuts less confusing
- Update Solr management command tests. [Chris Adams]

* Use os.path.join for filesystem path construction
* PEP-8 variable naming, whitespace
* Use assertGreater for str.find checks on rendered XML
- Solr: ensure that the default document field is always applied. [Chris
Adams]

This is normally moot but newer versions of Solr have deprecated the
<defaultSearchField> configuration option and certain Haystack queries
may break if you have removed that configuration element.
- Update Solr spelling suggestion handling. [Chris Adams]

The support matrix for this is a problem since the Solr response format changes based on the version,
configuration, and query parameters (i.e. spellcheck.collateExtendedResults) so this is moved into a separate function which logs errors and honors
the backend fail silently setting.

This has been tested using Solr 6.4 and 6.5 with both
the regular and collateExtendedResults formats.
- Addressing Chris' comments on comment style :) >.< [Kyle T Stapp]
- Addressing Chris' comments on boolean check. [Kyle T Stapp]
- Moved constants.HAYSTACK_DOCUMENT_FIELD to constants.DOCUMENT_FIELD to
follow convention. [Kyle T Stapp]
- Test Solr launcher updates. [Chris Adams]

* Ensure the log directory exists
* Remove dead code
* Remove GC_LOG_OPTS assignments
- Build_solr_schema tidying. [Chris Adams]

* Construct filesystem paths using `os.path`
* Remove need to use `traceback`
* Avoid dealing with HTTP request URL encoding
- Build_solr_schema: less abbreviated keyword argument name. [Chris
Adams]
- Tidy imports. [Chris Adams]
- PEP-8. [Chris Adams]
- PEP-8. [Chris Adams]
- Remove unused imports. [Chris Adams]
- Run isort on files updated in this branch. [Chris Adams]
- Merge and deconflict of upstream PEP8 changes. [Kyle T Stapp]
- PEP8 Fixes. Mostly ignoring line length PEP violations due to
conciseness of assertStatements. [Kyle T Stapp]
- Python 3 compatibility updates. [Kyle T Stapp]
- Allow overriding collate for spellcheck at most entrypoints that
accept kwargs (search mlt etc). get_spelling_suggestions() will need
to be updated. [Kyle T Stapp]
- Fixing a problem introduced in build_template. [Kyle T Stapp]
- Working template management and tests. Lots of plumbing to test.
More tests to come soon. [Kyle T Stapp]
- Final Fixes to support 6.4.0 and 6.5.0 spelling suggestions. [Kyle T
Stapp]
- Thinking solr versoin is wrong. [Kyle T Stapp]
- Printing raw response that I found existed:) [Kyle T Stapp]
- More troubleshooting and fixing old test back to original check. [Kyle
T Stapp]
- More troubleshooting. [Kyle T Stapp]
- Fix wrong object in test for spelling suggestions. [Kyle T Stapp]
- More troubleshooting. [Kyle T Stapp]
- More troubleshooting. [Kyle T Stapp]
- Troubleshooting travis failure that is not replicatable here. [Kyle T
Stapp]
- Adjusting matrix to include django 1.11. Adjusting wait_for_solr
script to try to ping correct location. Adding ping handler. [Kyle T
Stapp]
- Trying to get a travis platform that supports jdk setting. [Kyle T
Stapp]
- Attempting to get travis to see jdk8 request. [Kyle T Stapp]
- Fix result_class swap failure. [Kyle T Stapp]
- Fix Collation based results. Add future plumbing for returning more
than one 'suggestion' but keep current behavior. Update schema
definition to get rid of _text_ [Kyle T Stapp]
- Fix LiveSolrSearchQueryTestCase. Specifically spellcheck. Added
spellcheck to select requestHandler and fixed parsing changes needed
in core on our side. [Kyle T Stapp]
- Fix LiveSolrMoreLikeThisTestCase. Also fix the deferred case (whoops)
[Kyle T Stapp]
- Fix LiveSolrMoreLikeThisTestCase. [Kyle T Stapp]
- Fixed LiveSolrAutocompleteTestCase Failure. [Kyle T Stapp]
- Fixed LiveSolrContentExtractionTestCase Failure. Reworked core
creation and configuration a little. [Kyle T Stapp]
- Reworked start-solr-test-server to work with modern solr. Reworked
solr spinup to create a default core using predefined config in
server/confdir. [Kyle T Stapp]
- Update solr template to be solr6 compatible. [Kyle T Stapp]
- Fix to tests to run with context dicts instead of context objects for
django 1.10. [Kyle T Stapp]
- Fix django template context passing. [Kyle T Stapp]
- Merge pull request 1500 from rafaelhdr/master. [Chris Adams]

Updated tutorial URL configuration example
- Updated README for CKEditor URL include. [Rafael]
- Management command update_index: Use last seen max pk for selecting
batch starting point. [Martin J. Laubach]

This fixes (or at least mitigates) issue 1077 for the synchronous update case.

2.6.1

-------------------
- PEP-8. [Chris Adams]
- Update SearchBackend.update signature to match implementations. [Chris
Adams]

Every actual SearchBackend implementation had this but the base class
did not and that could cause confusion for external projects - e.g.

https://github.com/notanumber/xapian-haystack/commit/d3f1e011da3d9bebd88c78fe7a87cd6171ae650c
- Update SearchIndex get_backend API (closes 663) [Chris Adams]

Make _get_backend a proper public method since it’s
recommended by at least one part of the documentation.
- Extract_file_contents will pass extra keyword arguments to pysolr
(1505) [Chris Adams]

Thanks to guglielmo for the patch
- Extract_file_contents accept extra arguments. [Guglielmo Celata]

so that it may be used to extract content in textual format, instead of using XML, for example
- PEP-8 line-lengths and whitespace. [Chris Adams]
- Better handling of empty lists in field preparation. [Chris Adams]

Merge pull request 1369 from janwin/fix-empty-list-convert
- Cherrypick Terr/django-
haystack/commit/45293cafbed0ef6aeb145ce55573eb32b1e4981f. [janpleines]
- Make empty lists return null or default. [janpleines]
- Merge pull request 1483 from barseghyanartur/patch-1. [Chris Adams]

Update tutorial.rst
- Update tutorial.rst. [Artur Barseghyan]

Added elasticsearch 2.x setting example.
- SearchView: always include spelling suggestions. [Josh Goodwin]

Previously a search which returned no results would not have the
"suggestion" context variable present. Now it will be defined but None.

Thanks to Joshua Goodwin (jclgoodwin) for the patch.

Closes 644
- Update changelog. [Chris Adams]
- Merge pull request 1469 from stephenpaulger/patch-1. [Chris Adams]

Add 2.6.X docs link to README.
- Add 2.6.X docs link to README. [Stephen Paulger]

2.6.0

-------------------
- Update changelog. [Chris Adams]
- Merge 1460: backend support for Elasticsearch 2.x. [Chris Adams]

Thanks to João Junior (joaojunior) and Bruno Marques (ElSaico) for the
patch

Closes 1460
Closes 1391
Closes 1336
Closes 1247
- Docs: update Elasticsearch support status. [Chris Adams]
- Tests: avoid unrelated failures when elasticsearch is not installed.
[Chris Adams]

This avoids spurious failures in tests for other search engines when the
elasticsearch client library is not installed at all but the ES backend
is still declared in the settings.
- Tests: friendlier log message for ES version checks. [Chris Adams]

This avoids a potentially scary-looking ImportError flying by in the
test output for what's expected in normal usage.
- Tests: update ES version detection in settings. [Chris Adams]

This allows the tests to work when run locally or otherwise outside of
our Travis / Tox scripts by obtaining the version from the installed
`elasticsearch` client library.
- Tests: update ES1 client version check message. [Chris Adams]

The name of the Python module changed over time and this now matches the
ES2 codebase behaviour of having the error message give you the exact
package to install including the version.
- Update travis script with ES documentation. [Chris Adams]

Add a comment for anyone wondering why this isn't a simple
`add-apt-repository` call
- Fixed More Like This test with deferred query on Elasticsearch 2.x.
[Bruno Marques]
- Fixed expected query behaviour on ES2.x test. [Bruno Marques]
- Install elasticsearch2.0 via apt. [joaojunior]
- Install elasticsearch2.0 via apt. [joaojunior]
- Remove typo. [joaojunior]
- Remove services elasticsearch. [joaojunior]
- Fix typo. [joaojunior]
- Sudo=true in .travis.yml to install elasticsearch from apt-get.
[joaojunior]
- Fix .travis. [joaojunior]
- Add logging in __init__ tests elasticsearch. [joaojunior]
- Get changes from Master to resolve conflicts. [joaojunior]
- Install elasticsearch1.7 via apt. [joaojunior]
- Update Files to run tests in Elasticsearch2.x. [joaojunior]
- Refactoring the code in pull request 1336 . This pull request is to
permit use ElasticSearch 2.X. [joaojunior]
- Improved custom object identifier test. [Chris Adams]

This provides an example for implementors and ensures that failing to
use the custom class would cause a test failure.
- Update management backend documentation for `--using` [flinkflonk]

Thanks to flinkflonk for the patch!

Closes 1215
- Fix filtered "more like this" queries (1459) [David Cook]

Now the Solr backend correctly handles a `more_like_this()` query which is subsequently `filter()`-ed.

Thanks to divergentdave for the patch and tests!
- ReStructuredText link format fixes. (1458) [John Heasly]
- Add note to Backend Support docs about lack of ES 5.X support. (1457)
[John Heasly]
- Replace deprecated Point.get_coords() calls. [Chris Adams]

This works as far back as Django 1.8, which is the earliest which we
support.

See 1454
- Use setuptools_scm to manage package version numbers. [Chris Adams]

2.5.1

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

New
~~~
- Support for Django 1.10. [Chris Adams]

Thanks to Morgan Aubert (ellmetha) for the patch

Closes 1434
Closes 1437
Closes 1445

Fix
~~~
- Contains filter, add endswith filter. [Antony]

* `__contains` now works in a more intuitive manner (the previous behaviour remains the default for `=` shortcut queries and can be requested explicitly with `__content`)
* `__endswith` is now supported as the logical counterpart to `__startswith`

Thanks to antonyr for the patch and sebslomski for code review and testing.

Other
~~~~~
- V2.5.1. [Chris Adams]
- Add support for Django 1.10 (refs: 1437, 1434) [Morgan Aubert]
- Docs: fix Sphinx hierarchy issue. [Chris Adams]
- Fix multiprocessing regression in update_index. [Chris Adams]

4e1e2e1c5df1ed1c5432b9d26fcb9dc1abab71f4 introduced a bug because it
used a property name which exists on haystack.ConnectionHandler but not
the Django ConnectionHandler class it's modeled on. Long-term, we should
rename the Haystack class to something like `SearchConnectionHandler`
to avoid future confusion.

Closes 1449
- Doc: cleanup searchindex_api.rst. [Jack Norman]

Thanks to Jack Norman (jwnorman) for the patch
- Merge pull request 1444 from jeremycline/master. [Chris Adams]

Upgrade setuptools in Travis so urllib3-1.18 installs
- Upgrade setuptools in Travis so urllib3-1.18 installs. [Jeremy Cline]

The version of setuptools in Travis is too old to handle <= as an
environment marker.
- Tests: accept Solr/ES config from environment. [Chris Adams]

This makes it easy to override these values for e.g. running test
instances using Docker images with something like this:


TEST_ELASTICSEARCH_1_URL="http://$(docker port elasticsearch-1.7 9200/tcp)/" TEST_SOLR_URL="http://$(docker port solr-6 8983/tcp)/solr/" test_haystack/run_tests.py


See 1408
- Merge pull request 1418 from Alkalit/master. [Steve Byerly]

Added link for 2.5.x version docs
- Added link for 2.5.x version. [Alexey Kalinin]
- Merge pull request 1432 from farooqaaa/master. [Steve Byerly]

Added missing `--batch-size` argument for `rebuild_index` management command.
- Added missing --batch-size argument. [Farooq Azam]
- Merge pull request 1036 from merwok/patch-1. [Steve Byerly]

Documentation update
- Use ellipsis instead of pass. [Éric Araujo]
- Fix code to enable highlighting. [Éric Araujo]
- Merge pull request 1392 from browniebroke/bugfix/doc-error. [Steve
Byerly]

Fix Sphinx errors in the changelog
- Fix Sphinx errors in the changelog. [Bruno Alla]
- Merge pull request 1341 from tymofij/solr-hl-options. [Steve Byerly]
- Merge master > tymofij/solr-hl-options. [Steve Byerly]
- Make solr backend accept both shortened and full-form highlighting
options. [Tim Babych]
- Autoprefix 'hl.' for solr options. [Tim Babych]
- Update gitignore to not track test artifacts. [Steve Byerly]
- Merge pull request 1413 from tymofij/patch-2. [Steve Byerly]

typo: suite -> suit
- Typo: suite -> suit. [Tim Babych]
- Merge pull request 1412 from SteveByerly/highlight_sqs_docs. [Steve
Byerly]

improve sqs highlight docs - illustrate custom parameters
- Improve highlight docs for custom options. [Steve Byerly]

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.