Hi everybody,
in my application I use an instance of EmbeddedSolrServer (solr 1.4.1),
the following snippet shows how I am instantiating it:
File home = new File(indexDataPath(solrDataDir, indexName));
container = new CoreContainer(indexDataPath(solrDataDir,
indexName));
container.load(indexDataPath(solrDataDir, indexName), new
File(home, "solr.xml"));
return new EmbeddedSolrServer(container, indexName);
and I'm going through some issues using deleteByQuery method, in fact,
when I try to delete a subset of documents, or even all the documents
from the index, I see as they are correctly marked for deletion on the
luke inspector (http://code.google.com/p/luke/), but after a commit I
can still retrieve them, just like they haven't been removed...
I can see the difference and see the documents disappear only when I
restart my jetty application, but obviously this cannot be a feature...
any idea?