Re: loadOnStartup=false doesn't appear to work for Solr 6.6

2018-08-17 Thread Erick Erickson
Thanks for bringing that to closure, I was worried! At a low level, any time CoreContainer.getCore() gets called, the core is loaded. If there are transient cores, then perhaps an old transient core is aged out Best, Erick On Fri, Aug 17, 2018 at 9:38 AM, Tom Burton-West wrote: > Thanks Eri

Re: Solr 6.6.2 ManagedSchema Replication

2018-08-17 Thread Shawn Heisey
On 8/17/2018 9:15 PM, Kelly Rusk wrote: Hello all, I am running Solr 6.6.2 in a Master/Slave setup. I need the managedschema file on the Master to replicate to the Slave servers. Does it: - Get replicated automatically with the other files OR - Do I need to include this file to be replicated,

Re: Copyto with DIH Interpreting string as MultiValued field on copy

2018-08-17 Thread Shawn Heisey
On 8/17/2018 6:15 PM, Zimmermann, Thomas wrote: I’m trying to track down an odd issue I’m seeing when using the SolrEntityProcessor to seed some test data from a solr 4.x cluster to a solr 7.x cluster. It seems like strings are being interpreted as multivalued when passed from a string field t

Solr 6.6.2 ManagedSchema Replication

2018-08-17 Thread Kelly Rusk
Hello all, I am running Solr 6.6.2 in a Master/Slave setup. I need the managedschema file on the Master to replicate to the Slave servers. Does it: - Get replicated automatically with the other files OR - Do I need to include this file to be replicated, and if so, how do I do this as managedsc

Copyto with DIH Interpreting string as MultiValued field on copy

2018-08-17 Thread Zimmermann, Thomas
Hi, I’m trying to track down an odd issue I’m seeing when using the SolrEntityProcessor to seed some test data from a solr 4.x cluster to a solr 7.x cluster. It seems like strings are being interpreted as multivalued when passed from a string field to a text field via the copyTo directive. Any

Re: Solr core corrupted for version 7.4.0, please help!

2018-08-17 Thread Michael Hu (CMBU)
Can someone advise me how to solve this issue? Thank you! --Michael From: Michael Hu (CMBU) Sent: Thursday, August 16, 2018 6:14 PM To: solr-user@lucene.apache.org Cc: Mohsin Beg Subject: Solr core corrupted for version 7.4.0, please help! Environment: *

Re: SolrCloud CDCR with 3+ DCs

2018-08-17 Thread cdatta
Any pointer would be much appreciated.. Thanks.. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: Metrics for a healthy Solr cluster

2018-08-17 Thread Rahul Singh
I wrote something related to this topic a while ago. https://www.google.com/amp/s/blog.anant.us/resources-for-monitoring-datastax-cassandra-spark-solr-performance/amp/ Rahul On Aug 16, 2018, 3:35 PM -0700, Jan Høydahl , wrote: > Check out the Reference Guide chapter on monitoring with open source

Handshake for NRT?

2018-08-17 Thread Walter Underwood
How many messages are sent back and forth between a leader and replica with NRT? We have a collection that gets frequent updates and we are seeing a ton of internal cluster traffic. wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog)

Re: solr 3.4 do not want to apply synonym mapping term to search matching docs

2018-08-17 Thread ksurya
If we are willing to write the code to change according to our requirement here, Where and how we should proceed. Any heads-up that you can provide to help achieve it. Thanks. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Re: loadOnStartup=false doesn't appear to work for Solr 6.6

2018-08-17 Thread Tom Burton-West
Thanks Erick, Silly oversight on my part. I went into the admin panel and used the core selector to view information about the core and it was running. I did some more thinking about it and restarted solr and looked at the core admin panel where I could see that the startTime was "-". So the pro

Re: loadOnStartup=false doesn't appear to work for Solr 6.6

2018-08-17 Thread Erick Erickson
Tom: That hasn't been _intentionally_ changed. However, any request that comes in (update or query) will permanently load the core (assuming no transient cores), and any request to the core will autoload it. How are you determining that the core hasn't been loaded? And are there any background tas

loadOnStartup=false doesn't appear to work for Solr 6.6

2018-08-17 Thread Tom Burton-West
Hello, I'm not using SolrCloud and want to have some cores not load when Solr starts up. I tried loadOnStartup=false, but the cores seem to start up anyway. Is the loadOnStartup parameter still usable with Solr 6.6 or does the documentation need updating? Or Is there something else I need to do

Re: Point Alias to New Collection

2018-08-17 Thread Shawn Heisey
On 8/17/2018 7:55 AM, THADC wrote: > Is there is a way to redirect an existing alias to a new collection. I know > how to create an alias and assign it to a collection, but I need a way to > redirect in periodically to a different collection. Any ideas appreciated. Just create the alias again.  It

Re: Contextual Synonym Filter

2018-08-17 Thread Doug Turnbull
Would one option be to change the query analyzer at query time? The Match Query Parser (https://github.com/o19s/match-query-parser), would let you do this -Doug On Fri, Aug 17, 2018 at 8:04 AM Vergantini Luca wrote: > I need to create a contextual Synonym Filter: > > > > I need that the Synonym

Re: How to resolve PostgreSQL array in solr

2018-08-17 Thread Shawn Heisey
On 8/16/2018 5:23 PM, Hai Shang wrote: > Hi solr-user, > > I got trouble resolving PostgreSQL text array with data import in solr 7.4. > In schema, I tried multiValued with both true and false, also tried > string/strings/text_general, while none of them worked. > > Here is the exception message: >

Re: solr 3.4 do not want to apply synonym mapping term to search matching docs

2018-08-17 Thread Shawn Heisey
On 8/14/2018 5:35 AM, surya wrote: > The following data is getting indexed-in to our solr. > > doc1: > University of Virginia > doc2: > Katrina Uva > doc3: > University of new york > > synonym.txt >University of Virginia, uva > > search term: >University of Virginia > > Expected result:

Point Alias to New Collection

2018-08-17 Thread THADC
Hi, Is there is a way to redirect an existing alias to a new collection. I know how to create an alias and assign it to a collection, but I need a way to redirect in periodically to a different collection. Any ideas appreciated. Thanks! -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User

solr 3.4 do not want to apply synonym mapping term to search matching docs

2018-08-17 Thread ksurya
Actual result: doc1 and doc2 the second document is coming because the synonym term "uva" is matching with doc2: Katrina Uva Requirement: We do not want to apply the synonym (uva) to bring the doc2 (Katrina Uva) The following is our solr setup version 3.4 analyzers /

How to resolve PostgreSQL array in solr

2018-08-17 Thread Hai Shang
Hi solr-user, I got trouble resolving PostgreSQL text array with data import in solr 7.4. In schema, I tried multiValued with both true and false, also tried string/strings/text_general, while none of them worked. Here is the exception message: org.apache.solr.common.SolrException: TransactionLo

Re: how to get current timestamp

2018-08-17 Thread Alexandre Rafalovitch
Timestamp of what exactly? If it is the general server timestamp, I think it would usually be part of the HTTP Headers of the response. If you are talking about the record creation date, you can set NOW as a default field value for a date field. If you are doing some timestamp math in the query

Re: how to get current timestamp

2018-08-17 Thread Shawn Heisey
On 8/16/2018 11:27 PM, Midas A wrote: Hi, i my use case i want to get current timestamp in response of solr query. how can i do it . is it doable ? I don't think you can.  There MIGHT be a function query that can do it, but it's not something I'm aware of without research. The machine where

RE: Contextual Synonym Filter

2018-08-17 Thread Markus Jelsma
Hello, If you are using Dismax or Edismax, you can easily extend the QParser and reconstruct your analyzer on-the-fly, based on what you find in the filter query. Be sure to keep a cache of the analyzer because construction can be very heavy. Check the Edismax code, it offers clear examples on

Contextual Synonym Filter

2018-08-17 Thread Vergantini Luca
I need to create a contextual Synonym Filter: I need that the Synonym Filter load different synonym configuration based on the fq query parameter. I've already modified the SynonymGraphFilterFactory to load from DB (this is another requirement) but I can't understand how to make the fq paramete

Re: Docvalue v.s. invert index

2018-08-17 Thread Mikhail Khludnev
org.apache.lucene.search.IndexOrDocValuesQuery might be also relevant. On Mon, Aug 13, 2018 at 9:02 AM Zahra Aminolroaya wrote: > Thanks Erick, Shawn and Tomoko for complete answers. > > If I set both docvalue and indexed "true" in a field, will Solr understand > to use which technique for facet