lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "saicharan.kota@spglobal.com" <saicharan.k...@spglobal.com>
Subject requesting support to solve an issue
Date Wed, 08 Apr 2020 10:16:58 GMT
Hi there,

We are trying to apply the following collection specific policy in solr
{
    "set-policy": {
        "generalpolicy": [
            {
                "replica": "<2",
                "shard": "#EACH",
                "sysprop.key":"!typeahead",
                "strict": "true"
            }
        ]
    }
}

And when we are trying to create a collection using  the following  CREATE api

CREATE&name=generalcollection&numShards=1&replicationFactor=2&policy=generalpolicy<http://search-solr2-av.midevcld.spglobal.com:8983/solr/admin/collections?action=CREATE&name=generalcollection&numShards=1&replicationFactor=2&policy=generalpolicy>


The replica's are spreading across other keys rather than being confined to the key mentioned
in the policy

We have created the sysprop key during the node start-up by including  "-Dkey=typeahead" in
user data script


________________________________

The information contained in this message is intended only for the recipient, and may be a
confidential attorney-client communication or may otherwise be privileged and confidential
and protected from disclosure. If the reader of this message is not the intended recipient,
or an employee or agent responsible for delivering this message to the intended recipient,
please be aware that any dissemination or copying of this communication is strictly prohibited.
If you have received this communication in error, please immediately notify us by replying
to the message and deleting it from your computer. S&P Global Inc. reserves the right,
subject to applicable local law, to monitor, review and process the content of any electronic
message or information sent to or from S&P Global Inc. e-mail addresses without informing
the sender or recipient of the message. By sending electronic message or information to S&P
Global Inc. e-mail addresses you, as the sender, are consenting to S&P Global Inc. processing
any of your personal data therein.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message