encryption for SSL-related passwords once we enable HTTPS in solr 8.6.2

2021-06-10 Thread Phatkar, Swapnil (Contractor)
Hi Team, We are using Solr 8.6.2 for our application. We have enable https for it . We have to set following parameters for it . SOLR_SSL_KEY_STORE SOLR_SSL_KEY_STORE_PASSWORD SOLR_SSL_TRUST_STORE SOLR_SSL_TRUST_STORE_PASSWORD We need to set value for SOLR_SSL_KEY_STORE_PASSWORD and SOLR_SSL_T

Re: Sorting is working in primitive multivalued fields without docValues

2021-06-10 Thread Mónica Marrero
Thank you! Yes, that is the quote, and here is the link to the documentation where it is: https://solr.apache.org/guide/7_7/common-query-parameters.html#sort-parameter I have also tested with date types (also multivalued and with no docValues) and in that case I get the following error: "can not s

Re: Sorting is working in primitive multivalued fields without docValues

2021-06-10 Thread Alessandro Benedetti
Hi Monica, I think the trie fields are deprecated in favor of the point fields. In regards to multi valued date sorting without docValues, the overall pull request is the following: https://github.com/apache/lucene-solr/commit/e2bba98/ I should investigate more but from a quick look , for dates we

Re: Partial update error for missing _root_ after updating to Solr 8.8.2

2021-06-10 Thread Andreas Hubold
I have opened a JIRA ticket for this now https://issues.apache.org/jira/browse/SOLR-15468 Would be great if someone could have a look and help. Thank you, Andreas -- Sent from: https://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Forced index replication n Solr cloud

2021-06-10 Thread Raveendra Yerraguntla
All, Solr documentation mentioned about enable/disable replication between master and Solr nodes using collection APIs. Is there a way to force index Replication among the leader and replicas in one or some or all of the shards in a Solr cloud cluster ? TA Ravi

Re: encryption for SSL-related passwords once we enable HTTPS in solr 8.6.2

2021-06-10 Thread Jan Høydahl
I believe keystores are pluggable in Java, such as one delegating to Windows keychain, but I don't think they are in Solr. A simple solution would perhaps be a way to supply a password-file instead of a sysprop but it would require code changes to Solr. Jan > 10. jun. 2021 kl. 09:29 skrev Phat

Re: encryption for SSL-related passwords once we enable HTTPS in solr 8.6.2

2021-06-10 Thread Mark H. Wood
On Thu, Jun 10, 2021 at 07:29:56AM +, Phatkar, Swapnil (Contractor) wrote: > We are using Solr 8.6.2 for our application. We have enable https for it . We > have to set following parameters for it . > > SOLR_SSL_KEY_STORE > SOLR_SSL_KEY_STORE_PASSWORD > SOLR_SSL_TRUST_STORE > SOLR_SSL_TRUST_S

Re: Partial update error for missing _root_ after updating to Solr 8.8.2

2021-06-10 Thread David Smiley
The follow-up here from JIRA is that, as of Solr 8.0, you must not add "_root_" to a schema for an existing collection. Solr uses this field instead of the uniqueKey for certain identity checks. Chaos will ensue if you add it later. I shall update the ref guide to add a warning. ~ David On

Get distinct count in json facet

2021-06-10 Thread jay harkhani
Hello, We are using Solr v-6.1.0. We have 2 shards and 2 replica. In collection there are lakhs of documents. When make query it returns around 2 documents. We need distinct count based on docNumber field in json facet query. We tried to use both unique and hll function but it not return a

Get distinct count in json facet

2021-06-10 Thread jay harkhani
Hello, We are using Solr v-6.1.0. We have 2 shards and 2 replica. In collection there are lakhs of documents. When make query it returns around 2 documents. We need distinct count based on docNumber field in json facet query. We tried to use both unique and hll function but it not return a

Facet domain change filter capabilities

2021-06-10 Thread Hari Iyer
Hi, Is it possible to filter the changed domain (child) documents using fields from the original domain (parent) when faceting? Consider an example of Order documents which have OrderItem documents as children (block join/nested). Order -> fields: customerId, orderdate, type OrderItem -> fields:

Re: Reads only on replicas?

2021-06-10 Thread Stephen Lewis Bianamara
Hi Community, I checked the source and see that this doesn't look to be supported to read only from followers. I guess this is possible by pulling the state.json data from zookeeper, identifying the leaders, and then passing an explicit whitelist not including the leaders. Can someone confirm that

Approaches to indexing indigenous languages?

2021-06-10 Thread Peter Tyrrell
I'm quite familiar with indexing English and French languages in Solr, but has anybody got any tips on indexing and querying (Canadian) indigenous First Nations languages? Depending on the language, terms may be written in a syllabic script (https://en.wikipedia.org/wiki/Canadian_Aboriginal_syll

Return name of the collection/core with the document

2021-06-10 Thread ufuk yılmaz
Is it possible to return which collection a matching document came from, when querying against an alias? Suppose alias “myAlias” is pointing to collections c1, c2 and c3 and we are querying: /solr/myAlias?q=id:123 I’m trying to get a response similar to: [{ “id”: 123, “collection”: “c2”}] Co

Re: Reads only on replicas?

2021-06-10 Thread Stephen Lewis Bianamara
I've filed the Jira item to implement this here: SOLR-15472 shards.preference should support leader=false On Thu, Jun 10, 2021 at 9:41 AM Stephen Lewis Bianamara < stephen.bianam...@gmail.com> wrote: > Hi Community, > > I checked the source and

Re: Reads only on replicas?

2021-06-10 Thread Walter Underwood
What problem are you trying to solve with this? Are you trying to send queries to less loaded machines? If so, this won’t do that. Leaders only do a little bit more work than followers. All indexing processing is local and that is most of the CPU usage. wunder Walter Underwood wun...@wunderwood

Re: Reads only on replicas?

2021-06-10 Thread Dave
I would think it would be as simple as deleting the update handler from your solrconfig on the search servers > On Jun 10, 2021, at 6:28 PM, Walter Underwood wrote: > > What problem are you trying to solve with this? > > Are you trying to send queries to less loaded machines? If so, this won’

Re: Reads only on replicas?

2021-06-10 Thread Shawn Heisey
On 6/10/2021 5:08 PM, Dave wrote: I would think it would be as simple as deleting the update handler from your solrconfig on the search servers In SolrCloud, all cores for a collection use the same solrconfig.xml file, and it's in zookeeper. Any solrconfig.xml file on the disk is ignored.

Re: Solr transformer Peformance : [child] vs [subquery]

2021-06-10 Thread Harshit Pandey
Bump.. On Tue, Jun 8, 2021, 11:16 PM Harshit Pandey wrote: > > > > Hi Solr users > > While reading through the solr docs > , > i