lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Array of arguments in URL?
Date Wed, 02 Jun 2010 16:52:24 GMT

: In the "/spell" declaration in the example solrconfig.xml, we find
: these lines among the default parameters:

as grant pointed out: these aren't in the default params

: How does one supply such an array of strings in HTTP parameters? Does
: Solr have a parsing option for this?

in general, ignoring for a moment hte question of wether you are asking 
about changing the component list in a param (you can't) and addressing 
just the question of specifing an array of strings in HTTP params: if the 
param supports multiple values, then you can specify multiple values just 
be  repeating hte key...

  q=foo&fq=firstValue&fq=secondValue&fq=thirdValue

...this results in a SolrParams instance where the "value" of "fq" is an 
array of [firstValue, secondValue] 




-Hoss


Mime
View raw message