Hi Albert The README in the edge branch has a good list of all the changes - if you've read through that and things aren't clear, then please do let me know. And no, I don't plan for TS v3 to be exactly the same as TS v2, API-wise. Most of the core elements are much the same, though.
https://github.com/pat/thinking-sphinx/blob/edge/README.textile I'm certainly aware that the documentation could be greatly improved though. Once there's a proper 3.0 release out, then I'll get the docs around it fixed up. Cheers -- Pat On 01/12/2012, at 6:58 AM, Albert Ramstedt wrote: > Great news Pat! > > We have been using TS since our launch last year, and it works very well. > Recently we ran into issues adding indexes on STI classes and still havent > solved it. I found the edge branch today and it looked promising! > > So I set out looking to see just how hard it would be to convert our search > code into edge. We use pretty standard indexing (except for the STI and > classloading part) but we have a lot of customizations on the search side. > Mainly because of some funky use of faceting. > > I would really appreciate some more documentation on how to use edge TS > properly. > > Is there any info or beginnings of documentation on some wiki perhaps? Is the > aim to be api compatible with TS v2? > > Albert > > Den måndagen den 5:e november 2012 kl. 14:45:30 UTC+1 skrev Pat Allan: > Hi everyone > About 30 minutes ago, I published version 3.0.0.pre of Thinking Sphinx. It's > a complete rewrite, and it's Rails 3.1+ and Ruby 1.9+ only (though I think > it'll work happily on Ruby 1.8 - I'm not going to worry too much about that > in the future though). It uses the SphinxQL protocol under the hood (which > according to the Sphinx team is a touch faster than the old SphinxAPI binary > protocol), and opens the door for real-time indices support in the near > future. > > There's some pretty hefty changes - they're all covered in the README, which > is worth a read if you're going to give it a shot (and I hope you will): > https://github.com/pat/thinking-sphinx/blob/edge/README.textile > > (If you don't click through, the big one is indices are now defined in their > own files, instead of within models.) > > The code for this release lives in the edge branch, if you're curious in how > it all works - but generally, I've had a focus of making the library more > flexible, plus with a smaller footprint (gone are the days when all models > needed to be loaded just to find out what Sphinx is indexing). I'm really > happy with this code - I test-drove the design a fair bit, and it attempts to > be a much better OO citizen. > > For those using the ts-delayed-delta gem, you can find a compatible version > in the edge branch of that library. The same goes for flying-sphinx and its > ts3 branch. At some point they'll become proper gem releases too, though the > focus is much more on getting the last handful of features into > thinking-sphinx and a release candidate or two out the door. Any other > library that builds on top of the existing Thinking Sphinx versions will > almost certainly not work with v3, so keep that in mind. Patches, as always, > are very welcome! > > Also welcome is feedback - on the changes, on whether things work for you, > and what could be improved further. > > Thanks! > > -- > Pat > e: [email protected] || m: +614 1327 3337 > w: http://freelancing-gods.com || t: twitter.com/pat > bounce: http://trampolineday.com || skype: patallan > > > > > > > > > > > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/thinking-sphinx/-/6rrt3112cLwJ. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/thinking-sphinx?hl=en. -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
