Re: SolrJ commit with openSearcher=false

2015-03-31 Thread Erick Erickson
Hmmm, you really shouldn't have to do this. What have you tried to figure out why the strange node isn't getting cleaned up? Is there anything in the Solr logs that might help? Is it a Windows machine? Some of the delete semantics for Windows can leave things around. What happens if you restart th

Re: SolrJ commit with openSearcher=false

2015-03-31 Thread Shawn Heisey
On 3/31/2015 2:56 AM, vidit.asthana wrote: > Thanks for reply Shawn. I will try it out. > > The reason that I am forced to do a hard commit through code is to handle a > problem I am facing with transaction logs. > > I am forced to delete tlogs manually at regular interval and hence I want to > iss

Re: SolrJ commit with openSearcher=false

2015-03-31 Thread vidit.asthana
. -- View this message in context: http://lucene.472066.n3.nabble.com/SolrJ-commit-with-openSearcher-false-tp4196499p4196527.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: SolrJ commit with openSearcher=false

2015-03-30 Thread Shawn Heisey
On 3/31/2015 12:25 AM, vidit.asthana wrote: > How can I issue a hard commit through SolrJ such that openSearcher=false? > > Also how can I issue same request through http? Will this work - > > curl > "http://localhost:8983/solr/collection1/update?commit=true&openSearcher=false"; This SolrJ code

SolrJ commit with openSearcher=false

2015-03-30 Thread vidit.asthana
cene.472066.n3.nabble.com/SolrJ-commit-with-openSearcher-false-tp4196499.html Sent from the Solr - User mailing list archive at Nabble.com.