Umbraco 4.8 support

Aug 2, 2012 at 2:56 AM
Umbraco 4.8 has switched from Lucene.Net v2.9.2.2 to v2.9.4.1. Full Text Search does not work with the new version. Any plans to support it anytime soon?
Aug 2, 2012 at 4:07 PM

How to patch the source code

1)  In the "Other DLLs" folder, replace Lucene.Net.dll and Hilighter.Net.dll with the new versions. 
- Hilighter.net is here http://www.apache.org/dist/incubator/lucene.net/binaries/2.9.4-incubating/
- The file you are looking for is /bin/Contrib/Lucene.Net.Contrib.Highlighter.dll

2) In the "Umbraco DLLs" folder, replace everything with versions from Umbraco 4.8.

3) Edit Line 48 in hilight.cs.  New value should be:

this.searcher = (searchProvider as LuceneSearcher).GetSearcher() as IndexSearcher;

4) Edit lines 32 and 33 in fullcontentindexer.cs.  New values should be:

public FullTextContentIndexer(IIndexCriteria indexerData, DirectoryInfo indexPath, IDataService dataService, Analyzer analyzer, bool async)
: base(indexerData, indexPath, dataService, analyzer, async) { }

5) Add 2 new using statements to fullcontentindexer.cs

using Lucene.Net.Analysis;
using UmbracoExamine.DataServices;

6)  In the "Other DLLs" folder, replace HtmlAgilityPack.dll with the version from Umbraco 4.8


 

Coordinator
Jul 2, 2013 at 4:28 PM
Hi molund

We've released three new versions of the package - compatible with the various Umbraco versions, including 4.8. Please grab the the correct version from the downloads page.

Best regards,
Rigardt
Governor Technology.