Setting up SolrCloud Behind Azure Application Gateway

2020-11-12 Thread Victor Kretzer
o backend pool for the two sorlCloud VMs o an HTTP setting for Backend port 8983 I can access the dashboard for the nodes using: * http://:8983/solr/#/<http://%3cnode-pub-ip%3e:8983/solr/#/> But not when using ei

Re: Setting

2020-07-21 Thread Erick Erickson
important practically, it’s opening a new searcher that impacts your setup most obviously. Best, Erick > On Jul 21, 2020, at 3:52 PM, Tyrone Tse wrote: > > Eric > > Thanks for your quick response. > So in the solrconfig.xml keep the out of the box setting of 15 seconds >

Re: Setting

2020-07-21 Thread Tyrone Tse
Eric Thanks for your quick response. So in the solrconfig.xml keep the out of the box setting of 15 seconds 15000 false and also have the setting set to something like 5 minutes 30 Then in the existing SolrJ code just simply delete the line

Re: Setting

2020-07-21 Thread Erick Erickson
What you’re seeing is the input from the client. You’ve passed true, true, which are waitFlush and waitSearcher which sets softCommit _for that call_ to false. It has nothing to do with the settings in your config file. bq. I am not passing the parameter to do a softCommit in the SolrJ command.

Setting

2020-07-21 Thread Tyrone Tse
I am using Solr 8.5 cloud, and in my collection I have edited the solrconfig.xml file to use 1000 and commented out the default configuration We are using SolrJ to post files to the Solr here is the snippet of Java code that does it try(HttpSolrClient solrClient = solr.build

Re: Java - setting multi-valued fields

2020-07-06 Thread kumar gaurav
t; > > > > -Original Message- > From: kumar gaurav > Sent: onsdag 17. juni 2020 19:02 > To: solr-user@lucene.apache.org > Subject: Re: Java - setting multi-valued fields > > HI > > Example: > > String[] values = new String[] {“value 1”, “va

RE: Java - setting multi-valued fields

2020-06-24 Thread Eivind Hodneland
- From: kumar gaurav Sent: onsdag 17. juni 2020 19:02 To: solr-user@lucene.apache.org Subject: Re: Java - setting multi-valued fields HI Example: String[] values = new String[] {“value 1”, “value 2” }; inputDoc.setField (multiFieldName, values); Can you try once to change the array to list

Re: Java - setting multi-valued fields

2020-06-17 Thread kumar gaurav
iValued=”true”). > > > > I am having problems with setting the values for these fields in my Java > update processors. > > Example: > > String[] values = new String[] {“value 1”, “value 2” }; > > inputDoc.setField (multiFieldName, values); > > > > Howeve

Java - setting multi-valued fields

2020-06-17 Thread Eivind Hodneland
Hi, My customer has a Solr index with a large amount of fields, many of these are multivalued (type="string", multiValued="true"). I am having problems with setting the values for these fields in my Java update processors. Example: String[] values = new String[]

RE: IdleTimeout setting in Jetty (Solr 7.7.1)

2020-04-29 Thread Kommu, Vinodh K.
Thanks Raji, let me try it. On the other hand, I'm trying socketTimeout and connTimeout properties as well. Thanks & Regards, Vinodh -Original Message- From: Raji N Sent: Wednesday, April 29, 2020 2:59 PM To: solr-user@lucene.apache.org Subject: Re: IdleTimeout setting in Je

Re: IdleTimeout setting in Jetty (Solr 7.7.1)

2020-04-29 Thread Raji N
From: Kommu, Vinodh K. > Sent: Friday, April 24, 2020 11:34 PM > To: solr-user@lucene.apache.org > Subject: IdleTimeout setting in Jetty (Solr 7.7.1) > > Hi, > > Our clients are running streaming expressions on 140M docs collection > which has relatively huge data however query

RE: IdleTimeout setting in Jetty (Solr 7.7.1)

2020-04-26 Thread Kommu, Vinodh K.
Can someone shed some idea on below requirement? Thanks & Regards, Vinodh From: Kommu, Vinodh K. Sent: Friday, April 24, 2020 11:34 PM To: solr-user@lucene.apache.org Subject: IdleTimeout setting in Jetty (Solr 7.7.1) Hi, Our clients are running streaming expressions on 140M docs collec

IdleTimeout setting in Jetty (Solr 7.7.1)

2020-04-24 Thread Kommu, Vinodh K.
. To change the default timeout setting, we had to modify the jetty files from installation directory, to avoid this, is there any option/way available in solr start arguments to overwrite the default idleTimeout value with custom value without modifying the actual jetty*.xml files? Th

solr client time out setting

2020-03-08 Thread Tracy La
kConnectTimeout-int->, none of these settings seem to work. Any suggestions on where to set this timeout setting? org.apache.solr.client.solrj.SolrServerException: Timeout occurred while waiting response from server at: 06 Mar 2020 14:40:24 - [Thread[T

GC_TUNE setting from solr.in.sh is not applied

2020-02-11 Thread Steffen Moldenhauer
Hi all, I installed Solr 8.4.1 (first time on a linux sub-system for testing purposes only) and for whatever reason the default GC settings prevented the server from running. So I tried to change the setting with a GC_TUNE in solr.in.sh But it got not applied to the start up. So I looked at

Cost of Stored=True Setting for All Fields

2020-01-28 Thread Joseph Lorenzini
Hi all, I am in the process of migrating a solr collection from 4 to 8. I discovered that there was no ETL process for loading all the data into a new collection in solr 8, so I had to build one. For technical reasons that aren't important here, I'd prefer this tool to be a one-off. In the future

[ANNOUNCE] 8.1.1 and 8.2.0 users check ENABLE_REMOTE_JMX_OPTS setting

2019-08-14 Thread Jan Høydahl
Severity: Low Versions Affected: 8.1.1 and 8.2.0 for Linux Description: It has been discovered [1] that the 8.1.1 and 8.2.0 releases contain a bad default setting for the ENABLE_REMOTE_JMX_OPTS setting in the default solr.in.sh file shipping with Solr. Windows users and users with custom

The waitForZk (SOLR_WAIT_FOR_ZK) setting does not work

2019-07-24 Thread Colvin Cowie
Hello, I didn't see an existing issue for this in Jira: The system property *waitForZk* was added in https://issues.apache.org/jira/browse/SOLR-5129 and is supposed to increase the timeout for an initial connection to Solr at startup, From the solr.in.sh: *# By default Solr will try to connect t

Re: SolrQuery setting the boolean operator to use

2019-07-09 Thread Steven White
Thanks Shawn! That was quick, easy and it works. Steven On Tue, Jul 9, 2019 at 6:57 PM Shawn Heisey wrote: > On 7/9/2019 4:52 PM, Steven White wrote: > > In this code sample that's part of my overall code, how do I tell Solr > > dynamically / programmatically to use AND or OR as the default op

Re: SolrQuery setting the boolean operator to use

2019-07-09 Thread Shawn Heisey
On 7/9/2019 4:52 PM, Steven White wrote: In this code sample that's part of my overall code, how do I tell Solr dynamically / programmatically to use AND or OR as the default operator? SolrQuery query = new SolrQuery(queryString); query.setRequestHandler("/select_test"); response = solrClient.q

SolrQuery setting the boolean operator to use

2019-07-09 Thread Steven White
Hi everyone, In this code sample that's part of my overall code, how do I tell Solr dynamically / programmatically to use AND or OR as the default operator? SolrQuery query = new SolrQuery(queryString); query.setRequestHandler("/select_test"); response = solrClient.query(query); SolrDocumentList

Re: Solr unable to start up after setting up SSL in Solr 7.4.0

2019-03-29 Thread Erick Erickson
What version of Java are you using? > On Mar 28, 2019, at 8:27 PM, Zheng Lin Edwin Yeo wrote: > > Hi, > > Regarding the issue with jetty-ssl.xml which I have mentioned previously, > seems that the issue still exists in Solr 8.0.0 if I use the jetty-ssl.xml > that comes with Solr 8.0.0. > > Reg

Re: Solr unable to start up after setting up SSL in Solr 7.4.0

2019-03-28 Thread Zheng Lin Edwin Yeo
Hi, Regarding the issue with jetty-ssl.xml which I have mentioned previously, seems that the issue still exists in Solr 8.0.0 if I use the jetty-ssl.xml that comes with Solr 8.0.0. Regards, Edwin On Fri, 24 Aug 2018 at 09:19, Zheng Lin Edwin Yeo wrote: > Thanks for the advice. > > Regards, > E

Setting RegexReplaceProcessorFactory pattern with

2019-02-17 Thread Zheng Lin Edwin Yeo
Hi, I am using Solr 7.7.0. When I tried to replace the following pattern in the RegexReplaceProcessorFactory, content true I get the following error: Exception during parsing file: solrconfig.xml:org.xml.sax.SAXParseException; systemId: solrres:/solrconfig.xml; lineNumber: 15

Re: [QA-search] About field setting

2019-01-18 Thread Scott Stults
No, you have to tokenize before you filter, but the Keyword tokenizer outputs the whole input text as a single token. On Thu, Jan 17, 2019 at 11:36 PM 유정인 wrote: > hi > Can you use multiple query analyzers to search for or? > > Ex) > > positionIncrementGap="100" multiValued="true"> > > > >

[QA-search] About field setting

2019-01-17 Thread 유정인
hi Can you use multiple query analyzers to search for or? Ex) Can you get synonyms to run before tokenzier? Ex)

Fwd: Setting Solr Home via installation script

2019-01-08 Thread Stephon Harris
Seeing if anyone has any thoughts on this again. -- Forwarded message - From: Stephon Harris Date: Mon, Jan 7, 2019 at 10:05 AM Subject: Setting Solr Home via installation script To: I am trying to install solr as a service so that when a restart takes place the solr home

Setting Solr Home via installation script

2019-01-07 Thread Stephon Harris
I am trying to install solr as a service so that when a restart takes place the solr home directory is set to `example/schemaless/solr`where there are cores I have created while running solr in the schemaless example. As instructed in taking Solr to Production

Re: UnifiedHighlighter returns an error when setting hl.maxAnalyzedChars=-1

2019-01-06 Thread Yasufumi Mizoguchi
Hi, I opened a JIRA about this. https://issues.apache.org/jira/browse/SOLR-13121 Thanks, Yasufumi. 2018年12月28日(金) 13:39 Yasufumi Mizoguchi : > Hi, > > I faced UnifiedHighlighter error when setting hl.maxAnalyzedChars=-1 in > Solr 7.6. > Here is the procedure for reproducing. &g

UnifiedHighlighter returns an error when setting hl.maxAnalyzedChars=-1

2018-12-27 Thread Yasufumi Mizoguchi
Hi, I faced UnifiedHighlighter error when setting hl.maxAnalyzedChars=-1 in Solr 7.6. Here is the procedure for reproducing. $ bin/solr -e techproducts $ curl -XGET "localhost:8983/solr/techproducts/select?hl.fl=name&hl.maxAnalyzedChars=-1&hl.method=unified&hl=on&q=me

Re: Setting up MiniSolrCloudCluster to use pre-built index

2018-10-24 Thread Mark Miller
node{i} subfolder. legacyCloud=true should not even exist anymore though, > so the long term way to do this would be to create a collection and then > use the merge API or something to merge your index into the empty > collection. > > - Mark > > On Sat, May 19, 2018 at 5:25

Re: Setting up MiniSolrCloudCluster to use pre-built index

2018-10-23 Thread Ken Krugler
n > use the merge API or something to merge your index into the empty > collection. > > - Mark > > On Sat, May 19, 2018 at 5:25 PM Ken Krugler > wrote: > >> Hi all, >> >> Wondering if anyone has experience (this is with Solr 6.6) in setting up >> Mi

RE: [External] Setting Spellcheck for solr only for zero result

2018-09-26 Thread Dyer, James
y [mailto:findneel2...@gmail.com] Sent: Sunday, September 23, 2018 2:58 PM To: solr-user@lucene.apache.org Subject: [External] Setting Spellcheck for solr only for zero result I am looking for setting up spellcheck for solr correctly. For performance reason (and avoiding confusion) I don'

Setting Spellcheck for solr only for zero result

2018-09-23 Thread neel choudhury
I am looking for setting up spellcheck for solr correctly. For performance reason (and avoiding confusion) I don't want to give any suggestion for any query which returns at least one result. Solr provides a parameter spellcheck.maxResultsForSuggest. For my use case i need to set is as 0 as I

Re: Setting of TMP in solr.cmd (for Windows) causes invisibility of the Solr to JDK monitoring tools

2018-09-16 Thread p.bodnar
"solr-user" > Datum: 03.09.2018 01:38 > Předmět: Re: Setting of TMP in solr.cmd (for Windows) causes invisibility of > the Solr to JDK monitoring tools > >Hmmm, please raise a JIRA and, if possible, attach a patch that works >for you. Most of us don't have Windows

preferLocalShards setting

2018-09-06 Thread Wei
Hi, I am setting up a solr cloud with external load balancer. Noticed the 'preferLocalShards' configuration and I am wondering how it would impact performance. If one host can have replicas from all shards it sure will be beneficial; but in my 5 shard / 2 replica cloud on 5 servers, e

Re: Setting of TMP in solr.cmd (for Windows) causes invisibility of the Solr to JDK monitoring tools

2018-09-02 Thread Erick Erickson
Hmmm, please raise a JIRA and, if possible, attach a patch that works for you. Most of us don't have Windows machines readily available which hobbles testing, so it's very helpful of someone can test in a real environment. Best, Erick On Sun, Sep 2, 2018 at 1:47 PM wrote: > > Hi, > > please notic

Setting of TMP in solr.cmd (for Windows) causes invisibility of the Solr to JDK monitoring tools

2018-09-02 Thread p.bodnar
Hi, please notice the following lines added (among others) to "solr.cmd" by commit https://github.com/apache/lucene-solr/commit/b36c68b16e67ae701cefce052a4fdbaac88fb65c for https://issues.apache.org/jira/browse/SOLR-6833 about 4 years ago: set TMP=!SOLR_HOME:%EXAMPLE_DIR%=! IF NOT "%TMP%"==

Re: Solr unable to start up after setting up SSL in Solr 7.4.0

2018-08-23 Thread Zheng Lin Edwin Yeo
Thanks for the advice. Regards, Edwin On Thu, 23 Aug 2018 at 17:43, Shawn Heisey wrote: > On 8/23/2018 2:42 AM, Jan Høydahl wrote: > > Don't need a git checkout to pull a text file :) > > https://github.com/apache/lucene-solr/blob/branch_7x/solr/bin/solr.cmd < > https://github.com/apache/lucene

Re: Solr unable to start up after setting up SSL in Solr 7.4.0

2018-08-23 Thread Shawn Heisey
On 8/23/2018 2:42 AM, Jan Høydahl wrote: Don't need a git checkout to pull a text file :) https://github.com/apache/lucene-solr/blob/branch_7x/solr/bin/solr.cmd https://github.com/apache/lucene-solr/blob/branch_7x/solr/serv

Re: Solr unable to start up after setting up SSL in Solr 7.4.0

2018-08-23 Thread Jan Høydahl
Don't need a git checkout to pull a text file :) https://github.com/apache/lucene-solr/blob/branch_7x/solr/bin/solr.cmd https://github.com/apache/lucene-solr/blob/branch_7x/solr/server/scripts/cloud-scripts/zkcli.bat

Re: Solr unable to start up after setting up SSL in Solr 7.4.0

2018-08-22 Thread Shawn Heisey
On 8/22/2018 8:31 PM, Zheng Lin Edwin Yeo wrote: Hi Jan and Shawn, So far I am still getting the error from the workaround and quick fix methods. Not sure if it is good to continue to use the files from Solr 7.3.1 while waiting for the release of Solr 7.5.0? You could check out the source code

Re: Solr unable to start up after setting up SSL in Solr 7.4.0

2018-08-22 Thread Zheng Lin Edwin Yeo
Hi Jan and Shawn, So far I am still getting the error from the workaround and quick fix methods. Not sure if it is good to continue to use the files from Solr 7.3.1 while waiting for the release of Solr 7.5.0? Regards. Edwin On Wed, 22 Aug 2018 at 11:21, Zheng Lin Edwin Yeo wrote: > Ok noted.

Re: Solr unable to start up after setting up SSL in Solr 7.4.0

2018-08-21 Thread Zheng Lin Edwin Yeo
Ok noted. Thank you. Regards, Edwin On Tue, 21 Aug 2018 at 21:40, Shawn Heisey wrote: > On 8/20/2018 9:57 PM, Zheng Lin Edwin Yeo wrote: > > This is the error that I get: > > ERROR StatusLogger Unable to access > file:/C:/Users/edwin/Desktop/edwin/solr- > > > 7.4.0/server/scripts/cloud-scripts/

Re: Solr unable to start up after setting up SSL in Solr 7.4.0

2018-08-21 Thread Shawn Heisey
On 8/20/2018 9:57 PM, Zheng Lin Edwin Yeo wrote: This is the error that I get: ERROR StatusLogger Unable to access file:/C:/Users/edwin/Desktop/edwin/solr- 7.4.0/server/scripts/cloud-scripts/file:C:/Users/edwin/Desktop/edwin/solr-7. 4.0/server/scripts/cloud-scripts/log4j2.xml java.io.FileNotFou

Re: Solr unable to start up after setting up SSL in Solr 7.4.0

2018-08-21 Thread Jan Høydahl
up Solr from downloading the package from >>> http://www-eu.apache.org/dist/lucene/solr/7.4.0/. >>> >>> I started Solr with the following command: >>> bin\solr.cmd start -cloud -p 8983 -s solrMain\node1 -m 8g -z >>> "localhost:2181,localhost:2182,localhost:2183" -D

Re: Solr unable to start up after setting up SSL in Solr 7.4.0

2018-08-20 Thread Zheng Lin Edwin Yeo
jetty configuration. > > set SOLR_SSL_ENABLED=false > > REM Uncomment to set SSL-related system properties > > REM Be sure to update the paths to the correct keystore for your > environment > > set SOLR_SSL_KEY_STORE=etc/solr-ssl.keystore.jks > > set SOLR_SSL_KEY_STORE_

Re: Solr unable to start up after setting up SSL in Solr 7.4.0

2018-08-20 Thread Jan Høydahl
the paths to the correct keystore for your environment > set SOLR_SSL_KEY_STORE=etc/solr-ssl.keystore.jks > set SOLR_SSL_KEY_STORE_PASSWORD=secret > set SOLR_SSL_TRUST_STORE=etc/solr-ssl.keystore.jks > set SOLR_SSL_TRUST_STORE_PASSWORD=secret > REM Require clients

Re: Solr unable to start up after setting up SSL in Solr 7.4.0

2018-08-20 Thread Zheng Lin Edwin Yeo
name" information that is validated by default. Setting REM this to false can be useful to disable these checks when re-using a certificate on many hosts set SOLR_SSL_CHECK_PEER_NAME=true REM Override Key/Trust Store types if necessary set SOLR_SSL_KEY_STORE_TYPE=JKS set SOLR_SSL_TRUST_STORE_TY

Re: Solr unable to start up after setting up SSL in Solr 7.4.0

2018-08-10 Thread Jan Høydahl
at 11:20, Zheng Lin Edwin Yeo wrote: > >> Hi, >> >> Would like to check, if there are any major changes in the way the SSL >> works for Solr 7.4.0? >> >> I have tried to set up with the same method that I used for Solr 7.3.1, >> but

Re: Solr unable to start up after setting up SSL in Solr 7.4.0

2018-07-11 Thread Zheng Lin Edwin Yeo
th the same method that I used for Solr 7.3.1, > but after setting it up, the Solr is unable to load. > > Below is the error message that I get. > > Caused by: java.security.PrivilegedActionException: > java.lang.ClassNotFoundExcep > tion: org.apache.solr.util.configuratio

Solr unable to start up after setting up SSL in Solr 7.4.0

2018-07-03 Thread Zheng Lin Edwin Yeo
Hi, Would like to check, if there are any major changes in the way the SSL works for Solr 7.4.0? I have tried to set up with the same method that I used for Solr 7.3.1, but after setting it up, the Solr is unable to load. Below is the error message that I get. Caused by

Re: Collections unable to load after setting up SSL

2018-06-11 Thread Zheng Lin Edwin Yeo
without the SSL If you use relative paths, do you have any idea what the paths are relative TO? - Yes. I have also tried setting the full path, and I still get the same issue. Regards, Edwin On 12 June 2018 at 02:01, Christopher Schultz wrote: > Edwin, > > On 6/10/18 10:22 PM, Zheng

Re: Collections unable to load after setting up SSL

2018-06-11 Thread Christopher Schultz
s > On 9 June 2018 at 21:30, Zheng Lin Edwin Yeo wrote: > >> Hi Chris, >> >> I have deployed these files on the {SolrHome}\server\etc folder. >> >> Currently this is the setting of the path in edm.in.cmd. >> >> set SOLR_SSL_KEY_STORE=etc/solr-ssl.ke

Re: Collections unable to load after setting up SSL

2018-06-11 Thread Zheng Lin Edwin Yeo
:40, Vincenzo D'Amore wrote: > Hi Edwin, > > I think you should specify the absolute path when setting the environment > variables or remove the leading slash from the path. > > Ciao, > Vincenzo > > > > On 11 Jun 2018, at 04:22, Zheng Lin Edwin Yeo > wrot

Re: Collections unable to load after setting up SSL

2018-06-10 Thread Vincenzo D'Amore
Hi Edwin, I think you should specify the absolute path when setting the environment variables or remove the leading slash from the path. Ciao, Vincenzo > On 11 Jun 2018, at 04:22, Zheng Lin Edwin Yeo wrote: > > I have found that we can't set it this way either, as we will

Re: Collections unable to load after setting up SSL

2018-06-10 Thread Zheng Lin Edwin Yeo
at 21:30, Zheng Lin Edwin Yeo wrote: > Hi Chris, > > I have deployed these files on the {SolrHome}\server\etc folder. > > Currently this is the setting of the path in edm.in.cmd. > > set SOLR_SSL_KEY_STORE=etc/solr-ssl.keystore.jks > set SOLR_SSL_TRUST_STORE=etc/solr-s

Re: Setting preferred replica for query/read

2018-06-10 Thread Zheng Lin Edwin Yeo
Hi Shawn, Thanks for the info. Looking forward to having this functionality in Solr 7.4.0. Regards, Edwin On 9 June 2018 at 23:02, Shawn Heisey wrote: > On 6/9/2018 8:14 AM, Zheng Lin Edwin Yeo wrote: > >> Just to confirm my understanding, if I have 2 replicas, I should set both >> of them to

Re: Setting preferred replica for query/read

2018-06-09 Thread Shawn Heisey
On 6/9/2018 8:14 AM, Zheng Lin Edwin Yeo wrote: Just to confirm my understanding, if I have 2 replicas, I should set both of them to either NRT replicas or TLOG replicas, and not one of each. Then I set one of them to be PULL replica, which will be used for searching? There are multiple possibl

Re: Setting preferred replica for query/read

2018-06-09 Thread Zheng Lin Edwin Yeo
Hi Shawn, Just to confirm my understanding, if I have 2 replicas, I should set both of them to either NRT replicas or TLOG replicas, and not one of each. Then I set one of them to be PULL replica, which will be used for searching? Regards, Edwin On 8 June 2018 at 12:54, Shawn Heisey wrote: > O

Re: Collections unable to load after setting up SSL

2018-06-09 Thread Zheng Lin Edwin Yeo
Hi Chris, I have deployed these files on the {SolrHome}\server\etc folder. Currently this is the setting of the path in edm.in.cmd. set SOLR_SSL_KEY_STORE=etc/solr-ssl.keystore.jks set SOLR_SSL_TRUST_STORE=etc/solr-ssl.keystore.jks For your meaning of absolute paths actually start with a slash

Re: Collections unable to load after setting up SSL

2018-06-08 Thread Christopher Schultz
Edwin, On 6/8/18 12:02 PM, Zheng Lin Edwin Yeo wrote: > I followed the steps from > https://lucene.apache.org/solr/guide/7_3/enabling-ssl.html. > > 1) > > keytool -genkeypair -alias solr-ssl -keyalg RSA -keysize 2048 -keypass > secret -storepass secret -validity -keystore > solr-ssl.keystor

Re: Collections unable to load after setting up SSL

2018-06-08 Thread Zheng Lin Edwin Yeo
Hi, > > > > I am running SolrCloud on Solr 7.3.1 on External ZooKeeper 3.4.11, and I > am > > setting up the security aspect of Solr. > > > > After setting up the SSL based on the steps from > > https://lucene.apache.org/solr/guide/7_3/enabling-ssl.html, the

Re: Collections unable to load after setting up SSL

2018-06-08 Thread Christopher Schultz
Edwin, On 6/7/18 11:11 PM, Zheng Lin Edwin Yeo wrote: > Hi, > > I am running SolrCloud on Solr 7.3.1 on External ZooKeeper 3.4.11, and I am > setting up the security aspect of Solr. > > After setting up the SSL based on the steps from > https://lucene.apache.org/solr/guide/

Re: Setting preferred replica for query/read

2018-06-07 Thread Shawn Heisey
On 6/7/2018 9:17 PM, Zheng Lin Edwin Yeo wrote: Thanks for your reply. As currently we are looking at having a replica to do indexing, and another replica to be use for searching, these 2 requests looks like it can archive this purpose. Will this be implemented in the Solr 7.4 release? SOLR-1

Re: Setting preferred replica for query/read

2018-06-07 Thread Zheng Lin Edwin Yeo
which replicas to prefer. > > Regards, > Ere > > > Zheng Lin Edwin Yeo kirjoitti 4.6.2018 klo 19.09: > >> Hi, >> >> SOLR-8146 has not been updated since January last year, but I have just >> commented it. >> >> So we need both to be updated in

Collections unable to load after setting up SSL

2018-06-07 Thread Zheng Lin Edwin Yeo
Hi, I am running SolrCloud on Solr 7.3.1 on External ZooKeeper 3.4.11, and I am setting up the security aspect of Solr. After setting up the SSL based on the steps from https://lucene.apache.org/solr/guide/7_3/enabling-ssl.html, the collections that are with 2 replica are no longer able to be

Re: Setting preferred replica for query/read

2018-06-07 Thread Ere Maijala
.2018 klo 19.09: Hi, SOLR-8146 has not been updated since January last year, but I have just commented it. So we need both to be updated in order to achieve the full functionality of setting preferred replica for query/read? Currently, is there a way to achieve this by other means? Regards, E

Re: Setting preferred replica for query/read

2018-06-04 Thread Zheng Lin Edwin Yeo
Hi, SOLR-8146 has not been updated since January last year, but I have just commented it. So we need both to be updated in order to achieve the full functionality of setting preferred replica for query/read? Currently, is there a way to achieve this by other means? Regards, Edwin On 4 June

Re: Setting preferred replica for query/read

2018-06-04 Thread Ere Maijala
d in this regard. --Ere Zheng Lin Edwin Yeo kirjoitti 4.6.2018 klo 12.45: Hi, Is there any similarities between these two requests in the JIRA regarding setting of prefer replica function? (SOLR-11982) Add support for preferReplicaTypes parameter (SOLR-8146) Allowing SolrJ CloudSolrClient to

Setting preferred replica for query/read

2018-06-04 Thread Zheng Lin Edwin Yeo
Hi, Is there any similarities between these two requests in the JIRA regarding setting of prefer replica function? (SOLR-11982) Add support for preferReplicaTypes parameter (SOLR-8146) Allowing SolrJ CloudSolrClient to have preferred replica for query/read I am looking at setting one of the

Re: Setting up Solr Replica on different machine

2018-06-02 Thread Zheng Lin Edwin Yeo
. How should >> I go about configuring the setup? Like for example, should the replica >> node >> be started on the host machine, or on the replica machine? >> >> I will be setting this in Solr 7.3.1. >> > > What would you be trying to achieve by putting m

Re: Setting up Solr Replica on different machine

2018-06-01 Thread Shawn Heisey
On 5/31/2018 11:38 PM, Zheng Lin Edwin Yeo wrote: I am planning to set up Solr with replica on different machine. How should I go about configuring the setup? Like for example, should the replica node be started on the host machine, or on the replica machine? I will be setting this in Solr

Setting up Solr Replica on different machine

2018-05-31 Thread Zheng Lin Edwin Yeo
Hi, I am planning to set up Solr with replica on different machine. How should I go about configuring the setup? Like for example, should the replica node be started on the host machine, or on the replica machine? I will be setting this in Solr 7.3.1. Regards, Edwin

Re: Setting up MiniSolrCloudCluster to use pre-built index

2018-05-19 Thread Mark Miller
the long term way to do this would be to create a collection and then use the merge API or something to merge your index into the empty collection. - Mark On Sat, May 19, 2018 at 5:25 PM Ken Krugler wrote: > Hi all, > > Wondering if anyone has experience (this is with Solr 6.6) in s

Setting up MiniSolrCloudCluster to use pre-built index

2018-05-19 Thread Ken Krugler
Hi all, Wondering if anyone has experience (this is with Solr 6.6) in setting up MiniSolrCloudCluster for unit testing, where we want to use an existing index. Note that this index wasn’t built with SolrCloud, as it’s generated by a distributed (Hadoop) workflow. So there’s no “restore from

Re: Setting Up Solr Authentication/Authorization

2018-03-09 Thread Shawn Heisey
On 3/9/2018 9:27 AM, Terry Steichen wrote: > I'm trying to set up basic authentication/authorization with solr 6.6.0. > > The documentation says to create a security.json file and describes the > content as: > > { > "authentication":{ >"class":"solr.BasicAuthPlugin", >"credentials":{"solr":

Setting Up Solr Authentication/Authorization

2018-03-09 Thread Terry Steichen
I'm trying to set up basic authentication/authorization with solr 6.6.0. The documentation says to create a security.json file and describes the content as: { "authentication":{ "class":"solr.BasicAuthPlugin", "credentials":{"solr":"IV0EHq1OnNrj6gvRCwvFwTrZ1+z1oBbnQdiVC3otuq0= Ndd7LKvVBAaZ

Re: Do i need to reindex after changing similarity setting

2017-11-30 Thread Nawab Zada Asad Iqbal
time. >>> >>> wunder >>> Walter Underwood >>> wun...@wunderwood.org >>> http://observer.wunderwood.org/ (my blog) >>> >>> >>> > On Nov 20, 2017, at 4:57 PM, Nawab Zada Asad Iqbal >>> wrote: >>> > >&g

Re: Do i need to reindex after changing similarity setting

2017-11-30 Thread Nawab Zada Asad Iqbal
un...@wunderwood.org >> http://observer.wunderwood.org/ (my blog) >> >> >> > On Nov 20, 2017, at 4:57 PM, Nawab Zada Asad Iqbal >> wrote: >> > >> > Hi, >> > >> > I want to switch to Classic similarity instead of BM25 (default in >> solr7). >> > Do I need to reindex all cores after this? Or is it only a query time >> > setting? >> > >> > >> > Thanks >> > Nawab >> >>

Re: Do i need to reindex after changing similarity setting

2017-11-22 Thread Nawab Zada Asad Iqbal
te: > > > > Hi, > > > > I want to switch to Classic similarity instead of BM25 (default in > solr7). > > Do I need to reindex all cores after this? Or is it only a query time > > setting? > > > > > > Thanks > > Nawab > >

Re: Do i need to reindex after changing similarity setting

2017-11-20 Thread Walter Underwood
eed to reindex all cores after this? Or is it only a query time > setting? > > > Thanks > Nawab

Do i need to reindex after changing similarity setting

2017-11-20 Thread Nawab Zada Asad Iqbal
Hi, I want to switch to Classic similarity instead of BM25 (default in solr7). Do I need to reindex all cores after this? Or is it only a query time setting? Thanks Nawab

programmatically setting filter query not working for me

2017-07-31 Thread Steve Pruitt
My use case is programmatically setting a query filter before executing the query. I have a search component in the /select first-components list. This component determines the filter query value and sets it in the process method. I pass in a custom param to trigger the filter creation I grab

Re: Setting q parameter for fetch Streaming expression

2017-06-13 Thread Zheng Lin Edwin Yeo
gt; > parameter for the "addresses" collection? > > In the below example from the Solr Documentation, it is only setting the > q > > parameter for the "people" collection. > > > > I'm using Solr 6.5.1. > > > > fetch(addresses, >

Re: Setting q parameter for fetch Streaming expression

2017-06-13 Thread Joel Bernstein
Zheng Lin Edwin Yeo wrote: > Hi, > > For the Streaming expression on Fetch, is it possible to have set the q > parameter for the "addresses" collection? > In the below example from the Solr Documentation, it is only setting the q > parameter for the "people"

Setting q parameter for fetch Streaming expression

2017-06-13 Thread Zheng Lin Edwin Yeo
Hi, For the Streaming expression on Fetch, is it possible to have set the q parameter for the "addresses" collection? In the below example from the Solr Documentation, it is only setting the q parameter for the "people" collection. I'm using Solr 6.5.1. fetch(addresse

Multiple Solr configuration / how to check setting

2017-05-22 Thread Arvind
context: http://lucene.472066.n3.nabble.com/Multiple-Solr-configuration-how-to-check-setting-tp4336278.html Sent from the Solr - User mailing list archive at Nabble.com.

NonRepeatableRequestException Error during indexing after setting up Basic Authentication

2017-04-11 Thread Zheng Lin Edwin Yeo
Hi, I'm getting an error with indexing using SolrJ after setting up the Basic Authentication with the following code. Credentials defaultcreds = new UsernamePasswordCredentials("id", "password"); appendAuthentication(defaultcreds, "BASIC", solr); priva

Re: Setting up to index multiple datastores

2017-03-05 Thread Erick Erickson
bq: Is each shard/replica/core in fact a separate instance? No. I'm defining "instance" here as a JVM running Solr. And be careful here, a "shard" is made up of one or more "replicas". Those replicas may or may not be distributed amongst separate JVMs/machines. Each replica of a given shard has t

Re: Setting up to index multiple datastores

2017-03-05 Thread Daniel Miller
On 3/4/2017 12:00 PM, Shawn Heisey wrote: On 3/3/2017 11:28 PM, Daniel Miller wrote: What I think I want is create a single collection, with a shard/replica/core per user. Or maybe I'm wanting a separate collection per user - which would again mean a single shard/replica/core. But it seems lik

Re: Setting up to index multiple datastores

2017-03-04 Thread Shawn Heisey
On 3/3/2017 11:28 PM, Daniel Miller wrote: > What I think I want is create a single collection, with a > shard/replica/core per user. Or maybe I'm wanting a separate > collection per user - which would again mean a single > shard/replica/core. But it seems like each shard/replica/core is a > sepa

Re: Setting up to index multiple datastores

2017-03-03 Thread Daniel Miller
On 3/2/2017 5:14 PM, Shawn Heisey wrote: On 3/2/2017 2:58 PM, Daniel Miller wrote: I'm asking for some guidance on how I might optimize Solr. I use Solr for work. I use Dovecot for personal domains. I have not used them together. I probably should -- my personal mailbox is many gigabytes and

Re: Setting up to index multiple datastores

2017-03-02 Thread Shawn Heisey
On 3/2/2017 6:44 PM, Alexandre Rafalovitch wrote: > And if you are not using SolrCloud, you can have > collection=shard=core, so the terminology gets confused. But you can > definitely have many cores on one mail server. You can also make them > lazy, so not all cores have to be loaded. That would

Re: Setting up to index multiple datastores

2017-03-02 Thread Alexandre Rafalovitch
And if you are not using SolrCloud, you can have collection=shard=core, so the terminology gets confused. But you can definitely have many cores on one mail server. You can also make them lazy, so not all cores have to be loaded. That would definitely allow you to have a core per user and only sear

Re: Setting up to index multiple datastores

2017-03-02 Thread Shawn Heisey
On 3/2/2017 2:58 PM, Daniel Miller wrote: > One of the many features of the Dovecot IMAP server is Solr support. > This obviously provides full-text-searching of stored mails - and it > works great. But...the focus of the Dovecot team and mailing list is > Dovecot configuration. I'm asking for s

Setting up to index multiple datastores

2017-03-02 Thread Daniel Miller
One of the many features of the Dovecot IMAP server is Solr support. This obviously provides full-text-searching of stored mails - and it works great. But...the focus of the Dovecot team and mailing list is Dovecot configuration. I'm asking for some guidance on how I might optimize Solr. A

Re: Setting Solr data dir isn't really working (6.3.0)

2017-02-24 Thread Walter Underwood
/observer.wunderwood.org/ (my blog) >>> >>> >>>> On Feb 24, 2017, at 8:30 AM, Shawn Heisey wrote: >>>> >>>> On 2/23/2017 6:41 PM, Walter Underwood wrote: >>>>> I did this in the solrconfig.xml for both collections (tutors and &g

Re: Setting Solr data dir isn't really working (6.3.0)

2017-02-24 Thread Erick Erickson
>>> On 2/23/2017 6:41 PM, Walter Underwood wrote: >>>> I did this in the solrconfig.xml for both collections (tutors and >>>> questions). >>>> >>>> /solr/data >>>> >>>> I deleted the old collection indexes, reloaded, r

Re: Setting Solr data dir isn't really working (6.3.0)

2017-02-24 Thread Walter Underwood
ions). >>> >>> /solr/data >>> >>> I deleted the old collection indexes, reloaded, restarted, and created a >>> new collection for “tutors". And I see this on the disk. >> >> Setting dataDir in solrconfig.xml, especially to an absolute pa

  1   2   3   4   5   6   7   >