Uploaded image for project: '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
    • Status: Open
    • Priority: 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
        markrmiller@gmail.com 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
        markrmiller@gmail.com 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
        gsingers Grant Ingersoll added a comment -

        Yeah, true. My use case is multiple collections.

        Show
        gsingers Grant Ingersoll added a comment - Yeah, true. My use case is multiple collections.
        Hide
        hossman 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
        hossman 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
        rcmuir Robert Muir added a comment -

        rmuir20120906-bulk-40-change

        Show
        rcmuir Robert Muir added a comment - rmuir20120906-bulk-40-change
        Hide
        hossman 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
        hossman 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:
            gsingers Grant Ingersoll
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development