Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-12962

camel-elasticsearch - Allow from and size for SearchSource / SearchRequest to be set via URI

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Implemented
    • Affects Version/s: 2.22.1
    • Fix Version/s: 3.1.0
    • Labels:
      None
    • Estimated Complexity:
      Novice

      Description

      There is currently no straightforward way that I know of to request more than the first 10 search results. Please allow from and size for SearchSource / SearchRequest to be set via URI.

      To add, since the ElasticsearchActionRequestConverter actually pulls the root node of the Query DSL, setting from and size in the request body string or Map is actually ignored.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                derekw Derek White
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m