daily SolrCloud collection wipes

2019-11-13 Thread Werner Detter
Hi, I've got a SolrCloud instance with two collections running (Solr 7.7.2) on Debian Stretch VMs. Every morning round about 03:3* am the collection gets reset by $something and I have no clue what causes this and how to prevent it as there areeven no log entries in SolrCloud (even with

Re: Anyway to encrypt admin user plain text password in Solr

2019-11-13 Thread Jason Gerlowski
Hi, To clarify, Solr credentials are stored and shown in a few different places. In some situations the password might live in your "solr.in.sh" file. It also might live in a separate basicAuth.conf file. If you're using SolrCloud, the password might appear in Solr's Admin UI (depending on

Re: Does Solr replicate data securely

2019-11-13 Thread Tomás Fernández Löbbe
Yes, if you are using TLS for running Solr, the replication will happen using TLS On Wed, Nov 13, 2019 at 2:45 PM Pushkar Raste wrote: > Hi, > Can some help me with my question. > > On Tue, Nov 12, 2019 at 10:20 AM Pushkar Raste > wrote: > > > Hi, > > How about in the master/slave set up. If I

Re: Does Solr replicate data securely

2019-11-13 Thread Pushkar Raste
Hi, Can some help me with my question. On Tue, Nov 12, 2019 at 10:20 AM Pushkar Raste wrote: > Hi, > How about in the master/slave set up. If I enable ssl in master/slave > setup would the segment and config files be copied using TLS. > > On Sat, Nov 9, 2019 at 3:31 PM Jan Høydahl wrote: > >>

Re: Query More Than One Core

2019-11-13 Thread rhys J
On Wed, Nov 13, 2019 at 3:16 PM Jörn Franke wrote: > You can use nested indexing and Index both types of documents in one core. > > https://lucene.apache.org/solr/guide/8_1/indexing-nested-documents.html I had read that, but it doesn't really fit our needs right now. I figured out how to do a

Re: Query More Than One Core

2019-11-13 Thread Jörn Franke
You can use nested indexing and Index both types of documents in one core. https://lucene.apache.org/solr/guide/8_1/indexing-nested-documents.html However, what is the use case for Solr if you have already a database? > Am 13.11.2019 um 20:50 schrieb rhys J : > > I have more than one core.

Re: Need some help on solr versions (LTS vs stable)

2019-11-13 Thread Adam Walz
The LTS idea I believe comes from the solr downloads page where 7.7.x is designated as LTS. https://lucene.apache.org/solr/downloads.html On Wed, Nov 13, 2019 at 9:41 AM Shawn Heisey wrote: > On 11/6/2019 9:58 AM, suyog joshi wrote: > > So we can say its better to go with latest stable version

Query More Than One Core

2019-11-13 Thread rhys J
I have more than one core. Each core represents one database table. They are coordinated by debt_id/debtor_id, so we can do join statements on them with Sybase/SQL. Is there a way to query more than one core at a time, or do I need to do separate queries per core, and then somehow with perl

Re: Full-text search for Solr manual

2019-11-13 Thread Alexandre Rafalovitch
Try: site:lucene.apache.org inurl:8_2 luceneMatchVersion (8.3 does not work, seems to be not fully? indexed by google yet) https://github.com/apache/lucene-solr/search?l=AsciiDoc=luceneMatchVersion (latest development version only). You can read the rendered documents (without extra processing

Re: EmbeddedSolrServer thread-safety

2019-11-13 Thread Kaminski, Adi
Hi Shawn, Thanks a lot for the clarification !! Regards, Adi Sent from Workspace ONE Boxer On Nov 13, 2019 19:09, Shawn Heisey wrote: On 11/13/2019 9:45 AM, Kaminski, Adi wrote: > Can someone confirm that EmbeddedSolrServer calss is thread-safe (meaning > from API perspective of

Re: date fields and invalid date string errors

2019-11-13 Thread rhys J
> You could do it that way ... but instead, I'd create a new fieldType, > not change an existing one. The existing name is "pdate" which implies > "point date". I would probably go with "daterange" or "rdate" as the > name, but that is completely up to you. > > I did that, deleted docs, stopped,

Re: date fields and invalid date string errors

2019-11-13 Thread Shawn Heisey
On 11/13/2019 10:45 AM, rhys J wrote: If you use DateRangeField instead of DatePointField for your field's class, then you can indeed use partial timestamps for both indexing and querying. This only works with DateRangeField. I don't see that as an option in the API? Do I need to change what

Re: date fields and invalid date string errors

2019-11-13 Thread rhys J
> If you use DateRangeField instead of DatePointField for your field's > class, then you can indeed use partial timestamps for both indexing and > querying. This only works with DateRangeField. > > I don't see that as an option in the API? Do I need to change what pdate's type is in the

Re: Need some help on solr versions (LTS vs stable)

2019-11-13 Thread Shawn Heisey
On 11/6/2019 9:58 AM, suyog joshi wrote: So we can say its better to go with latest stable version (8.x) instead of 7.x, which is LTS right now, but can soon become EOL post launching of 9.x sometime early next year. I don't know where you got the idea that 7.x is LTS ... but I do not think

Re: date fields and invalid date string errors

2019-11-13 Thread Shawn Heisey
On 11/13/2019 10:07 AM, rhys J wrote: I have date fields in my documents that are just -MM-DD. and When I use the API to do a search and try: 2018-01-01 [2018-01-01 TO NOW] I get 'Invalid Date String'. Did I type my data wrong in the schema? Is there something I'm missing from the

Re: Question about startup memory usage

2019-11-13 Thread Shawn Heisey
On 11/13/2019 2:03 AM, Hongxu Ma wrote: I have a solr-cloud cluster with a big collection, after startup (no any search/index operations), its jvm memory usage is 9GB (via top: RES). Cluster and collection info: each host: total 64G mem, two solr nodes with -xmx=15G collection: total 9B

Re: EmbeddedSolrServer thread-safety

2019-11-13 Thread Shawn Heisey
On 11/13/2019 9:45 AM, Kaminski, Adi wrote: Can someone confirm that EmbeddedSolrServer calss is thread-safe (meaning from API perspective of add/delete/query operations by different threads)? It's not written in any documentation, and we have some different answers from different forums. The

date fields and invalid date string errors

2019-11-13 Thread rhys J
I have date fields in my documents that are just -MM-DD. I set them as a pdate field in the schema as such: and When I use the API to do a search and try: 2018-01-01 [2018-01-01 TO NOW] I get 'Invalid Date String'. Did I type my data wrong in the schema? Is there something I'm

Re: Full-text search for Solr manual

2019-11-13 Thread Shawn Heisey
On 11/12/2019 11:15 PM, Luke Miller wrote: Unfortunately the Solr source does not ship with the source of the manual. (Directory /docs only contains a link to the online manual.) The docs directory is not where the manual lives. In the source code download, the solr/docs directory has an

EmbeddedSolrServer thread-safety

2019-11-13 Thread Kaminski, Adi
Hi, Can someone confirm that EmbeddedSolrServer calss is thread-safe (meaning from API perspective of add/delete/query operations by different threads)? It's not written in any documentation, and we have some different answers from different forums. The question is regarding Solr 7.6 binaries

RE: Anyway to encrypt admin user plain text password in Solr

2019-11-13 Thread Kommu, Vinodh K.
Does anyone have an any idea on this? If so, please help. Thanks From: Kommu, Vinodh K. Sent: Monday, November 11, 2019 4:11 PM To: solr-user@lucene.apache.org Subject: Anyway to encrypt admin user plain text password in Solr Hi, After creating admin user in Solr when security is enabled, we

Re: Full-text search for Solr manual

2019-11-13 Thread Erick Erickson
The source tarball is what you need. Go to the download page, click the “Apache Archive” link, thence to the version you care about and download the source. All the docs have an “.adoc” extension. The Atom editor will render those pages for you, but they’re not complicated markup. Best, Erick

Question about startup memory usage

2019-11-13 Thread Hongxu Ma
Hi I have a solr-cloud cluster with a big collection, after startup (no any search/index operations), its jvm memory usage is 9GB (via top: RES). Cluster and collection info: each host: total 64G mem, two solr nodes with -xmx=15G collection: total 9B billion docs (but each doc is very small: