firstSearcher cache warming with own QuerySenderListener

2015-09-25 Thread Christian Reuschling
Hey all, we want to avoid cold start performance issues when the caches are cleared after a server restart. For this, we have written a SearchComponent that saves least recently used queries. These are written to a file inside a closeHook of a SolrCoreAware at server shutdown. The plan is to p

Re: firstSearcher cache warming with own QuerySenderListener

2015-09-28 Thread Christian Reuschling
t are still slow when issued the first time > after startup and add what you suspect are the relevant bits to the > firstSearcher query (or queries). > > I suggest that this is a much easier thing to do, and focus efforts on why > you are shutting down your Solr servers often en

result grouping on all documents

2015-10-20 Thread Christian Reuschling
Hi, we try to get the number of documents for given time slots in the index efficiently. For this, we query the solr index like this: http://localhost:8014/solr/myCore/query?q=*:*&rows=1&fl=id&group=true&group.query=modified:[201103010%20TO%20201302010]&group.query=modified:[20

Generating json response in custom requestHandler (xml is working)

2015-04-02 Thread Christian Reuschling
Hi, I managed it to create a small custom requestHandler, and filled the response parameter with some static values in the structure I want to have later. I can invoke the requestHander from the browser and get nicely xml with the data and structure I had specified - so far so good. Here is th