Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • David Armitage 188 posts 761 karma points
    May 23, 2019 @ 06:37
    David Armitage

    Examine Issues | exists in both 'Lucene.Net, Version= and

    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= and

    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);


    StandardAnalyzer exists in both versions of Lucene and

    Field exists in both versions of Lucene

    Any ideas?

    Thanks in Advanced.


  • Ismail Mayat 4288 posts 9247 karma points MVP 2x admin c-trib
    May 23, 2019 @ 08:03
    Ismail Mayat

    You should only have 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.

  • Jo Kendal 24 posts 166 karma points
    May 23, 2019 @ 15:44
    Jo Kendal

    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.

Please Sign in or register to post replies

Write your reply to: