tjake / Solandra

Solandra = Solr + Cassandra
Apache License 2.0
882 stars 150 forks source link

Update to work with Cassandra 1.0 #154

Open jasonmk opened 12 years ago

jasonmk commented 12 years ago

Specifically Cassandra 1.0.5

lelit commented 12 years ago

I tried both implementation of support for 1.0, this one and the one by "grimesp", and was not able to get the reuter demo working with either, when instead it works out-of-the-box with tjake's current head: the data load seems going ok, but the website remains completely empty... Issue #147 seems reporting similar effects. What could I miss?

jkusar's one needed some manual tweak to the cassandra.yaml, while grimesp's seems already took care about that.

I'm planning to move my indexing solution to solr, and I'd like to jump on cassandra 1.0 at the same time (I'm currently using a suboptimal whoosh based solution with cassandra 0.8.x), to avoid two distinct data migrations.... so I'm looking forward to see this merged in!

Thanks in advance.

jasonmk commented 12 years ago

Actually, I've just discovered that Cassandra 1.0+ totally breaks sorting in Solandra. (Note that this is a different problem than the previous sort issue that has been discussed and worked around.) Not exactly sure what's going on yet, but it appears that no matter what sort order you give it, it comes back in order indexed (or reverse order if you tell it desc).

I'm going back to Cassandra 0.8.9 for now as I don't have time to investigate, but hopefully I'll have some time to look into it in the near future.

pnegri commented 12 years ago

Guys lets fix this. Cassandra 0.8.9 isnt stable as 1.0 :/

tjake commented 12 years ago

Yeah 1.0 won't work with Solandra, it will with 1.1 so once thats out I'll upgrade

jasonmk commented 12 years ago

Any chance of getting a preview against the beta (as if you didn't have anything else to do)? I'd love to see if this will fix some of the other issues I've been having. There seems to still be continuing sort issues even with 0.8.9.

benmccann commented 12 years ago

It would be cool to have a git branch with support for 1.1.0-beta2 (which is now available in the Maven central repo: http://search.maven.org/#browse%7C-1601434515)

benmccann commented 12 years ago

Here's the code needed to compile with 1.1.0-beta2: https://github.com/tjake/Solandra/pull/169

jasonwee commented 11 years ago

it works for cassandra 1.0.8 too, verified that with reuters and wikissandra demo loaded.