About Raw Query Parameters

2020-02-29 Thread 李世明
Hi:

Use Raw Query Parameters to pass in an array. How can you use cursors to refer 
to elements of an array in a function?

For example,How do I get $a[0] to work properly:
"params":{
"a":["1”,  "2”, "3"],
"q": "*:*",
"fl": "$a, $a[0]"  
}


Thank you very much



Re: SolrCloud location for solr.xml

2020-02-29 Thread Erick Erickson
Actually, I do this all the time. However, it’s because I’m always blowing 
everything away and installing a different version of Solr or some such, mostly 
laziness.

We should move away from allowing solr.xml to be in SOLR_HOME when running in 
cloud mode IMO, but that’ll need to be done in phases.

Best,
Erick

> On Feb 28, 2020, at 5:17 PM, Mike Drob  wrote:
> 
> Hi Searchers!
> 
> I was recently looking at some of the start-up logic for Solr and was
> interested in cleaning it up a little bit. However, I'm not sure how common
> certain deployment scenarios are. Specifically is anybody doing the
> following combination:
> 
> * Using SolrCloud (i.e. state stored in zookeeper)
> * Loading solr.xml from a local solr home rather than zookeeper
> 
> Much appreciated! Thanks,
> Mike