Re: Explicit commit with openSearcher=false

2015-11-12 Thread Mark Miller
You can pass arbitrary params with Solrj. The API usage is just a little more arcane. - Mark On Wed, Nov 11, 2015 at 11:33 PM Sathyakumar Seshachalam < sathyakumar_seshacha...@trimble.com> wrote: > I intend to use SolrJ. I only saw the below overloaded commit method in > documentation

Re: Explicit commit with openSearcher=false

2015-11-11 Thread Sathyakumar Seshachalam
And I am using version 4.10.3 On 11/11/15, 4:04 PM, "Sathyakumar Seshachalam" wrote: >Hi, > >I have a Search system based on Solr that relies on autoCommit >configuration (with openSearcher=false). I now have a use-case that >requires me to disable

Re: Explicit commit with openSearcher=false

2015-11-11 Thread Mikhail Khludnev
Does waitSearcher=false works like you need? On Wed, Nov 11, 2015 at 1:34 PM, Sathyakumar Seshachalam < sathyakumar_seshacha...@trimble.com> wrote: > Hi, > > I have a Search system based on Solr that relies on autoCommit > configuration (with openSearcher=false). I now have a use-case that >

Re: Explicit commit with openSearcher=false

2015-11-11 Thread Upayavira
Erick, I saw mention of openSearcher for SolrJ, so I looked in the source of the UpdateRequestHandler, and there is no mention of openSearcher in there that I can see, for XML, JSON or SolrJ requests. So my take is that this isn't possible right now :-( Upayavira On Wed, Nov 11, 2015, at 02:53

Re: Explicit commit with openSearcher=false

2015-11-11 Thread Erick Erickson
How are you intending to issue your commit? SolrJ has all the variants (openSercher, soft/hard commit, etc) for the commit calls. Best, Erick On Wed, Nov 11, 2015 at 2:35 AM, Sathyakumar Seshachalam wrote: > And I am using version 4.10.3 > > On 11/11/15,

Re: Explicit commit with openSearcher=false

2015-11-11 Thread Sathyakumar Seshachalam
I intend to use SolrJ. I only saw the below overloaded commit method in documentation (http://lucene.apache.org/solr/4_10_3/solr-solrj/index.html) of class ³org.apache.solr.client.solrj.SolrServer" public UpdateResponse commit(boolean waitFlush, boolean waitSearcher, boolean softCommit). And I

Re: Explicit commit with openSearcher=false

2015-11-11 Thread Mark Miller
openSearcher is a valid param for a commit whatever the api you are using to issue it. - Mark On Wed, Nov 11, 2015 at 12:32 PM Mikhail Khludnev < mkhlud...@griddynamics.com> wrote: > Does waitSearcher=false works like you need? > > On Wed, Nov 11, 2015 at 1:34 PM, Sathyakumar Seshachalam < >

Re: Explicit commit with openSearcher=false

2015-11-11 Thread Chris Hostetter
: I saw mention of openSearcher for SolrJ, so I looked in the source of : the UpdateRequestHandler, and there is no mention of openSearcher in : there that I can see, for XML, JSON or SolrJ requests. : : So my take is that this isn't possible right now :-( It's handled by the Loaders - all of

Re: Explicit commit with openSearcher=false

2015-11-11 Thread Upayavira
On Wed, Nov 11, 2015, at 06:28 PM, Chris Hostetter wrote: > > : I saw mention of openSearcher for SolrJ, so I looked in the source of > : the UpdateRequestHandler, and there is no mention of openSearcher in > : there that I can see, for XML, JSON or SolrJ requests. > : > : So my take is that