More Solr MultiCore
April 15th, 2008The MultipleIndexes wiki page may, or may not, contribute to the previous post…
“There are various strategies to take when you want to manage multiple “indexes” in a Single Servlet Container”
The MultipleIndexes wiki page may, or may not, contribute to the previous post…
“There are various strategies to take when you want to manage multiple “indexes” in a Single Servlet Container”
After previous experiences with lucene.net, which weren’t all bad, I’m enjoying experimenting with Solr.
“Solr is an open source enterprise search server based on the Lucene Java search library, with XML/HTTP and JSON APIs, hit highlighting, faceted search, caching, replication, and a web administration interface.”
It was very simple to get an instance running locally with jetty and I had a test python client connected and searching using simplejson within minutes.
Here’s my question. I’m curious how applications are using MultiCore on Solr and what limits they’ve been able to take it to.
Let’s say you’re building an application like SalesForce where you have a lot of clients who technically have no need to search across each other. As well, each client may have multiple indices, let’s say 3 for the sake of having a number. Do you?
Assuming Solr and MultiCore can handle #1 then it seems the clear winner to me. Anyone??
Your very very last reminder about tonight’s DemoCampGuelph5. It’ll be a fun night as always, say hi if you make it out.
I’m planning on attending next week’s MontrealPython2 event. If you have any other suggestions on what I should get myself into while in Montreal, please let me know.
We’re closing in on next week’s DempCampGuelph5. We already have a healthy list of people wanting to demo and I’m excited about how many new people we have interested in demo’ing. I love watching our core attendees step up and demo but I love new blood.
I still get questions about this event that I’d like to clarify. This event is completely and utterly OPEN! We want you to attend. All you have to do is show up, enjoy some free food and pints courtesy our sponsor communitech.
So stick your name on the list and come join us next Wednesday!
You do NOT have to demo. You do NOT have to speak at all. You can skulk in the corner if that’s your deal. When you are ready, however, we’d love to hear what you have to say or see what you can demo. These events are first and foremost about community. It’s a chance to come out for a pint, meet other people in our community working on similar projects, and actually see what some are working on. That’s it. Everything else is gravy.
I hate to admit it but I do like these pic’s
Man am I’m glad I’m dumb. Seriously, I really need to ask more stupid questions here if these are the returns I’m going to reap.
Check out the comments there. The links eventually lead me to explanations involving ascii art. Seriously, when’s the last time you read a tech article with ascii art? I’m equal parts envious and concerned about the guy who wrote that. In either case his art was very helpful.
Thanks to everyone who took the time to read my dumb question and point me in the right direction.
I’m sure this is explained quite clearly somewhere like here or here. Hopefully someday I’ll be pythonic enough to understand. In the meantime, this is confusing to me and a bit scary. I’m hoping someone can explain to me why I’d want this behaviour.
Let’s take a really simple class with one method. All that method does is creates a variable local to that method and then print it out. One catch, first I call a second method, passing in that variable, and change it within the scope of that second method. As expected, that has no impact on the variable in the calling method and the result when you run it is “local…”
class klass(object):
def settime(self, s):
s=’remote’
def dosomething(self):
astring=’local’
self.settime(astring)
print “%s…” % astring
if __name__ == “__main__”:
c = klass()
c.dosomething()
Modify the above, adding a class within that same method call, again attempting to modify it in the second method call. Again, do nothing more than print both variables out. My instincts do NOT have me expecting the results I get, which are “local remote…”
class me(object):
def __init__(self, n):
self.name=n
class klass(object):
def settime(self, t, s):
t.name=’remote’
s=’remote’
def dosomething(self):
astring=’local’
aclass=me(’local’)
self.settime(aclass, astring)
print “%s %s…” % (astring, aclass.name)
if __name__ == “__main__”:
c = klass()
c.dosomething()
No, these aren’t my typical naming conventions.
We’re on tonight for our fourth DemoCamp in Guelph. Come out and join us and enjoy some free food and drinks courtesy of Communitech.