This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.
When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:
Hi Joe,
I would like to report a bug as below.
When any page unpulished, published and then unpublished, lucene does not remove indexed documents properly. For example page has 10 documents, it deletes first 5 and last 5 are remained undeleted. Reason and correction mentioned below.
Project\CMS.Business.WebHelpers\Search\IndexHelper.cs
In below function
private static bool ClearPageIndex(PageSettings pageSettings){
Instead of
for (int i = 0; i < reader.NumDocs(); i++){
}
should be
int tot = reader.NumDocs();
for (int i = 0; i < tot; i++)
{
Hi,
Ok, thanks! I will make the change that you recommended.
Best,
Joe