[ 
https://issues.apache.org/jira/browse/CAMEL-22465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen resolved CAMEL-22465.
---------------------------------
    Fix Version/s: 4.15.0
       Resolution: Fixed

> camel-solr - Allow multiple occurrences with SolrParam.x headers
> ----------------------------------------------------------------
>
>                 Key: CAMEL-22465
>                 URL: https://issues.apache.org/jira/browse/CAMEL-22465
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-solr
>            Reporter: James Dyer
>            Priority: Major
>             Fix For: 4.15.0
>
>
> While it is convenient to build a request using the SolrParam.x header 
> convention, this only allows a single value.  Yet Solr often takes multiple 
> occurrences for the same value.  For instance *fq*.  Camel-Solr should allow 
> multiple values, for instance:
> {code}
> .setHeader(SolrParam + "fq", constant(List.of("foo: bar", "baz:[1 TO 10]")))
> {code}
> This example sets up a query that only return results with "foo" equaling 
> "bar" and "baz" being a number between 1 and 10.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to