Beispiel #1
0
        public override Query VisitFuzzyQuery(FuzzyQuery fuzzyq)
        {
            _text.Append(TermToString(fuzzyq.GetTerm()));
            _text.Append('~');
            _text.Append(Lucene.Net.Support.Single.ToString(fuzzyq.GetMinSimilarity()));
            _text.Append(BoostToString(fuzzyq.GetBoost()));

            return(base.VisitFuzzyQuery(fuzzyq));
        }
Beispiel #2
0
        public override Query VisitFuzzyQuery(FuzzyQuery fuzzyq)
        {
#pragma warning disable CS0618 // Type or member is obsolete
            _text.Append(TermToString(fuzzyq.GetTerm()));
#pragma warning restore CS0618 // Type or member is obsolete
            _text.Append('~');
            _text.Append(Lucene.Net.Support.Single.ToString(fuzzyq.GetMinSimilarity()));
            _text.Append(BoostToString(fuzzyq.GetBoost()));

            return(base.VisitFuzzyQuery(fuzzyq));
        }