Re: To cache or to not cache

2010-11-11 Thread Em
large monster, since we only want him for http-caching. Do you know any benchmarks about responses per second, if most of the queried data is in the cache? Regards -- View this message in context: http://lucene.472066.n3.nabble.com/To-cache-or-to-not-cache-tp1875289p1881714.html Sent from the Solr

Re: To cache or to not cache

2010-11-10 Thread Jonathan Rochkind
PS: There's also, I think, a way to turn on HTTP-level caching for Solr, which I believe is caching of entire responses that match an exact Solr query, filled without actually touching Solr at all. But I'm not sure about this, because I'm always trying to make sure this HTTP-level cache is turn

Re: To cache or to not cache

2010-11-10 Thread Jonathan Rochkind
You know, on further reflection, I'd suggest you think (and ideally measure) hard about whether you even need this application-level solr-data-cache. Solr is a caching machine, it's kind of what Solr does, one of the main focuses of Solr. A query to Solr that hits the right caches comes back

Re: To cache or to not cache

2010-11-10 Thread Em
the whole application. Since this is only a conceptual question, I really do not have got any benchmark - data. But if I have some, I will ask if it was possible to publish them. Regards -- View this message in context: http://lucene.472066.n3.nabble.com/To-cache-or-to-not-cache-tp1875289p1877245

Re: To cache or to not cache

2010-11-10 Thread Jonathan Rochkind
Em wrote: My first query is "red firefox" - all caches were turned on. If I am searching now for "red star", does this query makes any usage from the cache, since both share the term "red"? I don't believe it does, no. I understand your question -- if your caching things externally anyway,

Re: To cache or to not cache

2010-11-10 Thread Shalin Shekhar Mangar
On Wed, Nov 10, 2010 at 7:51 AM, Em wrote: > > Thank you Shalin. > Yes, both - Solr and some other applications could possible run on the same > box. > I hoped that not storing redundantly in Solr and somewhere else in the RAM > would not touch Solr's performance very much. > > Just to understand

Re: To cache or to not cache

2010-11-10 Thread Em
ry is "red firefox" - all caches were turned on. If I am searching now for "red star", does this query makes any usage from the cache, since both share the term "red"? Kind regards -- View this message in context: http://lucene.472066.n3.nabble.com/To-cache-or-to-not-ca

Re: To cache or to not cache

2010-11-10 Thread Shalin Shekhar Mangar
On Wed, Nov 10, 2010 at 2:57 AM, Em wrote: > > Hi List, > > in one of our application's use-case scenarios we create a response from > different data sources. > In clear words: We combine different responses from different data sources > (SQL, another Webservice and Solr) to one response. > > We

To cache or to not cache

2010-11-10 Thread Em
using the filterCache makes sense, but what about documentCache and the others? Since I retrive in 95-98% of all cases the same field from our stored documents, how can I boost retriving that information? Thank you! -- View this message in context: http://lucene.472066.n3.nabble.com/To-cache-or-to