Coder Social home page Coder Social logo

Comments (9)

toastdriven avatar toastdriven commented on May 9, 2024

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.

ryszard avatar ryszard commented on May 9, 2024

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.

dcramer avatar dcramer commented on May 9, 2024

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.

toastdriven avatar toastdriven commented on May 9, 2024

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.

dpwiz avatar dpwiz commented on May 9, 2024

Any progress on this?

from django-haystack.

toastdriven avatar toastdriven commented on May 9, 2024

No, I've had no time since the last update to look at it.

from django-haystack.

mlissner avatar mlissner commented on May 9, 2024

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.

dbrgn avatar dbrgn commented on May 9, 2024

+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.

toastdriven avatar toastdriven commented on May 9, 2024

You might all have a gander at the project mentioned in #485.

from django-haystack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.