Re: SolrJ: SolrInputDocument.addField()

2021-02-16 Thread Jimi Hullegård
Hi Steven, Just a thought, from someone who never have used schema-less mode: Have you considered using a regular schema file, with a bunch of dynamicField definitions? Then you can for example define a dynamic boolean field like this: Then, when you index the data, you can append "_b" to the

Meaning of "Index" flag under properties and schema

2021-02-16 Thread ufuk yılmaz
There’s a collection at our customer’s site giving weird exceptions when a particular field is involved (asked another question detailing that). When I inspected it, there’s only one difference between it and other dozens of fine working collections, which is, A text_general field in all othe

Re: Meaning of "Index" flag under properties and schema

2021-02-16 Thread Charlie Hull
This list strips attachments so you'll have to figure out another way to show the difference, Cheers Charlie On 16/02/2021 15:16, ufuk yılmaz wrote: There’s a collection at our customer’s site giving weird exceptions when a particular field is involved (asked another question detailing tha

RE: Meaning of "Index" flag under properties and schema

2021-02-16 Thread ufuk yılmaz
I didn’t realise that, sorry. The table is like: Flags Indexed Tokenized Stored UnInvertible Properties YesYesYes Yes Schema YesYesYes Yes Index YesYesYes NO Problema

Re: Significant terms expression giving error "length needs to be >= 1"

2021-02-16 Thread Joel Bernstein
Can you include the stack trace from the logs? Joel Bernstein http://joelsolr.blogspot.com/ On Mon, Feb 15, 2021 at 3:53 PM ufuk yılmaz wrote: > We have a SolrCloud cluster, version 8.4 > > At the customer’s site there’s a collection with very few documents, > around 12. We usually have colle

Re: Meaning of "Index" flag under properties and schema

2021-02-16 Thread Shawn Heisey
On 2/16/2021 9:16 AM, ufuk yılmaz wrote: I didn’t realise that, sorry. The table is like: Flags Indexed Tokenized Stored UnInvertible Properties YesYesYes Yes Schema YesYesYes Yes Index Yes

Re: SolrJ: SolrInputDocument.addField()

2021-02-16 Thread Shawn Heisey
On 2/15/2021 10:17 AM, Steven White wrote: Yes, I have managed schema enabled like so: true cp-schema.xml The reason why I enabled it is so that I can dynamically customize the schema based on what's in the DB. So that I can add fields to the schema dynamically. A managed/m

Re: Down Replica is elected as Leader (solr v8.7.0)

2021-02-16 Thread mmb1234
Looks like the problem is related to tlog rotation on the follower shard. We did the following for a specific shard. 0. start solr cloud 1. solr-0 (leader), solr-1, solr-2 2. rebalance to make solr-1 as preferred leader 3. solr-0, solr-1 (leader), solr-2 The tlog file on solr-0 kept on growing i

Re: Down Replica is elected as Leader (solr v8.7.0)

2021-02-16 Thread mmb1234
Looks like the problem is related to tlog rotation on the follower shard. We did the following for a specific shard. 0. start solr cloud 1. solr-0 (leader), solr-1, solr-2 2. rebalance to make solr-1 as preferred leader 3. solr-0, solr-1 (leader), solr-2 The tlog file on solr-0 kept on growing i

Re: Down Replica is elected as Leader (solr v8.7.0)

2021-02-16 Thread matthew sporleder
I've run into this (or similar) issues in the past (solr6? I don't remember exactly) where tlogs get stuck either growing indefinitely and/or refusing to commit on restart. What I ended up doing was writing a monitor to check for the number of tlogs and alert if they got over some limit (100 or wh

Re: Down Replica is elected as Leader (solr v8.7.0)

2021-02-16 Thread mmb1234
> Are yours growing always, on all nodes, forever? Or is it one or two who ends up in a bad state? Randomly on some of the shards and some of the followers in the collection. Then whichever tlog was open on follower when it was the leader, that one doesn't stops growing. And that shard had active

Re: Elevation in dataDir in Solr Cloud

2021-02-16 Thread Chris Hostetter
: Of course, here is the full stack trace (collection 'techproducts' with : just one core to make it easier): Ah yeah ... see -- this looks like a mistake introduced at some point... : Caused by: org.apache.solr.core.SolrResourceNotFoundException: Can't : find resource 'elevate.xml' in classpat

Re: tlog keeps growing

2021-02-16 Thread mmb1234
Erik, Looks like we're also running into this issue. https://www.mail-archive.com/solr-user@lucene.apache.org/msg153798.html Is there any think we can do to remedy this besides a node restart, which causes leader re-election on the good shards which causes them to also become un-operational?

Is 8.8.x going be stabilized and finalized?

2021-02-16 Thread Subhajit Das
Hi there, I am planning to use 8.8 line-up for production use. But recently, a lot of people are complaining on 8.7 and 8.8. Also, there is a clearly known issue on 8.8 as well. Following trends of earlier versions (5.x, 6.x and 7.x), will 8.8 will also be finalized? For 5.x, 5.5.x was last v

Re: Is 8.8.x going be stabilized and finalized?

2021-02-16 Thread Shawn Heisey
On 2/16/2021 7:57 PM, Subhajit Das wrote: I am planning to use 8.8 line-up for production use. But recently, a lot of people are complaining on 8.7 and 8.8. Also, there is a clearly known issue on 8.8 as well. Following trends of earlier versions (5.x, 6.x and 7.x), will 8.8 will also be fina