Re: Custom sort function

2019-11-26 Thread Jörn Franke
And have you tried how fast it is if you don’t do anything in this method? > Am 27.11.2019 um 07:52 schrieb Sripra deep : > > Hi Team, > I wrote a custom sort function that will read the field value and parse > and returns a float value that will be used for sorting. this field is > indexed,

Re: Custom sort function

2019-11-26 Thread Jörn Franke
What methods do you use for your condition checks? Regexes ? Then you could for instance precompile the regexes (saves a lot of time). Any other method? I don’t ask about the exact condition check but only the methods you use within those checks. > Am 27.11.2019 um 07:52 schrieb Sripra deep :

Custom sort function

2019-11-26 Thread Sripra deep
Hi Team, I wrote a custom sort function that will read the field value and parse and returns a float value that will be used for sorting. this field is indexed, stored and docvalues enabled. my latency increases drastically from 10ms when the filter loads 50 documents and 200ms when it loads 250

Re: Some newby questions ...

2019-11-26 Thread Shawn Heisey
On 11/26/2019 2:17 PM, Christian Dannemann wrote: Issue 1: I want to secure my server with basic authentication (that's why I'm running on port 10539 at the moment, but that's not security ... I've put a file security.json in /opt/solr/server/solr/configsets/_default/conf, but that doesn't do

Re: Some newby questions ...

2019-11-26 Thread Christian Dannemann
Hi Jan, I'm afraid I don't run in cloud mode, and I get Failed to parse command-line arguments due to: Missing argument for option: solrIncludeFile usage: org.apache.solr.util.SolrCLI Best regards, Christian On Tue, 26 Nov 2019 at 21:30, Jan Høydahl wrote: > Try > > bin/solr auth enable

Re: Some newby questions ...

2019-11-26 Thread Jan Høydahl
Try bin/solr auth enable -blockUnknown true -credentials user:password -z local host:11539 That should enable basic auth for you given you run in cloud mode (-c switch) Jan Høydahl > 26. nov. 2019 kl. 22:18 skrev Christian Dannemann : > > Hi Everyone, > > I've managed to successfully

Re: Some newby questions ...

2019-11-26 Thread Christian Dannemann
... sorry, forgot to post solr.log: 2019-11-26 21:24:11.242 INFO (qtp1884155890-24) [ x:meeting_minutes] o.a.s.h.d.DataImporter Loading DIH Configuration: mail-data-config.xml 2019-11-26 21:24:11.245 INFO (qtp1884155890-24) [ x:meeting_minutes] o.a.s.h.d.c.DIHConfiguration id is a required

Some newby questions ...

2019-11-26 Thread Christian Dannemann
Hi Everyone, I've managed to successfully install solr on my server, and it's running and I have created a core and indexed some 1000 pdf files... Searches work, and so far, so good. There are two issues that I can't resolve even though I have tried for a good 8 hours, so I feel I can hopefully

Icelandic support in Solr

2019-11-26 Thread Mikhail Ibraheem
Hi,Does Solr supports Icelandic language out of the box? If not, can you please let me know how to add that with custom analyzers? Thanks

Re: Backup v.s. Snapshot API for Solr

2019-11-26 Thread Paras Lehana
Hi Kaya, Sorry that I still cannot understand. Once you have created a snapshot with CREATESNAPSHOT, you can restore the snapshot with same replication restore command, right? How can I use a "snapshot", which is generated by CREATESNAPSHOT API? You just used the name to restore the backup.

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

Re: How to tell which core was used based on Json or XML response from Solr

2019-11-26 Thread Paras Lehana
Hey Rhys, We are using 2 jquery versions, because this tool is running a tool that > has an old version of jquery attached to it. Umm, okay, if you cannot tweak the tool to use the latest jQuery, I assume you have used noConflict to handle different versions. I need to know the core name,

Solr 8.2 with maven

2019-11-26 Thread Carmen Márquez Vázquez
Hi, I am running Solr 8.2 on a Maven project. When opening my project in the browser, it shows the following console error: java.lang.NoClassDefFoundError: Could not initialize class org.apache.solr.util.tracing.GlobalTracer I have seen that class must be found in the dependency:

Support mapping of multi-word Synonym at Query time.

2019-11-26 Thread Paras Lehana
Hi Community, I know there had been many blogs about multi-term synonyms. I have been reading a lot about this and I'm here just to take suggestions or know what you guys are doing. The information in the blogs (SynonymFilter) could be old and there might be better methods now