divio / aldryn-search

Haystack 2.0 search index for django CMS
Other
48 stars 77 forks source link

Provide a django 2+ compatible release #102

Closed benzkji closed 4 years ago

benzkji commented 4 years ago

would be nice!

wfehr commented 4 years ago

Any news here?

artforlife commented 4 years ago

I bump this thread. Is this still being supported? Is it safe to assume that it is not since Aldryn NewsBlog is being dropped altogether?

artforlife commented 4 years ago

By the way, for those interested, I was able to set up a successful proof-of-concept for Django 2.x using the following configuration.

When I say "successful", I mean that I was able to set up and perform basic and trivial searches. I have not tested in-depth at all.

https://stackoverflow.com/questions/59024118/failed-to-query-elasticsearch-using-transporterrorr400-parsing-exception

corentinbettiol commented 4 years ago

I was able to successfully search the content of djangocms using aldryn search, haystack (with some tweaks) and elasticsearch 7 (how ?).

However, this does not seem to be suitable for production use, as the results returned are partial (do not include blog posts (using djangocms-blog) or all pages).

I don't know enough about haystack or elasticsearch to know if it's an indexing problem or a communication problem.


Screenshot: image


I think I will switch to solr as it seems to be better supported (and the installation seems to be easier).

benzkji commented 4 years ago

if djangocms-blog doesnt provide it's own search index, you'll need to create one, on your own. as probably the posts will have placeholderfields, it's best to start of with one of the base indexes, that aldryn_search provide.

corentinbettiol commented 4 years ago

Djangocms-blog seems to have a search_indexes file.

benzkji commented 4 years ago

ok then. make sure it's included (this is not always the case, if I remember haystack right...)...then, debug, or still create your own, if it's no good... setting up the index correctly is always a bit of a pain, but once it works, haystack is really powerfull...

On 06.01.20 11:51, Corentin Bettiol wrote:

Djangocms-blog seems to have a search_indexes file https://github.com/nephila/djangocms-blog/blob/3901142bc048b906b0ef2a2c333b7d181d65ed61/djangocms_blog/search_indexes.py.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/divio/aldryn-search/issues/102?email_source=notifications&email_token=AADRH63YPVQMMEKODTTCOPLQ4MEKVA5CNFSM4IPNQO4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIFDKCQ#issuecomment-571094282, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADRH65GPROORNV53FSTFYDQ4MEKVANCNFSM4IPNQO4A.

-- bnzk / Ben Stähli -- bnzk@bnzk.ch +41 22 575 25 77 +41 76 425 88 77 Map: https://goo.gl/1AFCCa --

corentinbettiol commented 4 years ago

I have successfully switched to solr 6.6.6, and I have noted all the steps necessary to launch a development environment with a working search input (using django 2.2.9 aldryn-search, haystack & solr) here.

benzkji commented 4 years ago

getting to the topic again, a release would be nice, trying to ping @christianbertschy @FinalAngel @stefanfoulis @czpython ...

benzkji commented 4 years ago

now that we have reached 1.0.1! ;-)=

zypro commented 4 years ago

LTS for django 1.11 is soon ending (April 2020), any news about a new release? Code seems pretty well updated already. 👍

FinalAngel commented 4 years ago

Aldryn Search 1.1.0 has been released :)