Hi, how to deal with a shard in recovery_failed status?

2019-06-17 Thread zhenyuan wei
Hi all, I use solr-7.3.1 release,when split a shard1 to shard1_0&shard1_1, encountered OOM error,then shard1_0&shard1_1 publish a status as recovery_failed. How to deal with a shard in recovery_failed status? Remove shard1_0&shard1_1 and then do split shard1 again? Or any other way to retry?

Re: unix socket or D-Bus?

2019-06-17 Thread Felipe Gasper
> On Jun 17, 2019, at 1:17 PM, Shawn Heisey wrote: > >> Ideally I’d like Solr/Jetty to be able to white-list any connection from a >> root-owned socket. > > Solr typically runs as a non-privileged user. If the start script detects > that it's running as root, it will refuse to start withou

Re: Error in last_modified for open documents formats

2019-06-17 Thread Erick Erickson
Solr requires a very precise format, the one you’re sending has both too many zeros to the right of the decimal point and is missing the terminating ‘Z’. See: https://lucene.apache.org/solr/guide/6_6/working-with-dates.html The output you’re getting is from Tika, which is used by Solr. You’ll ha

Re: Question regarding negated block join queries

2019-06-17 Thread Erick Erickson
Bram: Here’s a fuller explanation that you might be interested in: https://lucidworks.com/2011/12/28/why-not-and-or-and-not/ Best, Erick > On Jun 17, 2019, at 11:32 AM, Bram Biesbrouck > wrote: > > On Mon, Jun 17, 2019 at 7:11 PM Shawn Heisey wrote: > >> On 6/17/2019 4:46 AM, Bram Biesbrou

Re: Question regarding negated block join queries

2019-06-17 Thread Bram Biesbrouck
On Mon, Jun 17, 2019 at 7:11 PM Shawn Heisey wrote: > On 6/17/2019 4:46 AM, Bram Biesbrouck wrote: > > q={!parent which=-(parentUri:*)}*:* > > Pure negative queries do not work in Lucene. Sometimes, when you do a > single-clause negative query, Solr is able to detect the problem and > automatica

Error in last_modified for open documents formats

2019-06-17 Thread maguba
Hello, I install solr 8.1.1 and when I trying indexing libreoffice files (ods, odt,...) throws: org.apache.solr.common.SolrException: ERROR: [doc=D42039220124097949-A100020965] Error adding field 'last_modified'='2019-06-14T16:59:47.61000' msg=Invalid Date String:'2019-06-14T16:59:47.6100

Re: unix socket or D-Bus?

2019-06-17 Thread Shawn Heisey
On 6/16/2019 10:43 PM, Felipe Gasper wrote: Does Solr do its own authentication, or does Jetty do that? One of the benefits of UNIX sockets is that the socket exposes the peer’s credentials, so Solr/Jetty could implement logic that says, “ah, you’re root? Cool, you’re in.” As far as I know, w

Re: Question regarding negated block join queries

2019-06-17 Thread Shawn Heisey
On 6/17/2019 4:46 AM, Bram Biesbrouck wrote: q={!parent which=-(parentUri:*)}*:* Pure negative queries do not work in Lucene. Sometimes, when you do a single-clause negative query, Solr is able to detect the problem and automatically make an adjustment so the query works. This happens tran

Optimizing integer primary key lookup speed: optimal FieldType and Codec?

2019-06-17 Thread Gregg Donovan
Hello! We (Etsy) would like to optimize primary key lookup speed. Our primary key is a 32-bit integer -- and are wondering what the state-of-the-art is for FieldType and Codec these days for maximizing the throughput of 32-bit ID lookups. Context: Specifically, we're looking to optimize the loadi

indexing MongoDB using DIH

2019-06-17 Thread Wendy2
Hi, Has any one tried with the following project to index MongoDB via DIH? I tried to use it. But could not add a filter in the find() method. Any suggestions? Thanks! https://github.com/james75/SolrMongoImporter -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Dovecot integration

2019-06-17 Thread Felipe Gasper
Hi all, https://wiki.dovecot.org/Plugins/FTS/Solr ^^ I’m looking at this documentation and am wondering if its discussion of the managed-schema and schema.xml files is inaccurate/incomplete/misleading. Dovecot’s documentation implies that it’s normal operation for the m

Re: Loosing data on Solr restart

2019-06-17 Thread Erick Erickson
There are a number of possibilities, but what this really sounds like is that you aren’t committing your documents. There’s more than you want to know here: https://lucidworks.com/2013/08/23/understanding-transaction-logs-softcommit-and-commit-in-sorlcloud/ But here’s the short form: In the absenc

Re: Config API: delete-requesthandler

2019-06-17 Thread Noble Paul
yes, this is the way to do it On Thu, May 26, 2016 at 6:54 AM Jan Høydahl wrote: > > Hi > > Have you tried adding all your commands to the same file? > > { > "add-requesthandler":{"name":"/foo","class":"solr.SearchHandler"}, > "add-requesthandler":{"name":"/bar","class":"solr.SearchHandler"},

Question regarding negated block join queries

2019-06-17 Thread Bram Biesbrouck
Dear all, I'm new to this list, so let me introduce myself. I'm Bram, author of a linked data framework called Stralo. We're working toward version 1.0, in which we're integrating Solr indexing and querying of RDF triples ( https://github.com/republic-of-reinvention/com.stralo.framework/milestone/

Loosing data on Solr restart

2019-06-17 Thread स्वप्निल रोकडे
I am newbie to Apache Manifold (ver – 2.12) and Solr(ver – 7.6) with Zookeeper (ver 3.14). I have created three collections in Solr out of which data for two comes from Manifold while one has from manual data insert through simple solr API. When I run jobs in Manifold I can see data is getting inse