Solr
  1. Solr
  2. SOLR-3248

CloudSolrServer should add methods to make it easier to set the collection on a per request basis

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      It would be good if CloudSolrServer would add methods that make it easier for specifying the collection, such as when adding documents. Right now, one has to use the UpdateRequest approach, which is more cumbersome.

        Activity

        Hide
        Mark Miller added a comment -

        Right now, one has to use the UpdateRequest approach,

        Yeah, but only if you are using the same SolrServer instance to add to multiple collections. You can set the default per instance.

        If you want to work with multiple collections with a single SolrServer instance, then I think these methods def make things nicer - unfortunately, you have to handle a lot of them with a bunch of variants. I still think we should do it though.

        Show
        Mark Miller added a comment - Right now, one has to use the UpdateRequest approach, Yeah, but only if you are using the same SolrServer instance to add to multiple collections. You can set the default per instance. If you want to work with multiple collections with a single SolrServer instance, then I think these methods def make things nicer - unfortunately, you have to handle a lot of them with a bunch of variants. I still think we should do it though.
        Hide
        Grant Ingersoll added a comment -

        Yeah, true. My use case is multiple collections.

        Show
        Grant Ingersoll added a comment - Yeah, true. My use case is multiple collections.
        Hide
        Hoss Man added a comment -

        bulk fixing the version info for 4.0-ALPHA and 4.0 all affected issues have "hoss20120711-bulk-40-change" in comment

        Show
        Hoss Man added a comment - bulk fixing the version info for 4.0-ALPHA and 4.0 all affected issues have "hoss20120711-bulk-40-change" in comment
        Hide
        Robert Muir added a comment -

        rmuir20120906-bulk-40-change

        Show
        Robert Muir added a comment - rmuir20120906-bulk-40-change
        Hide
        Hoss Man added a comment -

        There is no indication that anyone is actively working on this issue, so removing 4.0 from the fixVersion.

        Show
        Hoss Man added a comment - There is no indication that anyone is actively working on this issue, so removing 4.0 from the fixVersion.

          People

          • Assignee:
            Unassigned
            Reporter:
            Grant Ingersoll
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development