Trevor Watson wrote:
Thanks for all the help you've provided so far.

I am attempting to create a custom Tokenizer extending the CharTokenizer class. Any attempt to create a constructor for this however, results in a compiliation eror Lucene.Net.Analysis.CharTokenizer' does not contain a constructor that takes '0' arguments This is the class I've attempted to create
[start code]
   public class CustomTokenizer : Lucene.Net.Analysis.CharTokenizer
   {
       public CustomTokenizer(System.IO.TextReader input)
       {
       }

You must call the base ctor:

        public CustomTokenizer(System.IO.TextReader input)
                : base (input)
        {
        }

Robert

Reply via email to