Details

    • Technical task
    • Resolution: Won't Fix
    • Trivial
    • 2.2.6
    • 2.2.5
    • Core

    Description

      When trying to write some simplifed sample code to index a couple of fields, I typed this:
      bucketManager.createIndex("moretypes", Arrays.asList("type", "destinationairport"), true, true);

      It turns out though, that's invalid as the signature only takes Object. This is valid:
      bucketManager.createIndex("moretypes", Arrays.asList((Object)"type", "destinationairport"), true, true);

      But kind of ugly since string and expression are the only valid ones.

      Should we add a List<String> overload for createIndex()?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            simonbasle Simon Baslé (Inactive)
            ingenthr Matt Ingenthron
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty