Re: commitWithin + SolrJ

2011-09-03 Thread Jan Høydahl
Many customers have asked me how to do this, so it's not easy enough. Therefore I opened SOLR-2742 to add even more convenience :) -- Jan Høydahl, search solution architect Cominvent AS - www.cominvent.com Solr Training - www.solrtraining.com On 25. aug. 2011, at 01:38, Chris Hostetter wrote:

commitWithin + SolrJ

2011-08-24 Thread Daniel Skiles
What is the cleanest way to use the commitWithin directive with SolrJ? AbstractUpdateRequest has a setCommitWithin() method, but I don't see how to hook that into SolrServer.add(SolrInputDocument doc). Do I need to use SolrServer.request(), or do I need to use some other method? Thanks.

Re: commitWithin + SolrJ

2011-08-24 Thread Daniel Skiles
I ended up doing this with request.process(server) on an UpdateRequest class. On Wed, Aug 24, 2011 at 2:07 PM, Daniel Skiles daniel.ski...@docfinity.comwrote: What is the cleanest way to use the commitWithin directive with SolrJ? AbstractUpdateRequest has a setCommitWithin() method, but I

Re: commitWithin + SolrJ

2011-08-24 Thread Chris Hostetter
: I ended up doing this with request.process(server) on an UpdateRequest : class. right ... if you peek under the covers of SolrServer most of it's methods are are just convinience methods for constructing a Request, setting some attributes/streams on it, and then processing it via that