Solr Server Context Filtering in Auto Suggester not working

2020-08-26 Thread Viktor Bonchevski
Hello , I opened a bug issue not knowing it's not the correct place to ask the question at hand, So I was directed to send an e-mail to the mailing list, hopefully I'm correct this time. Here's a link to the issue opened: https://issues.apache.org/jira/browse/SOLR-14780?page=com.atlassian.jira.pl

Re: How to Password Protect Apache Solr Server Admin Pages in Solr cloud mode

2020-04-26 Thread Jan Høydahl
d when one of those returns a "401 Not Authorized" >> response, you will be sent to the login screen to provide credentials. >> >> Jan >> >>>> 24. apr. 2020 kl. 06:36 skrev Amy Bai : >>> >>> Hi community, >>> >>> I the

Re: How to Password Protect Apache Solr Server Admin Pages in Solr cloud mode

2020-04-25 Thread Amy Bai
ns a "401 Not Authorized" > response, you will be sent to the login screen to provide credentials. > > Jan > > > 24. apr. 2020 kl. 06:36 skrev Amy Bai : > > > > Hi community, > > > > I there any way to password protect apache solr server admin pages in >

Re: How to Password Protect Apache Solr Server Admin Pages in Solr cloud mode

2020-04-24 Thread Jan Høydahl
, and when one of those returns a "401 Not Authorized" response, you will be sent to the login screen to provide credentials. Jan > 24. apr. 2020 kl. 06:36 skrev Amy Bai : > > Hi community, > > I there any way to password protect apache solr server admin pages in solr

How to Password Protect Apache Solr Server Admin Pages in Solr cloud mode

2020-04-24 Thread Amy Bai
Hi community, I there any way to password protect apache solr server admin pages in solr cloud mode? Something like when I open the server admin pages, there will be a login page need user and password input. I learn that modify jetty.xml could work in standalone mode, how about in solr cloud

Re: Time out problems with the Solr server 8.4.1

2020-02-27 Thread Massimiliano Randazzo
Massimiliano Randazzo < > > > massimiliano.randa...@gmail.com> wrote: > > > > > > > > Il giorno mer 26 feb 2020 alle ore 19:30 Dario Rigolin < > > > > dario.rigo...@comperio.it> ha scritto: > > > > > > > >> You can avoid com

Re: Time out problems with the Solr server 8.4.1

2020-02-27 Thread Dario Rigolin
mer 26 feb 2020 alle ore 19:30 Dario Rigolin < > > > dario.rigo...@comperio.it> ha scritto: > > > > > >> You can avoid commit and leave solr do autocommit at certain times. > > >> Or use softcommit if you have search queries at the same time to &

Re: Time out problems with the Solr server 8.4.1

2020-02-26 Thread Massimiliano Randazzo
> You can avoid commit and leave solr do autocommit at certain times. > >> Or use softcommit if you have search queries at the same time to answer. > >> 55 pages of 3500 words isn't a big deal for a solr server, what's > the > >> hardware configuration? &g

Re: Time out problems with the Solr server 8.4.1

2020-02-26 Thread Walter Underwood
;> >> Il giorno mer 26 feb 2020 alle ore 19:30 Dario Rigolin < >> dario.rigo...@comperio.it> ha scritto: >> >>> You can avoid commit and leave solr do autocommit at certain times. >>> Or use softcommit if you have search queries at the same time to answe

Re: Time out problems with the Solr server 8.4.1

2020-02-26 Thread Vincenzo D'Amore
eb 2020 alle ore 19:30 Dario Rigolin < > dario.rigo...@comperio.it> ha scritto: > >> You can avoid commit and leave solr do autocommit at certain times. >> Or use softcommit if you have search queries at the same time to answer. >> 55 pages of 3500 words isn&

Re: Time out problems with the Solr server 8.4.1

2020-02-26 Thread Massimiliano Randazzo
big deal for a solr server, what's the > hardware configuration? > The solr instance runs on a server with the following configuration: 12 core Intel(R) Xeon(R) CPU E5-2620 v3 @ 2.40GHz 64GB Ram solr's DataDir is on a volume of another server that I mounted via NFS (I was think

Re: Time out problems with the Solr server 8.4.1

2020-02-26 Thread Dario Rigolin
You can avoid commit and leave solr do autocommit at certain times. Or use softcommit if you have search queries at the same time to answer. 55 pages of 3500 words isn't a big deal for a solr server, what's the hardware configuration? What's you single solr document a sing

Time out problems with the Solr server 8.4.1

2020-02-26 Thread Massimiliano Randazzo
instance at the same time, at the beginning everything is fine after a while when I add, delete or commit it gives me a TimeOut error towards the solr server. I suspect the problem is due to the fact that it is that I do many commit operations of many docs at a time (practically if the newspaper is 30

Re: Unable to start solr server on "Ubuntu 18.04 bash shell on Windows 10"

2020-02-20 Thread Susheel Kumar
ednesday, February 19, 2020 6:34 PM > > To: solr-user@lucene.apache.org > > Subject: Unable to start solr server on "Ubuntu 18.04 bash shell on > Windows > > 10" > > > > Hello, > > > > I am using Linux bash sell (Ubuntu app) on Windows 10 to run Sol

RE: Unable to start solr server on "Ubuntu 18.04 bash shell on Windows 10"

2020-02-20 Thread Vadim Ivanov
mail.com] > Sent: Wednesday, February 19, 2020 6:34 PM > To: solr-user@lucene.apache.org > Subject: Unable to start solr server on "Ubuntu 18.04 bash shell on Windows > 10" > > Hello, > > I am using Linux bash sell (Ubuntu app) on Windows 10 to run Solr on Ubuntu &

Unable to start solr server on "Ubuntu 18.04 bash shell on Windows 10"

2020-02-19 Thread Prabhat Awasthi
Hello, I am using Linux bash sell (Ubuntu app) on Windows 10 to run Solr on Ubuntu 18.04. $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description:Ubuntu 18.04.2 LTS Release:18.04 Codename: bionic I already installed Java8 (Openjdk) on my Ubuntu environ

Re: Need help in GeoSpatial Searching into Solr Server

2019-12-23 Thread Erick Erickson
Why are you using text field for location? You must use the proper field type. You need to follow the instructions in the “spatial search” section of the reference guide, here’s the ref guide for Solr 7: https://lucene.apache.org/solr/guide/7_7/spatial-search.html Best, Erick > On Dec 23, 201

Need help in GeoSpatial Searching into Solr Server

2019-12-23 Thread niraj kumar
I have 100 documents into Solr, type of location field is *org.apache.solr.schema.TextField.* I am unable to run any query to search nearby points with reference to that field. So if you can help into it or provide some program reference in JAVA with same kind of implementation. Thanks, Niraj

Re: Production Issue: cannot connect to solr server suddenly

2019-11-27 Thread Vignan Malyala
Sure! Error: Failed to connect to server at ' http://127.0.0.1:8983/solr/my_core/update/?commit=true ', are y

Re: Production Issue: cannot connect to solr server suddenly

2019-11-26 Thread Paras Lehana
Hi Sai, Please elaborate. What language is the code written in? Why is there google.com in the query? Max retries exceeded with url This happens when you make too many requests on a server than allowed. Check with server at solradmin in case you have DoS or related policy preventing this. On M

Production Issue: cannot connect to solr server suddenly

2019-11-25 Thread Vignan Malyala
I don't get this error always. At certain times, I get this error with my Solr suddenly. However, If I check my Solr url, it will be working but. When I want to update via code, it will not work. Please help me out with this. ERROR: *Failed to connect to server at 'http://127.0.0.1:8983/solr/my_co

Re: Issue : Solr Server becoming Un-responsive

2019-08-07 Thread Jörn Franke
Zookeeper on the same machine? Maybe you take memory from it? Do you observe swapping? Normally your memory should be much larger than heap, because Spark heavily uses os caches, which are not on heap. > Am 07.08.2019 um 15:22 schrieb Abhimeet, Kumar : > > Hi Team, > > > > We are facing an

Re: Issue : Solr Server becoming Un-responsive

2019-08-07 Thread Shawn Heisey
On 8/7/2019 7:22 AM, Abhimeet, Kumar wrote: We are facing an issue of Solr becoming unresponsive after every 2-3 Hrs. We recently increased the allocated JVM size on Solr up to 11GB, since then the issue is very frequent. Find the attached thread dumps. I'm amazed that the attachment made

Issue : Solr Server becoming Un-responsive

2019-08-07 Thread Abhimeet, Kumar
Hi Team, We are facing an issue of Solr becoming unresponsive after every 2-3 Hrs. We recently increased the allocated JVM size on Solr up to 11GB, since then the issue is very frequent. Current Java Settings on Solr are: java -server -Xms11095m -Xmx11095m -XX:NewRatio=3 -XX:SurvivorRatio=4

Re: An exception when running Solr on HDFS,why a solr server can not recognize the write.lock file is created by itself before?

2018-08-27 Thread zhenyuan wei
@Shawn Heisey Yeah, delete "write.lock" files manually is ok finally。 @Walter Underwood Have some performace evaluation about Solr on HDFS vs LocalFS recently? Shawn Heisey 于2018年8月28日周二 上午4:10写道: > On 8/26/2018 7:47 PM, zhenyuan wei wrote: > > I found an exception when running Solr on H

Re: An exception when running Solr on HDFS,why a solr server can not recognize the write.lock file is created by itself before?

2018-08-27 Thread Shawn Heisey
On 8/26/2018 7:47 PM, zhenyuan wei wrote: I found an exception when running Solr on HDFS。The detail is: Running solr on HDFS,and update doc was running always, then,kill -9 solr JVM or reboot linux os/shutdown linux os,then restart all. If you use "kill -9" to stop a Solr instance, the loc

Re: An exception when running Solr on HDFS,why a solr server can not recognize the write.lock file is created by itself before?

2018-08-27 Thread Walter Underwood
ecutor.java:1147) >>>at >>> >> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622) >>>at java.lang.Thread.run(Thread.java:834) >>> Caused by: org.apache.solr.common.SolrException: Index dir >>> &#

Re: An exception when running Solr on HDFS,why a solr server can not recognize the write.lock file is created by itself before?

2018-08-27 Thread zhenyuan wei
readPoolExecutor.java:622) > > at java.lang.Thread.run(Thread.java:834) > > Caused by: org.apache.solr.common.SolrException: Index dir > > 'hdfs://hdfs-cluster/solr/collection002/core_node113/data/index/' of core > > 'collection002_shard56_replica_n110' is already locked. The most

Re: An exception when running Solr on HDFS,why a solr server can not recognize the write.lock file is created by itself before?

2018-08-26 Thread Erick Erickson
adPoolExecutor$Worker.run(ThreadPoolExecutor.java:622) > at java.lang.Thread.run(Thread.java:834) > Caused by: org.apache.solr.common.SolrException: Index dir > 'hdfs://hdfs-cluster/solr/collection002/core_node113/data/index/' of core > 'collection002_shard56_replica

An exception when running Solr on HDFS,why a solr server can not recognize the write.lock file is created by itself before?

2018-08-26 Thread zhenyuan wei
) at java.lang.Thread.run(Thread.java:834) Caused by: org.apache.solr.common.SolrException: Index dir 'hdfs://hdfs-cluster/solr/collection002/core_node113/data/index/' of core 'collection002_shard56_replica_n110' is already locked. The most likely cause is another Solr server (or

Re: Solr Server crashes when requesting a result with too large resultRows

2018-08-08 Thread Toke Eskildsen
On Tue, 2018-07-31 at 11:12 +0200, Fette, Georg wrote: > I agree that receiving too much data in one request is bad. But I > was surprised that the query works with a lower but still very large > rows parameter and that there is a threshold at which it crashes the > server.  > Furthermore, it seems

Re: Solr Server crashes when requesting a result with too large resultRows

2018-07-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Georg, On 7/31/18 12:33 PM, Georg Fette wrote: > Yes ist is only one of the processors that is at maximum capacity. Ok. > How do I do something like a thread-dump of a single thread ? Here's how to get a thread dump of the whole JVM: https://wiki

Re: Solr Server crashes when requesting a result with too large resultRows

2018-07-31 Thread Georg Fette
Hi Christoph, Yes ist is only one of the processors that is at maximum capacity. How do I do something like a thread-dump of a single thread ? We run the Solr from the command line out-of-the-box and not in a code development environment. Are there parameters that can be configured so that the ser

Re: Solr Server crashes when requesting a result with too large resultRows

2018-07-31 Thread Shawn Heisey
On 7/31/2018 2:39 AM, Georg Fette wrote: We run the server version 7.3.1. on a machine with 32GB RAM in a mode having -10g. When requesting a query with q={!boost b=sv_int_catalog_count_document}string_catalog_aliases:(*2*)&fq=string_field_type:catalog_entry&rows=2147483647 the server takes

Re: Solr Server crashes when requesting a result with too large resultRows

2018-07-31 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Georg, On 7/31/18 4:39 AM, Georg Fette wrote: > We run the server version 7.3.1. on a machine with 32GB RAM in a > mode having -10g. > > When requesting a query with > > q={!boost > b=sv_int_catalog_count_document}string_catalog_aliases:(*2*)&fq=

Re: Solr Server crashes when requesting a result with too large resultRows

2018-07-31 Thread Andrea Gazzarini
Yes, but 581 is the final number you got in the response, which is the result of the main query intersected with the filter query so I wouldn't take in account this number. The main and the filter query are executed separately, so I guess (but I'm guessing because I don't know these internals)

Re: Solr Server crashes when requesting a result with too large resultRows

2018-07-31 Thread Fette, Georg
Hi Andrea, I agree that receiving too much data in one request is bad. But I was surprised that the query works with a lower but still very large rows parameter and that there is a threshold at which it crashes the server. Furthermore, it seems that the reason for the crash is not the size of

Solr Server crashes when requesting a result with too large resultRows

2018-07-31 Thread Georg Fette
We run the server version 7.3.1. on a machine with 32GB RAM in a mode having -10g. When requesting a query with q={!boost b=sv_int_catalog_count_document}string_catalog_aliases:(*2*)&fq=string_field_type:catalog_entry&rows=2147483647 the server takes all available memory up to 10GB and is th

Re: Solr Server crashes when requesting a result with too large resultRows

2018-07-31 Thread Andrea Gazzarini
Hi Georg, I would say, without knowing your context, that this is not what Solr is supposed to do. You're asking to load everything in a single request/response and this poses a problem. Since I guess that, even we assume it works, you should then iterate those results one by one or in blocks,

RE: Solr Server crashes when requesting a result with too large resultRows

2018-07-31 Thread Markus Jelsma
solr-user@lucene.apache.org > Subject: Solr Server crashes when requesting a result with too large > resultRows > > Hello, > We run the server version 7.3.1. on a machine with 32GB RAM in a mode > having -10g. > When requesting a query with > q={!boost > b=sv_int_catalog_c

Solr Server crashes when requesting a result with too large resultRows

2018-07-31 Thread Georg Fette
Hello, We run the server version 7.3.1. on a machine with 32GB RAM in a mode having -10g. When requesting a query with q={!boost b=sv_int_catalog_count_document}string_catalog_aliases:(*2*)&fq=string_field_type:catalog_entry&rows=2147483647 the server takes all available memory up to 10GB and i

Re: Importance of having the lsof utility on our solr server VMs

2018-06-29 Thread THADC
Thanks. I think that's a good point that it helps recognize port conflict at start up. Although that scenario is unlikely in my case, I am going to try to get it installed. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Importance of having the lsof utility on our solr server VMs

2018-06-28 Thread Shawn Heisey
On 6/28/2018 11:22 AM, THADC wrote: > Today I am running the ./bin/solr command from new VMs that apparently don't > have the lsof command installed. I noticed a warning message saying the > command needs lsof in order to determine if solr is listening on the port I > am trying to have it run on. B

Importance of having the lsof utility on our solr server VMs

2018-06-28 Thread THADC
Hello, Today I am running the ./bin/solr command from new VMs that apparently don't have the lsof command installed. I noticed a warning message saying the command needs lsof in order to determine if solr is listening on the port I am trying to have it run on. But then is says its started anyway.

Query logs when query reached the solr server

2018-05-31 Thread Nawab Zada Asad Iqbal
Hi, 1. Is there a way to enable query log when the query first reached the solr server? 2. In recent Solr versions, there is a NOW value in the query log. Is it correct to assume that this is the time when query arrived on that server? Thanks Nawab

Re: Run solr server using Java program

2018-04-21 Thread TK Solr
y relevant answer. In order to run the solr server, i execute following command inside directory: D:\software\solr-7.2.0\solr-7.2.0\bin " /solr.cmd -s "C:\Users\lucky\github\myproject\solr-config"/ " After that I access to " /http://localhost:8983/solr// " an

Re: Run solr server using Java program

2018-04-20 Thread Shawn Heisey
On 4/20/2018 6:01 AM, rameshkjes wrote: Using solrJ, I am able to access the solr core. But still I need to go to command prompt to execute command for solr instance. Is there way to do that? I saw that you entered the IRC channel previouslyand asked the same question, but I got no response fr

Re: Run solr server using Java program

2018-04-20 Thread Alessandro Benedetti
To do what? If you mean to start a Solr Server instance, you have the solr.sh ( or the windows starter). You can set up your automation stack to be able to startup Solr one click. SolrJ is a client which means you need Solr up and running. Cheers On Fri, 20 Apr 2018, 16:51 rameshkjes, wrote

Re: Run solr server using Java program

2018-04-20 Thread rameshkjes
Using solrJ, I am able to access the solr core. But still I need to go to command prompt to execute command for solr instance. Is there way to do that? -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Run solr server using Java program

2018-04-20 Thread Alessandro Benedetti
There are various client API to use Apache Solr[1], in your case what you need is SolrJ[2] . Cheers [1] https://lucene.apache.org/solr/guide/7_3/client-apis.html [2] https://lucene.apache.org/solr/guide/7_3/using-solrj.html#using-solrj - --- Alessandro Benedetti Search Consulta

Run solr server using Java program

2018-04-18 Thread rameshkjes
Hi guys, I am able to run the solr instance, add the core and import the data manually. But I want to do everything with the help of Java program, I searched a lot but did not find any relevant answer. In order to run the solr server, i execute following command inside directory: D:\software

Re: Solr server configuration

2018-01-15 Thread Emir Arnautović
Hi Deepak, Here is another blog post containing some thought how it can be estimated. http://www.od-bits.com/2018/01/solrelasticsearch-capacity-planning.html HTH, Emir -- Monitoring - Log Management - Alerting - Anomaly De

Re: Solr server configuration

2018-01-12 Thread Erick Erickson
First, it's totally impossible to answer in the abstract, see: https://lucidworks.com/2012/07/23/sizing-hardware-in-the-abstract-why-we-dont-have-a-definitive-answer/ Second, indexing DB tables directly into Solr is usually the wrong approach. Solr is not a replacement for a relational DB, it does

Solr server configuration

2018-01-12 Thread Deepak Nair
Hello, We want to implement Solr 7.x for one of our client with below requirement. 1. The data to be index will be from 2 Oracle databases with 2 tables each and around 10 columns. 2. The data volume is expected to be reach around 10 million in each table. 3. 4000+ users wi

Re: Solr server partial update is very slow

2017-11-12 Thread Sujay Bawaskar
on the server. 40GB to cache a 100GB index might be enough for > good performance, or it might not be enough. There are no easy formulas > for figuring that out.A heap that size is also likely to experience some > occasional stop-the-world GC pauses that could take a VERY long time

Re: Solr server partial update is very slow

2017-11-12 Thread Shawn Heisey
experience some occasional stop-the-world GC pauses that could take a VERY long time. My dev Solr server (6.6.2-SNAPSHOT) has all of the indexes on it that use several servers in production.  That's over 700GB of index data.  This server runs with a 28GB heap, and the only reason it's *that*

Re: Solr server partial update is very slow

2017-11-10 Thread Sujay Bawaskar
Hi Erick, Some of the partial updates are taking huge time. Average QTime for updates in 15 minute interval is 14344. 2017-11-10 08:15:11.863 INFO (qtp225493257-43961) [ x:collection] o.a.s.c.S.Request [collection] webapp=/solr path=/update params={wt=javabin&version=2} status=0 QTime=1007390

Re: Solr server partial update is very slow

2017-11-09 Thread Sujay Bawaskar
Any reason we get below log even if client does not issue commit or we can ignore this log? Log: 2017-11-10 05:13:33.730 INFO (qtp225493257-38746) [ x:collection] o.a.s.s.SolrIndexSearcher Opening [Searcher@7010b1c6[collection] realtime] On Fri, Nov 10, 2017 at 12:06 PM, Sujay Bawaskar wrote:

Re: Solr server partial update is very slow

2017-11-09 Thread Sujay Bawaskar
We are not issuing client side commit for partial update. We have openSearcher=false in solrconfig.xml, in this case we have set softCommit interval as 15 minutes. Solr version is 6.4.1. Thanks, Sujay On Fri, Nov 10, 2017 at 11:58 AM, Erick Erickson wrote: > bq: We are getting below log without

Re: Solr server partial update is very slow

2017-11-09 Thread Erick Erickson
bq: We are getting below log without invoking commit operation after every partial update call Not sure what you mean here. If you're issuing a commit from the client every time you update a doc (or even a batch) that's an anti-pattern and you're opening searchers all the time. Don't do that ;).

Solr server partial update is very slow

2017-11-09 Thread Sujay Bawaskar
Hi, We are getting below log without invoking commit operation after every partial update call. We have configured soft commit and commit time as below. With below configuration we are able to perform 800 partial updates per minutes which I think is very slow. Our Index size is 10GB for this parti

RE: adding documents to a secured solr server.

2017-11-02 Thread Phil Scadden
Yes, that worked. -Original Message- From: Shawn Heisey [mailto:apa...@elyograg.org] Sent: Thursday, 2 November 2017 6:14 p.m. To: solr-user@lucene.apache.org Subject: Re: adding documents to a secured solr server. On 11/1/2017 10:04 PM, Phil Scadden wrote: > For testing, I changed

Re: adding documents to a secured solr server.

2017-11-01 Thread Shawn Heisey
On 11/1/2017 10:04 PM, Phil Scadden wrote: For testing, I changed to HttpSolrClient and specifying the core on process and commit instead of opening it as server/core. This time worked... sort of. Despite deleting the entire index with deletebyquery and seeing that it was empty in the coreAdmi

RE: adding documents to a secured solr server.

2017-11-01 Thread Phil Scadden
November 2017 5:04 p.m. To: solr-user@lucene.apache.org Subject: RE: adding documents to a secured solr server. For testing, I changed to HttpSolrClient and specifying the core on process and commit instead of opening it as server/core. This time worked... sort of. Despite deleting the entire index

RE: adding documents to a secured solr server.

2017-11-01 Thread Phil Scadden
ess to the server. This is a frustrating problem. -Original Message- From: Shawn Heisey [mailto:elyog...@elyograg.org] Sent: Thursday, 2 November 2017 3:55 p.m. To: solr-user@lucene.apache.org Subject: Re: adding documents to a secured solr server. On 11/1/2017 8:13 PM, Phil Scadden wrot

RE: adding documents to a secured solr server.

2017-11-01 Thread Phil Scadden
: adding documents to a secured solr server. On 11/1/2017 8:13 PM, Phil Scadden wrote: > 14:52:45,962 DEBUG ConcurrentUpdateSolrClient:177 - starting runner: > org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrClient$Runner@6e > eba4a > 14:52:46,224 WARN ConcurrentUpdateSolrClient:343

Re: adding documents to a secured solr server.

2017-11-01 Thread Shawn Heisey
On 11/1/2017 8:13 PM, Phil Scadden wrote: 14:52:45,962 DEBUG ConcurrentUpdateSolrClient:177 - starting runner: org.apache.solr.client.solrj.impl.ConcurrentUpdateSolrClient$Runner@6eeba4a 14:52:46,224 WARN ConcurrentUpdateSolrClient:343 - Failed to parse error response from http://online-dev.gn

Re: adding documents to a secured solr server.

2017-11-01 Thread Shawn Heisey
trong caution: ConcurrentUpdateSolrClient swallows all indexing errors. If the Solr server were completely down, you would not see any exceptions on "add" calls, even though the requests all would fail ... the program would only get an error on the "commit" call, and

RE: Stateless queries to secured SOLR server.

2017-11-01 Thread Phil Scadden
] Sent: Thursday, 2 November 2017 3:13 p.m. To: solr-user@lucene.apache.org Subject: Re: Stateless queries to secured SOLR server. On 11/1/2017 4:22 PM, Phil Scadden wrote: > Except that I am using solrj in an intermediary proxy and passing the > response directly to a javascript client. It is

Re: Stateless queries to secured SOLR server.

2017-11-01 Thread Shawn Heisey
On 11/1/2017 4:22 PM, Phil Scadden wrote: Except that I am using solrj in an intermediary proxy and passing the response directly to a javascript client. It is expect json or csv depending on what it passes in wt= That's a different use case than I had imagined. Thanks for the detail. My st

RE: adding documents to a secured solr server.

2017-11-01 Thread Phil Scadden
w UpdateRequest(); up.setBasicAuthCredentials("solrAdmin",password); up.deleteByQuery("*:*"); up.setCommitWithin(1000); up.process(solr); -Original Message- From: Phil Scadden [mailto:p.scad...@gns.cri.nz] Sent: Thursday, 2 No

RE: adding documents to a secured solr server.

2017-11-01 Thread Phil Scadden
om: Phil Scadden [mailto:p.scad...@gns.cri.nz] Sent: Thursday, 2 November 2017 11:28 a.m. To: solr-user@lucene.apache.org Subject: adding documents to a secured solr server. Solrj QueryRequest object has a method to set basic authorization username/password but what is the equivalent way to p

adding documents to a secured solr server.

2017-11-01 Thread Phil Scadden
Solrj QueryRequest object has a method to set basic authorization username/password but what is the equivalent way to pass authorization when you are adding new documents to an index? ConcurrentUpdateSolrClient solr = new ConcurrentUpdateSolrClient(solrProperties.getServer(),10,2); ...

RE: Stateless queries to secured SOLR server.

2017-11-01 Thread Phil Scadden
: solr-user@lucene.apache.org Subject: Re: Stateless queries to secured SOLR server. On 10/31/2017 2:08 PM, Phil Scadden wrote: > Thanks Shawn. I have done it with SolrJ. Apart from needing the > NoopResponseParser to handle the wt=, it was pretty painless. This is confusing to me, because with

Re: Stateless queries to secured SOLR server.

2017-11-01 Thread Shawn Heisey
On 10/31/2017 2:08 PM, Phil Scadden wrote: Thanks Shawn. I have done it with SolrJ. Apart from needing the NoopResponseParser to handle the wt=, it was pretty painless. This is confusing to me, because with SolrJ, you do not need to be concerned with the response format *AT ALL*. You don't n

RE: Stateless queries to secured SOLR server.

2017-10-31 Thread Phil Scadden
: Stateless queries to secured SOLR server. On 10/29/2017 6:13 PM, Phil Scadden wrote: > While SOLR is behind a firewall, I want to now move to a secured SOLR > environment. I had been hoping to keep SOLRJ out of the picture and just > using httpURLConnection. However, I also don't wa

Re: Stateless queries to secured SOLR server.

2017-10-31 Thread Shawn Heisey
On 10/29/2017 6:13 PM, Phil Scadden wrote: > While SOLR is behind a firewall, I want to now move to a secured SOLR > environment. I had been hoping to keep SOLRJ out of the picture and just > using httpURLConnection. However, I also don't want to maintain session > state, preferring to send auth

Stateless queries to secured SOLR server.

2017-10-29 Thread Phil Scadden
While SOLR is behind a firewall, I want to now move to a secured SOLR environment. I had been hoping to keep SOLRJ out of the picture and just using httpURLConnection. However, I also don't want to maintain session state, preferring to send authentication with every request. Is this possible wit

Re: Running Solr-Server inside other process

2017-08-27 Thread Erick Erickson
Take a look at the usages in Solr tests, and the class's constructor, it's pretty straightforward. It extends SolrClient so once you create one you can use it as you would connecting to a remote Solr server. Note that the core you specify for some of the c'tors is the _defaul

Re: Running Solr-Server inside other process

2017-08-27 Thread S G
Thanks Erick, Yes, this seems to be what I want. Is there a good example of how to use it? Thanks SG On Thu, Aug 24, 2017 at 5:02 PM, Erick Erickson wrote: > Solr has the EmbeddedSolrServer is that what you're looking for? > > Best, > Erick > > On Thu, Aug 24, 2017 at 11:15 AM, S G wrote: >

Re: Running Solr-Server inside other process

2017-08-24 Thread Erick Erickson
Solr has the EmbeddedSolrServer is that what you're looking for? Best, Erick On Thu, Aug 24, 2017 at 11:15 AM, S G wrote: > Hi, > > We are looking to run Solr in-memory for testing and examples. > > For example: > 1) Cassandra has cassandra-unit: > https://github.com/jsevellec/cassandra-unit/wik

Running Solr-Server inside other process

2017-08-24 Thread S G
Hi, We are looking to run Solr in-memory for testing and examples. For example: 1) Cassandra has cassandra-unit: https://github.com/jsevellec/cassandra-unit/wiki/How-to-use-it-in-your-code 2) Storm has local-mode: http://storm.apache.org/releases/current/Local-mode.html Is there something simil

RE: Enabling SSL in solr server. (Single mode or Cloud mode) Getting Errors & How to add parameters to service script.

2017-01-11 Thread Behera, Pranaya P
Hi, I still haven't figured it out how to enable the same. -Original Message- From: Behera, Pranaya P [mailto:pbeh...@jcp.com] Sent: Monday, January 02, 2017 1:47 PM To: solr-user@lucene.apache.org Subject: Enabling SSL in solr server. (Single mode or Cloud mode) Getting E

Enabling SSL in solr server. (Single mode or Cloud mode) Getting Errors & How to add parameters to service script.

2017-01-02 Thread Behera, Pranaya P
ipt ... Installing /etc/default/solr.in.sh ... Waiting up to 30 seconds to see Solr running on port 8983 [/] Started Solr server on port 8983 (pid=6683). Happy searching! Found 1 Solr nodes: Solr process 6683 running on port 8983 { "solr_home":"/var/solr/data&qu

All solr cores in a solr server are down. Cannot find anything from log.

2016-09-12 Thread forest_soup
/solrsearch/SolrG2Cld101/solr/server/solr-webapp/webapp/,STARTING}{/opt/ibm/solrsearch/SolrG2Cld101/solr/server/solr-webapp/webapp} has uncovered http methods for path: / 2016-09-06 19:23:18.567 WARN (main) [ ] o.a.s.c.SolrResourceLoader Can't find (or read) directory to add to classloader

Unit testing HttpPost With an Embedded Solr Server

2016-08-17 Thread Jennifer Coston
Hello, I have written a data service to send an HttpPost command to post JSON to Solr. The code is working, but now I want to switch to using an embedded Solr server for just the unit tests. The problem is that the embedded Solr server doesn't seem to be starting an embedded server with a

curl post taking time to solr server

2016-08-10 Thread Midas A
core2 What could be the reason. there is core ime of curl post on solr server. How can i minimize the t

My solr server finishes itself

2016-08-03 Thread Julien VIELLE
Hello, I'm facing strange problem my solr server stops itself randomly. with the message: Graceful shutdown SocketConnector@0.0.0.0:8983 You will find attached my solr.log I don't understand why there are no crontab running. There nothing in my log telling why solr shutdown itself

Re: solr server heap out

2016-07-17 Thread 신재동
Hi. I had a very similar problem. If you find heap out or frequent major gc while monitor with jvisualvm, you may have a problem memory leak or gc. And I had gc problem, I solved it using G1GC. You can find some articles about that. Regards, Jade Shin. 2016. 7. 13. 오후 5:56에 "sara hajili" 님이 작성

Re: solr server heap out

2016-07-13 Thread sara hajili
Hi .u can monitor heap size by jvm. Run solr and open jvisualvm in "javahome/bin " Monitor your heap size that solr use. You can create heap image and check objects that are in heap.and check why you get heap size error. On Jul 13, 2016 9:55 AM, "Midas A" wrote: > Hi, > I frequently getting solr

solr server heap out

2016-07-12 Thread Midas A
Hi, I frequently getting solr heap out once or twice a day. what could be the possible reasons for the same and is there any way to log memory used by the query in solr.log . Thanks , Abhishek Tiwari

Hostname of Solr server in Velocity template?

2016-05-19 Thread Alex Ott
Hello I have the code that need to work with multiple Solr instances. Code receives the REST API call initiated from the UI generated by Solr from Velocity template, and I need to specify the hostname of the server that initiated this call. But I can't find what parameter I can use to get the hos

RE: failed to connect solr server through my website

2016-03-28 Thread Adel Mohamed Khalifa
] Sent: Monday, March 28, 2016 12:54 PM To: solr-user@lucene.apache.org Subject: Re: failed to connect solr server through my website Hi Adel, As far as I know, the mailing list doesn't allow attachments. Please paste the relevant part of your log Andrea On 28 Mar 2016 11:18, "Ad

Re: failed to connect solr server through my website

2016-03-28 Thread Andrea Gazzarini
Hi Adel, As far as I know, the mailing list doesn't allow attachments. Please paste the relevant part of your log Andrea On 28 Mar 2016 11:18, "Adel Mohamed Khalifa" wrote: > Hello All, > > > > I failed to connect solr server through my website, I attached my so

failed to connect solr server through my website

2016-03-28 Thread Adel Mohamed Khalifa
Hello All, I failed to connect solr server through my website, I attached my solr log if anyone can help me please? Regards, Adel Khalifa | Developer | Saudisoft-Egypt | Tel: +2 023 303 2037 - ext 112 | M +2 01149247744 | Fax +2 023 303 2036 | Follow us on <https://www.facebook.com/pa

Re: 答复: solr server can't started.

2016-03-20 Thread Erick Erickson
e tools provided by CDH. Best, Erick On Sun, Mar 20, 2016 at 6:47 PM, 王淇霖 wrote: > > Hi all, > We have deployed solrcloud with CDH5.4. there are 4 solr server in this > cluster. > Now 2 solr server is down, and can’t start two, solr thread is hang. > Please help to check out. Th

答复: solr server can't started.

2016-03-20 Thread 王淇霖
Hi all, We have deployed solrcloud with CDH5.4. there are 4 solr server in this cluster. Now 2 solr server is down, and can’t start two, solr thread is hang. Please help to check out. Thanks. "Signal Dispatcher" #5 daemon prio=9 os_prio=0 tid=0x7fc9b81e3800 nid=0x7c3

Re: Not able to do DataImport from MSSQL server to solr server

2016-03-14 Thread Shawn Heisey
to run it, this probably is NOT going to do what you want. You might need to remove the authenticationMethod parameter entirely, and if that doesn't work, you're going to need to consult Microsoft about how to properly use their JDBC driver. You also might want to consult the logs fro

Not able to do DataImport from MSSQL server to solr server

2016-03-14 Thread Adi@GTN
-solr-server-tp4263567.html Sent from the Solr - User mailing list archive at Nabble.com.

Slow HTTP responses Solr on CDH 5.3 release , solr server behind NAT

2016-02-22 Thread Wyatt Rivers
Hey all, I am using openstack sahara to launch a CDH 5.3 cluster. The cluster has an internal network and each node has a floating IP attached to it. Essentially it is sitting behind a router. Here is my problem any http requests that coming from outside the internal network it takes abo

  1   2   3   4   5   >