Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 2.0.3
    • 2.0.2
    • None
    • None
    • 1

    Description

      Trying to convert from v1 to v2 and its not clear from the docs what i need to do in order to successfully get it to work

      v1 code

      q := query

      {Query:"field:value",From:  offset,Limit: limit}

      query := gocb.NewSearchQuery(indexName, q).Limit(limit).Skip(offset)

      result, err := bucket.ExecuteSearchQuery(query)

       

      v2 code (from what i could scrap in the source code)
      results, err := cluster.SearchQuery(indexName, gocbsearch.NewMatchQuery("field:value"), &gocb.SearchOptions{Limit: limit,Skip: offset})

      Attachments

        Issue Links

          Activity

            People

              charles.dixon Charles Dixon
              bvoelker Brian Voelker
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                PagerDuty