Re: Doing what does using SolrJ API

2020-09-16 Thread Steven White
Hi everyone, I figured it out. It is as simple as creating a List and using that as the value part for SolrInputDocument.addField() API. Thanks, Steven On Wed, Sep 16, 2020 at 9:13 PM Steven White wrote: > Hi everyone, > > I want to avoid creating a source="OneFieldOfMany"/> in my schema (

Doing what does using SolrJ API

2020-09-16 Thread Steven White
Hi everyone, I want to avoid creating a in my schema (there will be over 1000 of them and maybe more so managing it will be a pain). Instead, I want to use SolrJ API to do what does. Any example of how I can do this? If there is an example online, that would be great. Thanks in advance. Ste

Re: NPE Issue with atomic update to nested document or child document through SolrJ

2020-09-16 Thread Pratik Patel
Looking at some other unit tests in repo, I tried an approach using UpdateRequest as follows. SolrInputDocument sdoc = new SolrInputDocument( ); > sdoc.addField( "id", testChildPOJO.id() ); > sdoc.setField( "fieldName", > java.util.Collections.singletonMap("set

Re: Unexpected Performance decrease when upgrading Solr 5.5.2 to 8.5.2

2020-09-16 Thread matthew sporleder
Did you re-work your schema at all? There are new primitive types, new lucene versions, DocValue's, etc On Wed, Sep 16, 2020 at 12:40 PM Keene Chen wrote: > > Hi, > > Thanks for pointing that out. I've linked the images below: > > solr5_response_times.png >

Re: Unexpected Performance decrease when upgrading Solr 5.5.2 to 8.5.2

2020-09-16 Thread Toke Eskildsen
Keene Chen wrote: > We have been doing some performance tests on Solr 5.5.2 > and Solr 8.5.2 as part of an upgrading process, and we have > noticed some reduced performance for certain types of > requests, particularly those that requests a large number of > rows, eg. 1. Solr 5→8… One large c

NPE Issue with atomic update to nested document or child document through SolrJ

2020-09-16 Thread Pratik Patel
Hello Everyone, I am trying to update a field of a child document using atomic updates feature. I am using solr and solrJ version 8.5.0 I have ensured that my schema satisfies the conditions for atomic updates and I am able to do atomic updates on normal documents but with nested child documents,

Re: Unexpected Performance decrease when upgrading Solr 5.5.2 to 8.5.2

2020-09-16 Thread Keene Chen
Hi, Thanks for pointing that out. I've linked the images below: solr5_response_times.png solr8_response_times.png solr5_throu

New replicas not being added to new nodes

2020-09-16 Thread Drew Kidder
I have the following setup: - 6 shards on a collection called "jobs-09022020" - 6 TLOG replicas (used only for indexing) - 6 PULL replicas (used only for searching) I want to scale the PULL replicas, 6 at a time, and have Solr add replicas to that new node set when they come up and delete them whe

Re: "timeAllowed" param with "numFound" having a count value but doc list is empty

2020-09-16 Thread Mark Robinson
Thanks Colvin! All the responses were helpful. Best Mark On Wed, Sep 16, 2020 at 4:06 AM Colvin Cowie wrote: > Hi Mark, > > If queries taking 10 (or however many) seconds isn't acceptable, then > either you need to a) prevent or optimize those queries, b) improve the > performance of your index

Need to update SOLR_HOME in the solr service script and getting errors

2020-09-16 Thread Victor Kretzer
My setup is two solr nodes running on separate Azure Ubuntu 18.04 LTS vms using an external zookeeper assembly. I installed Solr 6.6.6 using the install file and then followed the steps for enabling ssl. I am able to start solr, add collections and the like using bin/solr script. Example: /opt/

Re: "timeAllowed" param with "numFound" having a count value but doc list is empty

2020-09-16 Thread Mark Robinson
Thanks much Bram! Best, Mark On Wed, Sep 16, 2020 at 3:59 AM Bram Van Dam wrote: > There are a couple of open issues related to the timeAllowed parameter. > For instance it currently doesn't work on conjunction with the > cursorMark parameter [1]. And on Solr 7 it doesn't work at all [2]. > > B

Re: Solr Cloud 8.5.1 - HDFS and Erasure Coding

2020-09-16 Thread Jörn Franke
I am not aware of a test. However keep In mind that HDFS supported will be deprecated. Additionally - you can configure erasure encoding in HDFS on a per folder / file basis so you could in the worst case just make the folder for Solr with the standard HDFS mode. Erasure encoding has several li

Solr Cloud 8.5.1 - HDFS and Erasure Coding

2020-09-16 Thread Joe Obernberger
Anyone use Solr with Erasure Coding on HDFS?  Is that supported? Thank you -Joe

Re: Solr training

2020-09-16 Thread Charlie Hull
I do of course mean 'Group Discounts': you don't get a discount for being in a 'froup' sadly (I wasn't even aware that was a thing!) Charlie On 16/09/2020 13:26, Charlie Hull wrote: Hi all, We're running our SolrThink Like a Relevance Engineer training 6-9 Oct - you can find out more & book

Solr training

2020-09-16 Thread Charlie Hull
Hi all, We're running our SolrThink Like a Relevance Engineer training 6-9 Oct - you can find out more & book tickets at https://opensourceconnections.com/training/solr-think-like-a-relevance-engineer-tlre/ The course is delivered over 4 half-days from 9am EST / 2pm BST / 3pm CET and is led

Solr waitForMerges() causing leaderless shard during shutdown

2020-09-16 Thread Ramsey Haddad (BLOOMBERG/ LONDON)
Hi Solr community, We have been investigating an issue in our solr (7.5.0) setup where the shutdown of our solr node takes quite some time (3-4 minutes) during which we are effectively leaderless. After investigating and digging deeper we were able to track it down to segment merges which happe

Re: Unexpected Performance decrease when upgrading Solr 5.5.2 to 8.5.2

2020-09-16 Thread Colvin Cowie
Hello, Your images won't appear on the mailing list. You'll need to post them elsewhere and link to them. On Tue, 15 Sep 2020 at 09:44, Keene Chen wrote: > Hi Solr users community, > > > We have been doing some performance tests on Solr 5.5.2 and Solr 8.5.2 as > part of an upgrading process, an

Re: "timeAllowed" param with "numFound" having a count value but doc list is empty

2020-09-16 Thread Colvin Cowie
Hi Mark, If queries taking 10 (or however many) seconds isn't acceptable, then either you need to a) prevent or optimize those queries, b) improve the performance of your index, c) use timeAllowed and accept that queries taking that long may fail or provide incomplete results, or d) a combination

Re: "timeAllowed" param with "numFound" having a count value but doc list is empty

2020-09-16 Thread Bram Van Dam
There are a couple of open issues related to the timeAllowed parameter. For instance it currently doesn't work on conjunction with the cursorMark parameter [1]. And on Solr 7 it doesn't work at all [2]. But other than that, when users have a lot of query flexibility, it's a pretty good idea to lim