Re: solr warning - filling logs

2017-02-26 Thread Dave
I don't know about your network setup but a port scanner sometimes can be an it security device that, well, scans ports looking to see if they're open. > On Feb 26, 2017, at 7:14 PM, Satya Marivada wrote: > > May I ask about the port scanner running? Can you please

Re: solr warning - filling logs

2017-02-26 Thread Satya Marivada
May I ask about the port scanner running? Can you please elaborate? Sure, will try to move out to external zookeeper On Sun, Feb 26, 2017 at 7:07 PM Dave wrote: > You shouldn't use the embedded zookeeper with solr, it's just for > development not anywhere near

Re: solr warning - filling logs

2017-02-26 Thread Dave
You shouldn't use the embedded zookeeper with solr, it's just for development not anywhere near worthy of being out in production. Otherwise it looks like you may have a port scanner running. In any case don't use the zk that comes with solr > On Feb 26, 2017, at 6:52 PM, Satya Marivada

solr warning - filling logs

2017-02-26 Thread Satya Marivada
Hi All, I have configured solr with SSL and enabled http authentication. It is all working fine on the solr admin page, indexing and querying process. One bothering thing is that it is filling up logs every second saying no authority, I have configured host name, port and authentication

Re: Add fieldType from Solr API

2017-02-26 Thread Kevin Risden
As Alex said there is no Admin UI support. The API is called the Schema API: https://cwiki.apache.org/confluence/display/solr/Schema+API That allows you to modify the schema programatically. You will have to reload the collection either way. Kevin Risden On Sun, Feb 26, 2017 at 1:33 PM,

Re: Add fieldType from Solr API

2017-02-26 Thread Alexandre Rafalovitch
You can hand edit it, just make sure to reload the collection after. Otherwise, I believe, there is API. Not the Admin UI yet, unfortunately. Regards, Alex On 26 Feb 2017 1:50 PM, "OTH" wrote: Hello, I am new to Solr, and am using Solr v. 6.4.1. I need to add a

Add fieldType from Solr API

2017-02-26 Thread OTH
Hello, I am new to Solr, and am using Solr v. 6.4.1. I need to add a new "fieldType" to my schema. My version of Solr is using the "managed-schema" XML file, which I gather one is not supposed to modify directly. Is it possible to add a new fieldType using the Solr Admin via the browser? The

Re: About editing managed-schema by hand

2017-02-26 Thread Erick Erickson
This is the sequence that gets you in trouble: > start solr > hand edit the schema _without_ reloading your collection or restarting all > your Solr instances. > use the managed-schema API to make modifications. In this scenario your hand-edits can be lost since the in-memory version of the

Re: Auto-generate unique key when adding documents from SolrJ

2017-02-26 Thread OTH
Thanks, great, it's working now! Omer On Sun, Feb 26, 2017 at 8:24 PM, Alexandre Rafalovitch wrote: > It is not enough to declare URP chain, you have to invoke it. > > Either by marking it default or by adding the update.chain parameter > to the request handler (or in

About editing managed-schema by hand

2017-02-26 Thread Issei Nishigata
Hi, All Similar questions may have been already asked, but just in case please let me ask you. According to the below URL it says as "Schema modifications via the Schema API will now be enabled by default.", but would there be any issues if I edited with text editor instead of Schema API?

Re: Auto-generate unique key when adding documents from SolrJ

2017-02-26 Thread Alexandre Rafalovitch
It is not enough to declare URP chain, you have to invoke it. Either by marking it default or by adding the update.chain parameter to the request handler (or in initParams) you use to update the documents (usually /update). See, for example:

Auto-generate unique key when adding documents from SolrJ

2017-02-26 Thread OTH
Hello all, First of all, I am very new to Solr. I am using Solr version 6.4.1. I have a Solr core (non-cloud), where there is a mandatory unique key field called "id". I am trying to add documents to the core from Java, without having to specify the "id" field explicitly; i.e. to have it

Re: maxwarmingSearchers and memory leak

2017-02-26 Thread SOLR4189
Shawn, you are right. * OS vendor and version CentosOS 6.5 * Java vendor and version OpenJDK version 1.8.0_20 OpenJDK 64-bit Server VM (build 25.20-b23) * Servlet container used to start Solr. Catalina(tomcat7) * Total amount of memory in the server. 30 GB * Max heap size for Solr.