Think umbSearch uses older version of lucene where as latest version of umbraco uses lucene 2.9 hence you get errors. You have 2 options either pull down umbSearch source and reference latest lucene dlls and update the code. Or better suggestions though more work make use of Umbraco examine instead.
Lucene Error when publishing a page (Method not found: Lucene.Net.Documents.Document.Add)
Hi there,
I just updated my umbraco site from 4.0 to the latest 4.5.2
Everyting went well, except for the implementation of the search functionality.
I am using umbsearch2 to search through pages. Umbsearch2 uses Lucene.Net.dll
The problem is when I'm now publishing a page in the umbraco cms I get the following error:
Method not found: 'Void Lucene.Net.Documents.Document.Add(Lucene.Net.Documents.Field)'..
I tried updating with the latest Lucene dls but the error keeps appearing.
Does anybody here know how to solve this problem?
Thanks in advanced,
Remko
Having the same issue. Would really appreciate a fix, or info why this appears.
Think umbSearch uses older version of lucene where as latest version of umbraco uses lucene 2.9 hence you get errors. You have 2 options either pull down umbSearch source and reference latest lucene dlls and update the code. Or better suggestions though more work make use of Umbraco examine instead.
Regards
Ismail
Ismail,
Is it possible to index/search pdf documents using examine. If yes, can you please point to the some examples/setup links?
Thanks in advance
Angad
Thank you, Ismail. I had the same issue, refference replacing helped to fix it
Dear Maksim, I'm having the same problem can you provide me with the steps you did since I'm totally new to Umbraco ,thanks in advance
Sarah, sorry for so late reply, below are the steps:
1) Download the source code of umbSearch2
2) Open solution in Visual Studio and open folder "References" in "Solution Explorer"
3) Remove references to old Lucene
4) Copy new Lucene dlls from "/bin" folder of umbraco to "/lib" folder of umbSearch2 solution folder.
5) Open "Solution Explorer" again and add references to copied Lucene dlls.
6) Rebuild solution and copy new UmbSearch2.dll file to bin folder of umbraco.
is working on a reply...