Microsoft (R) Visual C# Compiler version 4.0.30319.17929
for Microsoft (R) .NET Framework 4.5
Copyright (C) Microsoft Corporation. All rights reserved.
c:\HostingSpaces\bcecuk\forlove.org.uk\wwwroot\App_Code\LuceneHighlightHelper.cs(9,18): error CS0234: The type or namespace name 'Highlight' does not exist in the namespace 'Lucene.Net' (are you missing an assembly reference?)
c:\HostingSpaces\bcecuk\forlove.org.uk\wwwroot\App_Code\LuceneHighlightHelper.cs(24,12): error CS0246: The type or namespace name 'Formatter' could not be found (are you missing a using directive or an assembly reference?)
My feeling is that you're missing a DLL, perhaps Lucene.Net.Highlight.dll? This isn't included in the standard Umbraco install, I wonder if it was added via a package in your old install and got deleted somehow during the upgrade? Do you have your old install around where you can check for this DLL?
It was a new installed 6.02 up running fine with MVC starter kit so there shouldn't be any Lucene.Net.Highlight.dll needed in the first place. Then I took the 6.03 zip, copied the above folders and config files ending up crash. Have you ever tried the upgrade successful?
Upgrade error 6.0.2 -> 6.0.3
Followed Upgrade in general document and had the error below:
copied and replaced folders:
Hi,
Can you post the full stack trace? I'm curious what file that's coming from, or is it from a non-Umbraco class (ie one you wrote for the website)?
Hi Tom,
My feeling is that you're missing a DLL, perhaps Lucene.Net.Highlight.dll? This isn't included in the standard Umbraco install, I wonder if it was added via a package in your old install and got deleted somehow during the upgrade? Do you have your old install around where you can check for this DLL?
It was a new installed 6.02 up running fine with MVC starter kit so there shouldn't be any Lucene.Net.Highlight.dll needed in the first place. Then I took the 6.03 zip, copied the above folders and config files ending up crash. Have you ever tried the upgrade successful?
Hi Tom,
Found the fix!! You are right Umbraco upgrade are looking for Lucene Highlight cs files which seems not exist in the 6.03 zip.
files to copy to App_Code folder make the fix:
DefaultEncoder.cs, Encoder.cs, Formatter.cs, Fragmenter.cs, Highlighter.cs, QueryScorer.cs,
QueryTermExtractor.cs, Scorer.cs, SimpleFragmenter.cs, SimpleHTMLFormatter.cs, TextFragment.cs,
TextFragment.cs, TokenGroup.cs, WeightedTerm.cs
which can be downloaded from the URL: https://svn.apache.org/repos/asf/lucene/lucene.net/trunk/C%23/contrib/Highlighter.Net/
StackOverflow once talked about it: http://stackoverflow.com/questions/4957666/where-has-lucene-net-highlight-gone
Great, glad to hear all is working!
is working on a reply...