Re: Solr Cloud configuration

2018-11-20 Thread Pure Host - Wolfgang Freudenberger
Hi David, You can upload configuration to the zookeeper - it is nearly the same as the standaloneconfig. You can also edit the schema.xml in this file. At least I do it like this. Mit freundlichem Gruß / kind regards Wolfgang Freudenberger Pure Host IT-Services Münsterstr. 14 48341

Re: Solr Cloud configuration

2018-11-20 Thread David Hastings
Well considering that any access to the user interface by anyone can completely destroy entire collections/cores, I would think the security of the stop word file wouldnt be that important Thanks Erick, it seems the only reason I have any desire to use SolrCloud is the use of streaming

Re: Solr cache clear

2018-11-20 Thread Erick Erickson
Why would you want to? This sounds like an XY problem, there's some problem you think would be cured by clearing the cache. What is that problem? Because I doubt this would do anything useful, pretty soon the caches would be filled up again and you'd be right back where you started and the real

Re: Solr Cloud configuration

2018-11-20 Thread Adam Constabaris
David, One benefit of the way recommended in the reference guide is that it lets you use zookeeper upconfig/downconfig as deployment tools on a set of text files, which in turn allows you to manage your Solr configuration like any other bit of source code, e.g. with version control and, if your

Re: Solr cache clear

2018-11-20 Thread Edward Ribeiro
Disabling or reducing autowarming can help too, in addition to cache size reduction. Edward Em ter, 20 de nov de 2018 17:29, Erick Erickson Why would you want to? This sounds like an XY problem, there's some > problem you think would be cured by clearing the cache. What is > that problem? > >

Re: Solr Cloud configuration

2018-11-20 Thread Edward Ribeiro
Hi David, Well, as a last resort you can resort to classic schema.xml if you are using standalone Solr and don't bother to give up schema API. Then you are back to manually editing conf/ files. See: https://lucene.apache.org/solr/guide/7_4/schema-factory-definition-in-solrconfig.html Best

Re: Solr Cloud configuration

2018-11-20 Thread Erick Erickson
David: Sure would. See https://issues.apache.org/jira/browse/SOLR-5287. Especially the bits about how allowing this leads to security vulnerabilities. You're not the first one who had this idea ;). Whether those security issues are still valid is another question I suppose. Best, Erick On

Re: Solr Cloud configuration

2018-11-20 Thread David Hastings
Thanks, researching that now, but this seems extremely annoying. wouldnt it just be easier if you could edit the config files raw from the admin UI? On Tue, Nov 20, 2018 at 1:41 PM Pure Host - Wolfgang Freudenberger < w.freudenber...@pure-host.de> wrote: > Hi David, > > > You can upload

Re: solr is using TLS1.0

2018-11-20 Thread Shawn Heisey
On 11/20/2018 3:02 AM, Anchal Sharma2 wrote: I have enabled SSL for solr using steps mentioned over Lucene website .And though solr console URL is now secure(https) ,it is still using TLS v1.0. I have tried few things to force SSL to use TLS1.2 protocol ,but they have not worked for me .

RE: Error:Missing Required Fields for Atomic Updates

2018-11-20 Thread Rajeswari Kolluri
Hi Erick As per the documentation - > https://urldefense.proofpoint.com/v2/url?u=https-3A__lucene.apache.org > _solr_guide_7-5F5_updating-2Dparts-2Dof-2Ddocuments.html-23field-2Dsto > rage=DwIDaQ=RoP1YumCXCgaWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE=HEBHcZdI >

Re: Able to search with indexed=false and docvalues=true

2018-11-20 Thread Rahul Goswami
Erick and Toke, Thank you for the replies. I am surprised there already isn’t a JIRA for this. In my opinion, this should be an error condition on search or alternatively should simply be giving zero results. That would be a defined behavior as opposed to now, where the searches are not

Re: Error:Missing Required Fields for Atomic Updates

2018-11-20 Thread Erick Erickson
bq. While creating a document , I have provide the required information to field "category". But you did not store it, you have stored="false" for that field. Atomic updates require that all source fields are stored. What happens under the covers is that the stored data is read from the doc,

Re: Able to search with indexed=false and docvalues=true

2018-11-20 Thread Shawn Heisey
On 11/20/2018 8:18 PM, Rahul Goswami wrote: Erick and Toke, Thank you for the replies. I am surprised there already isn’t a JIRA for this. In my opinion, this should be an error condition on search or alternatively should simply be giving zero results. That would be a defined behavior as

RE: Error:Missing Required Fields for Atomic Updates

2018-11-20 Thread Rajeswari Kolluri
Hi Shawn, Schema version is 1.6 and Solr version is 7.5. While creating a document , I have provide the required information to field " category". Now, I would like to update document for other set of fields using Atomic Update but not category field. While performing atomic update

Re: Restrict search on term/phrase count in document.

2018-11-20 Thread Modassar Ather
Thanks for your replies. The requirement is basically to avoid documents which may have a match but with very less number of term or phrase in it. May a be 1/2 matches. The user is interested in those document which has matched term/phrase beyond a certain number. This can be a valid

Re: Solr Cloud configuration

2018-11-20 Thread Dave
But then I would lose the steaming expressions right? > On Nov 20, 2018, at 6:00 PM, Edward Ribeiro wrote: > > Hi David, > > Well, as a last resort you can resort to classic schema.xml if you are > using standalone Solr and don't bother to give up schema API. Then you are > back to manually

Re: Live publishing and solr performance optimization

2018-11-20 Thread Zheng Lin Edwin Yeo
Sharding can be one of the option. But what is the size of your documents? And which Solr version are you using? Regards, Edwin On Tue, 20 Nov 2018 at 01:40, Balanathagiri Ayyasamypalanivel < bala.cit...@gmail.com> wrote: > Hi, > We are in the process for live Publishing document in solr and

RE: Error:Missing Required Fields for Atomic Updates

2018-11-20 Thread Rajeswari Kolluri
Hi Rahul Router name is "compositeId". To let you know the issue is intermittent. Thanks Rajeswari -Original Message- From: Rahul Goswami [mailto:rahul196...@gmail.com] Sent: Tuesday, November 20, 2018 11:47 AM To: solr-user@lucene.apache.org Subject: Re: Error:Missing Required Fields

Re: Able to search with indexed=false and docvalues=true

2018-11-20 Thread Toke Eskildsen
On Mon, 2018-11-19 at 22:19 -0500, Rahul Goswami wrote: > I am using SolrCloud 7.2.1. My understanding is that setting > docvalues=true would optimize faceting, grouping and sorting; but for > a field to be searchable it needs to be indexed=true. Erick explained the search thing, so I'll just

Solr statistics

2018-11-20 Thread Anil
HI , I am using stats component to determine stats on two columns together. stats query is failing with following exception - *Invalid Number: num_useful * *Query response : * { "responseHeader": { "zkConnected": true, "status": 400, "QTime": 19, "params": { * "q":

Re: Error:Missing Required Fields for Atomic Updates

2018-11-20 Thread Shawn Heisey
On 11/20/2018 9:07 PM, Rajeswari Kolluri wrote: Schema version is 1.6 and Solr version is 7.5. While creating a document , I have provide the required information to field " category". Now, I would like to update document for other set of fields using Atomic Update but not category field.

RE: Error:Missing Required Fields for Atomic Updates

2018-11-20 Thread Rajeswari Kolluri
Hi Shawn, When I query the document, category field is shown in search. Thanks Rajeswari -Original Message- From: Shawn Heisey [mailto:apa...@elyograg.org] Sent: Wednesday, November 21, 2018 11:38 AM To: solr-user@lucene.apache.org Subject: Re: Error:Missing Required Fields for Atomic

Re: Solr statistics

2018-11-20 Thread Anil
Thanks Edward. Can we find stats on two fields ? (eg - sum = sum of (userful+not useful)) ? On Tue, 20 Nov 2018 at 16:14, Edward Ribeiro wrote: > You are using a function query as stats.field and as seen here: > https://lucene.apache.org/solr/guide/7_4/function-queries.html the syntax > for

Re: Solr statistics

2018-11-20 Thread Edward Ribeiro
You can get stats on multiple fields, it's just a matter of specifying the stats.field parameter multiple times: stats.field=field1=field2, etc. Besides that Solr also has a built-in sum function so that you can sum the values of two or more fields: sum(field1, field2, ...). You could try to use

solr is using TLS1.0

2018-11-20 Thread Anchal Sharma2
Hi All, I have enabled SSL for solr using steps mentioned over Lucene website .And though solr console URL is now secure(https) ,it is still using TLS v1.0. I have tried few things to force SSL to use TLS1.2 protocol ,but they have not worked for me . While trying to do same ,I have

replication?command=restore not working

2018-11-20 Thread damian.pawski
Hi I am working on backups. I have created a backup with below command: /http://dev/solr/XXX/replication?command=backup=XXXBackup=D:\Backup\/ all worked fine, files have been created. I wanted to restore the index from this backup with below command:

Re: Solr statistics

2018-11-20 Thread Edward Ribeiro
You are using a function query as stats.field and as seen here: https://lucene.apache.org/solr/guide/7_4/function-queries.html the syntax for termfreq is termfreq(field_name, value). You're using termfreq('num_not_useful','num_useful'). It looks like num_useful is a numeric (int, float) type in

Re: Error:Missing Required Fields for Atomic Updates

2018-11-20 Thread Shawn Heisey
On 11/19/2018 9:19 PM, Rajeswari Kolluri wrote: Below is part of schema , entityid is my unique id field. Getting exception missing required field for "category" during atomic updates. Your category field is not stored.  And it's required.  It does have docValues, but unless

solr 7.3.1 how to parse LatLonPointSpatialField in custom .jar

2018-11-20 Thread elisabeth benoit
Hello, We are using solr with a home made jar with a custom function. function(0.1,1.0,43.8341851366,5.7818349,43.8342868634,5.7821059,latlng_pi) where latlng_pi is a document field of type location In solr 5.5.2, location was defined like this and parsed in the jar like this

Solr cache clear

2018-11-20 Thread Rajdeep Sahoo
Hi all, Without restarting is it possible to clear the cache?

Re: Extracting important multi term phrases from the text

2018-11-20 Thread Pratik Patel
@David Sorry for late reply. The SKG query that I am using is actually fairly basic in itself. For example, { > "queries":[ > "dataStoreId:\"123\"", > "text:\"foo\"" > ], > "compare":[ > { > "type":"text_shingles", > "limit":30, > "discover_values":true > } > ] > } What I am

Re: Solr cache clear

2018-11-20 Thread Shawn Heisey
On 11/20/2018 9:25 AM, Rajdeep Sahoo wrote: Hi all, Without restarting is it possible to clear the cache? You'll need to clarify what cache you're talking about, but I think for the most part that if you reload the core (or collection if running SolrCloud) that all caches should be rebuilt

Solr Cloud configuration

2018-11-20 Thread David Hastings
I cant seem to find the documentation on how to actually edit the schema file myself, everything seems to lead me to using an API to add fields and stop words etc. this is more or less obnoxious, and the admin api for adding fields/field types is not exactly functional. is there a guide or