Re: deleteByQuery issue

2010-10-12 Thread Claudio Atzori
Hi Eick, thanks for replying. Yes I do commit after deleting-by-query, but since the IndexReader is an internal (at lest for my app point of view), is there a way to reopen it (or a new one) when I do a commit? Claudio On 10/11/2010 10:08 PM, Erick Erickson wrote: I'd guess that after you d

Re: deleteByQuery issue

2010-10-11 Thread Erick Erickson
I'd guess that after you delete your documents and commit, you're still using an IndexReader that you haven't reopened when you search. WARNING: I'm not all that familiar with EmbeddedSolrServer, so this may be way off base. HTH Erick On Mon, Oct 11, 2010 at 12:04 PM, Claudio Atzori wrote:

Re: deleteByQuery issue

2010-10-11 Thread Claudio Atzori
On 10/11/2010 04:06 PM, Ahmet Arslan wrote: --- On Mon, 10/11/10, Claudio Atzori wrote: From: Claudio Atzori Subject: deleteByQuery issue To: solr-user@lucene.apache.org Date: Monday, October 11, 2010, 10:38 AM Hi everybody, in my application I use an instance of EmbeddedSolrServer (solr 1

Re: deleteByQuery issue

2010-10-11 Thread Ahmet Arslan
--- On Mon, 10/11/10, Claudio Atzori wrote: > From: Claudio Atzori > Subject: deleteByQuery issue > To: solr-user@lucene.apache.org > Date: Monday, October 11, 2010, 10:38 AM > Hi everybody, > in my application I use an instance of EmbeddedSolrServer > (solr 1.4.1), the following snippet show