Examine Issues | exists in both 'Lucene.Net, Version=2.9.4.1 and 3.0.3.0
Hi Guys,
I am just doing some examine searching in one of my projects for Umbraco Version 7.14.0 assembly: 1.0.7009.26199
There seems to be some odd things happening when using code that has worked in the past with slightly older version of Umbraco 7.
which I actually got from the searching and indexing Umbraco course.
It all boils down to Visual Studios complaining that certain objects exists in 'Lucene.Net, Version=2.9.4.1 and 3.0.3.0.
Does anyone know why two versions of Lucene and used in Umbraco and if there is any way to fix this.
So for example lines of code like this are presenting errors...
var i = new MultiIndexSearcher(directories, new StandardAnalyzer(Lucene.Net.Util.Version.LUCENE_29));
var field = new Field("__Sort_" + dateField,
reviewDate.ToString("yyyyMMddHHmmss", CultureInfo.InvariantCulture),
Field.Store.YES, Field.Index.NOT_ANALYZED);
Apparantly...
StandardAnalyzer exists in both versions of Lucene and
You should only have 2.9.4.1 if you are running v7. 3.0.3 is in v8
Double check your bin file do you have 3.0.3 knocking around? If so then try and find it in vs project references and if using nuget have a look in package config. It may also have been installed via nuget when you installed something else.
Examine Issues | exists in both 'Lucene.Net, Version=2.9.4.1 and 3.0.3.0
Hi Guys,
I am just doing some examine searching in one of my projects for Umbraco Version 7.14.0 assembly: 1.0.7009.26199
There seems to be some odd things happening when using code that has worked in the past with slightly older version of Umbraco 7.
It all boils down to Visual Studios complaining that certain objects exists in 'Lucene.Net, Version=2.9.4.1 and 3.0.3.0.
Does anyone know why two versions of Lucene and used in Umbraco and if there is any way to fix this.
So for example lines of code like this are presenting errors...
Apparantly...
StandardAnalyzer
exists in both versions of Lucene andField
exists in both versions of LuceneAny ideas?
Thanks in Advanced.
David
You should only have 2.9.4.1 if you are running v7. 3.0.3 is in v8
Double check your bin file do you have 3.0.3 knocking around? If so then try and find it in vs project references and if using nuget have a look in package config. It may also have been installed via nuget when you installed something else.
Hi Ismail
Do you have any notes on creating indexes for PDFs in V8, I have used your package many times in V7. V8 appears a completely different animal.
is working on a reply...