This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hello, can someone help me out with running LuceneSearchEngine and Lightspeed3? I was trying to use class from this blog entry: http://www.mindscape.co.nz/blog/index.php/2009/02/25/lightspeed-writing-a-custom-search-engine/ but I'm getting errors: Error 5 'Mindscape.LightSpeed.Utils.Invariant' is inaccessible due to its protection level ....LuceneSearchEngine.cs 98 13 ..... Thanks |
|
|
LuceneSearchEngine.cs is part of our source code and is provided as a starting point for other implementations rather than a complete sample in itself -- hence the references to some internal LightSpeed classes. These references don't (as far as I know) do anything critical and can probably be safely removed. (Similarly you'll find references to LightSpeed resource strings which won't resolve in your project.) Specifically, the Invariant class is a bunch of helper methods for validating arguments and state. If you want to use the same validations then you will need to reproduce this code, because LightSpeed does not expose it. The two Invariant methods that I believe are used in LuceneSearchEngine.cs are as follows: public static void ArgumentNotNull(object argument, string argumentName) |
|