Comments (9)
This is a similar situation as the Xapian backend (GPL issues) but also even further difficult by the way Sphinx works. I've spoken to davidcramer in the past for possible collaberation and it's on the list, but probably not a near-term thing.
from django-haystack.
Yeah, I've been looking at both how Sphinx works and how Haystack backends work and making them work together seems rather non-trivial. There's one thing that looks kind of promising, though. It is possible to feed Sphinx with data in an XML format (described in the documentation). It works by providing a shell command in the configuration which Sphinx runs and takes XML data from. Generating XML data from Indexes shouldn't be to difficult, and this could be hooked to manage.py. OTOH I understand that Haystack wants to control when the indexes are updated, and I am not really sure how (and if) this is possible for Sphinx.
I am aware that the most sensible way for the Sphinx backend to happen would be that it got written by the person who wanted it most... At the moment probably me ;). However, I somehow cannot get my head around it... yet, I hope. Do you have any suggestions or starting points? Of course I could also use django-sphinx... But Haystack's interface seems so much better...
Oh, and maybe you could give me a link to the discussion with David Cramer? I remember seeing it somewhere, but Google Group search seems to let me down this time.
from django-haystack.
I created a fork for this today to dig through the stuff, but since I haven't touched haystack, ever, it seems like it's going to be pretty time consuming for me to get up. Sadly, I can't commit a lot of time right now, so this may not happen by my hands either.
I keep adding more and more (sometimes, hackish) features to django-sphinx, and wonder if it'd just be easier to get it ported to Haystack, and get the features in over here.
from django-haystack.
I've been working on a backend on and off for the last two weeks. What I have done isn't ready for public consumption yet, though I'm trying to sneak it in for 1.1.
from django-haystack.
Any progress on this?
from django-haystack.
No, I've had no time since the last update to look at it.
from django-haystack.
Just connecting dots, there has been some discussion of django-sphinx converting to Haystack over on it's forum: https://groups.google.com/d/topic/django-sphinx/LL1oWU5hDVk/discussion
It doesn't look like there is anybody there that can make it happen, which is a shame, but David Cramer is effectively bowing out of maintaining django-sphinx (I believe due to time constraints).
Bugs on django-sphinx have all but stalled (even easy ones with ready pull requests, I think), so that project is pretty much stagnant from what I can tell.
It'd be great to see Haystack take this over, but as I mention over there, I'm not the guy for the coding either...
from django-haystack.
+1 from my side for sphinx support. I've been using django-sphinx so far, but as it's basically dead, there's no point in improving it atm.
Would be great if someone could find time to do this.
from django-haystack.
You might all have a gander at the project mentioned in #485.
from django-haystack.
Related Issues (20)
- Some tests are skipped due to duplicate names
- Some tests are skipped due to duplicate names
- When will haystack release for django 4.0+ version? HOT 14
- RemovedInDjango41Warning due to default_app_config.
- Forcing indexing to use different connection than Default - mutiple languages
- crash after updating to 3.2 (date_facet_fields is returning: TypeError: 'NoneType' object is not iterable) HOT 2
- Issue when filtering by a boolean field in elasticsearch7 HOT 5
- Loss of result information in Solr range facet query
- Cannot index proxy model HOT 1
- Relation to Deepset AI Haystack
- Create new release with Django v4 and v5 support HOT 9
- AWS open search compatibility (should be quick to fix) HOT 1
- Django Haystack indexing is not working for many to many field in model
- Storing indexes in the database
- AttributeError: 'list' object has no attribute 'split' using count() method for a SearchQuerySet
- django.utils.datetime_safe module is removed in Django v5.0 HOT 8
- icontains doesn't return the correct amount. HOT 2
- Need Help: GitHub Actions tests are failing
- Django 5 deprecated datetime_safe --> Drop support for whoosh? HOT 2
- How to authenticate to Elastic cloud using API key?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-haystack.