Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-1230

Invalid logic of "fields" collection in FTS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.4.0-dp3, 2.4.0
    • 2.3.9, 2.4.0-dp2
    • library
    • None

    Description

      When you specify the fields in the search query you receive an ArgumentNullException . For example:

       SearchQuery fc = new SearchQuery();
                  fc.Index = "beer-ft";
                  fc.Highlighting(HighLightStyle.Html);
                  fc.Fields("name", "style");
                  fc.Query = new MatchQuery("american");
                  fc.SearchParams = new SearchParams().Limit(10);
      

      Attachments

        Activity

          People

            jmorris Jeff Morris
            jmorris Jeff Morris
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty