I've implemented a simple Lucene site search into a website. It seems to work reasonably well except it's returning search results for pages which have been unpublished. I think there are a couple of other issues too, but this is the most clear one and a solution to this might solve the other ones; they might all be cache related.
I wondered how the cache for Lucene is generated (more exactly, WHEN it is generated)? I was under the impression that the cache was regenerated on the node publish and unpublish events, but this seems not to be the case.
I'm actually using the uComponents quicksearch XSLT method to return/format results, so perhaps that has something to do with it?
Lucene site search cache issues
Hi,
I've implemented a simple Lucene site search into a website. It seems to work reasonably well except it's returning search results for pages which have been unpublished. I think there are a couple of other issues too, but this is the most clear one and a solution to this might solve the other ones; they might all be cache related.
I wondered how the cache for Lucene is generated (more exactly, WHEN it is generated)? I was under the impression that the cache was regenerated on the node publish and unpublish events, but this seems not to be the case.
I'm actually using the uComponents quicksearch XSLT method to return/format results, so perhaps that has something to do with it?
Umbraco 4.7.1. uComponents 2.2.
Any pointers greatfully received, thanks!
By 'Lucene' I'm referring specifically to Umbraco Examine by the way. Can't edit the original post or title.
is working on a reply...