Optimizing Solr (Or How To 7x Your Search Speed)
1–10 of 33 posts
Re: Optimizing Solr (Or How To 7x Your Search Speed)
#2Re: Optimizing Solr (Or How To 7x Your Search Speed)
#3I'd love to have them try out Searchify's hosted search and see how fast it is. The key to fast search is RAM, which is why we run our search indexes from RAM (not cheap), and most queries are served within 100ms. If you're the author of the blog post, please contact me, chris at searchify, if you'd like to do this comparison, and I'll set you up with a test acct.
Re: Optimizing Solr (Or How To 7x Your Search Speed)
#4Tuning Solr in Near Real Time Search environments: https://vimeo.com/17402451
Re: Optimizing Solr (Or How To 7x Your Search Speed)
#5Maybe everyone already should already know this, but I was working on a very smart team, and we totally missed this initially. Setting "stored" to false for most fields resulted in a 90% reduction of the index size, which means less to fit into RAM.
Re: Optimizing Solr (Or How To 7x Your Search Speed)
#6I'd love to have them try out Searchify's hosted search and see how fast it is. The key to fast search is RAM, which is why we run our search indexes from RAM (not cheap), and most queries are served within 100ms. If you're the author of the blog post, please contact me, chris at searchify, if you'd like to do this comparison, and I'll set you up with a test acct.
Re: Optimizing Solr (Or How To 7x Your Search Speed)
#7My experience working with Solr is that a lot of the time people don't have a good working knowledge of how to optimize an index because it's so easy not to. At my last job, the initial implementation they we involved storing the full text of millions of documents, even though they never needed to be retrieved (just searched). If you're running Solr as a front-end search for another database, the best way I've seen t…
Re: Optimizing Solr (Or How To 7x Your Search Speed)
#8I'd love to have them try out Searchify's hosted search and see how fast it is. The key to fast search is RAM, which is why we run our search indexes from RAM (not cheap), and most queries are served within 100ms. If you're the author of the blog post, please contact me, chris at searchify, if you'd like to do this comparison, and I'll set you up with a test acct.
Hi Chris, what is Searchify's relationship with the old IndexTank ( http://indextank.com ) team?
Re: Optimizing Solr (Or How To 7x Your Search Speed)
#9Websolr's indexes return in under 50ms for queries of average complexity.
The more expensive queries usually involve "faceting" or sorting a large number of results. For an example, say you search Github for "while." Github used to do language facets, where it would tell you that out of a million results, 200103 files were in javascript, 500358 files were in C, etc.
The problem with this is that you have to count over a million records, on every search! Unlike most search operations which are IO bound, the counting can be CPU-bound, so sharding on one box will let you take advantage of multiple cores.
Racoonone is "sorting on two dimensions, a geo bounding box, four numeric range filters, one datetime range filter, and a categorical range filter." This should put him in a cpu-bound range (in particular because of the sort).
Websolr has customers on sharded plans, but they are usually used in custom sales cases where we're serving many, many millions of documents. We'll look at adding sharding as an option to our default plans, so that they'll be more accessible for people like raccoonone. In the meantime, if you send an email to info@onemorecloud.com, we'll try to accomodate use cases like this.
Edit: Also, other possible optimizations include (1) indexing in the same order you will sort on, if you know ahead of time, and (2) using the TimeLimitedCollector.
Re: Optimizing Solr (Or How To 7x Your Search Speed)
#10The end result works very well, though it's a real memory hog when you get into the "hundreds" of shards on an individual server.