Hi everyone,
I'm checking Solr query that contains condition "Exclude all documents that
contain ceratin field".
Currently, it looks like this:
*(*:* AND -field_to_exclude:*)*
Full query is:
*((some_other_field:"value") AND ((*:* AND -field_to_exclude:*)))*
If I use defType=edismax, nothing is fo
Hello,
I am running SolrCloud in Kubernetes with Solr version 8.5.2.
Is it possible to update a configset being used by a collection using a
SolrCloud API directly? I know that this is possible using the zkcli and a
collection RELOAD. We essentially want to be able to checkout our configset
fr
I need to pre-process my data using Javascript, but I will need to
make use of a JS library in order to accomplish this. Can I include
other JS files in my pre-process script ? If so, how ?
I was in the same situation recently. I think it would be nice to have the
configset UPLOAD command be able to override the existing configset instead
of just fail (with a parameter such as override=true or something). We need
to be careful with the trusted/unstrusted flag there, but that should be
I completely agree, there should be a way to overwrite an existing
configSet.
Looks like https://issues.apache.org/jira/browse/SOLR-10391 already exists,
so the work could be tracked there.
On Fri, Sep 11, 2020 at 12:36 PM Tomás Fernández Löbbe <
tomasflo...@gmail.com> wrote:
> I was in the same
Bin/solr zk upconfig...
Bin/solr zk cp... For individual files.
Not as convenient as a nice API, but might let you get by...
On Fri, Sep 11, 2020, 13:26 Houston Putman wrote:
> I completely agree, there should be a way to overwrite an existing
> configSet.
>
> Looks like https://issues.apache.o
I would go for the Solr rest api ... especially if you have a secured zk (eg
with Kerberos). Then you need to manage access for humans only in Solr and not
also in ZK.
> Am 11.09.2020 um 19:41 schrieb Erick Erickson :
>
> Bin/solr zk upconfig...
> Bin/solr zk cp... For individual files.
>
> N
Don't know if this is an option for you but the SolrJ Java Client library
has support for uploading a config set. If the config set already exists it
will overwrite it, and automatically RELOAD the dependent collection.
See
https://lucene.apache.org/solr/8_5_0/solr-solrj/org/apache/solr/common/clo
Right, the problem is that both, bin/solr zk and ZkConfigManager require
"direct access" to ZooKeeper (you have to have ZooKeeper exposed). I
believe the original question was about how to achieve this without
exposing ZooKeeper.
On Fri, Sep 11, 2020 at 11:00 AM Andy C wrote:
> Don't know if thi
First, Solr does _not_ implement boolean logic. It can look like it, but that’s
sugar.
See: https://lucidworks.com/post/why-not-and-or-and-not/
As for (1), I haven’t a clue. If you’d provided the results of
adding &debug=query to the query, the parsed version
would have given us some pointers.
I wrote some Python to get the Zookeeper address from CLUSTERSTATUS, then
use the Kazoo library to upload a configset. Then it goes back to the cluster
and
runs an async command to RELOAD.
I really should open source that thing (in my copious free time).
wunder
Walter Underwood
wun...@wunderwood
I created https://github.com/apache/lucene-solr/pull/1861
On Fri, Sep 11, 2020 at 11:43 AM Walter Underwood
wrote:
> I wrote some Python to get the Zookeeper address from CLUSTERSTATUS, then
> use the Kazoo library to upload a configset. Then it goes back to the
> cluster and
> runs an async com
Thanks for the help everyone. I'm hopeful for the PR, Tomás. That looks to be
exactly what I was looking for!
Best,
Michael Carroll
On 9/11/20, 8:44 PM, "Tomás Fernández Löbbe" wrote:
*** External email: use caution ***
I created
https://nam03.safelinks.protection.outl
13 matches
Mail list logo