In the end the problem was actually in my code.. sorry for the noise.
The documents were deleted from my database but not from the Solr
index and I have a display filter that filters out search results that
correspond to documents that don't exist any more in the database,
but this filter doesn't u
I tried to set the expungeDeletes flag but it didn't fix the problem.
The SolrServer doesn't expose a way to set this flag so I had to use:
new UpdateRequest().setAction(UpdateRequest.ACTION.COMMIT, true, true,
1, true).process(solrServer);
Any other hints?
Note that I managed to run my test in
On Mon, Feb 17, 2014 at 2:00 PM, Ahmet Arslan wrote:
> Hi,
>
> Also I noticed that in your code snippet you have server.delete("foo"); which
> does not exists. deleteById and deleteByQuery methods are defined in
> SolrServer implementation.
Yes, sorry, I have a wrapper over the SolrInstance th
Hi,
Also I noticed that in your code snippet you have server.delete("foo"); which
does not exists. deleteById and deleteByQuery methods are defined in SolrServer
implementation.
On Monday, February 17, 2014 1:42 PM, Ahmet Arslan wrote:
Hi Marius,
Facets are computed from indexed terms. Can
Hi Marius,
Facets are computed from indexed terms. Can you commit with expungeDeletes=true
flag?
Ahmet
On Monday, February 17, 2014 12:17 PM, Marius Dumitru Florea
wrote:
Hi guys,
I'm using Solr 4.6.1 (embedded) and for some reason the facet cache is
not invalidated when documents are dele
Hi guys,
I'm using Solr 4.6.1 (embedded) and for some reason the facet cache is
not invalidated when documents are deleted from the index. Sadly, for
me, I cannot reproduce this issue with an integration test like this:
--8<--
SolrInstance server = getSolrInstance();
SolrInputDoc