I agree that so long as Oscar's forms are hardwired to Haystack, 
implementing additional backends would be Haystack's responsibility. I am 
not advocating that this be changed, apologies if I was unclear. Please let 
me know what I wrote to cause that miscommunication and I will correct it.

I think that the Haystack `simplebackend` is misnamed because it only works 
with SQL databases, and Haystack would interface just fine with NoSQL 
databases if implementations were written. Those backends would also be 
simple (i.e. they would not necessarily support fulltext search), but they 
would also not use SQL. Perhaps Haystack could deprecate the term 
simplebackend in favor of sqlbackend. This would also help orient newbies.

Your usage of the term 'search engine' confuses me because all datastores 
by definition have an inherent search capability.

Mike

On Monday, February 15, 2021 at 9:06:24 AM UTC-5 
meig...@meigallodixital.com wrote:

> I think the real reason for putting haystack as standard is more for the 
> facet indexes than for the searches themselves. But it permit the 
> possibility of using search engines if is necessary too.
>
> If you leave 'simplebackend' as it comes by default on the tutorial, you 
> have the 'normal' search in database. But you obviously you lose the facet 
> indexes.
>
> As postgresql has its own search engine already and django 3.x supports 
> it, there is open debate about this already in the repository [1] [2]. But 
> in my opinion it's a Haystack's responsibility. Unless, as you say, the use 
> Haystack as standard search is changed.
>
> [1] https://github.com/django-oscar/django-oscar/issues/3605
> [2] https://github.com/django-haystack/django-haystack/issues/1320
>
> El lunes, 15 de febrero de 2021 a las 13:26:09 UTC+1, msl...@gmail.com 
> escribió:
>
>> I did some research and wrote up some suggestions: 
>> https://www.mslinn.com/blog/2021/02/14/django-fulltext-search.html
>>
>> Mike
>>
>> On Saturday, February 13, 2021 at 5:22:40 PM UTC-5 Michael Slinn wrote:
>>
>>> Opinions are unimportant. 
>>>
>>> I wonder if any user-visible functionality would be altered in Frobshop 
>>> if Haystack was disabled. I believe that the answer is that there would be 
>>> no discernible difference.
>>>
>>> Going one step further, are any statistics available about the total 
>>> number of live sites running django-oscar, and the most popular features 
>>> used?
>>> Mike
>>>
>>

-- 
https://github.com/django-oscar/django-oscar
http://django-oscar.readthedocs.org/en/latest/
--- 
You received this message because you are subscribed to the Google Groups 
"django-oscar" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-oscar+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/django-oscar/1cc6cc6d-7ad9-4476-b290-286832c434e1n%40googlegroups.com.

Reply via email to