Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-17663

Unlimited Solr query are not properly handled by the SolrEventStore

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 12.7-rc-1, 12.6.2
    • 12.4-rc-1
    • Event Stream
    • None
    • Unit
    • Unknown
    • N/A
    • N/A

    Description

      Solr doesn't allow to perform query returning an unlimited number of rows.
      If the rows parameter is not set, the default is to return 10 results.
      However we defined in the Solr API that if the limit is -1, the returned number of results should be unlimited. And this contract is not respected in SolrEventStore since toSolrQuery is just ommitting the rows parameter in that case, leading to a limit of 10.

      Attachments

        Issue Links

          Activity

            People

              surli Simon Urli
              surli Simon Urli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: