Copied to clipboard

Flag this post as spam?

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


  • Connie DeCinko 931 posts 1160 karma points
    Apr 08, 2015 @ 00:40
    Connie DeCinko
    0

    Lucene Examine Boost throws error if value is only a single character

    Has anyone else seen this? We've been using Lucene Examine to index a SQL table for several years now and this is the first time I've seen this issue. If the value I am passing is only a single character, say a middle initial, Boost throws "Object reference not set to an instance of an object".

    filter = filter
        .Or()
        .Field("name", splitSearchName[i].Boost(2));
    

    Is there a minimum number of characters you can pass to Examine?

Please Sign in or register to post replies

Write your reply to:

Draft