Re: Dynamic field schema

2019-07-09 Thread Shawn Heisey
On 7/9/2019 5:42 PM, ericstein wrote: I am expecting both cores to have the following fields: official_title_s official_title_t However, the second core only recognizes: official_title_s It seems that the schema doesn't recognize my field the same in both cores. What do you mean by

Dynamic field schema

2019-07-09 Thread ericstein
Hi all, I am new to the SOLR world, so bear with me. I have currently have 2 cores that share the same schema, or so I think? I have noticed that certain fields don't exist in both cores even though they are set to look at the same config sets

Re: SolrQuery setting the boolean operator to use

2019-07-09 Thread Steven White
Thanks Shawn! That was quick, easy and it works. Steven On Tue, Jul 9, 2019 at 6:57 PM Shawn Heisey wrote: > On 7/9/2019 4:52 PM, Steven White wrote: > > In this code sample that's part of my overall code, how do I tell Solr > > dynamically / programmatically to use AND or OR as the default

Re: SolrQuery setting the boolean operator to use

2019-07-09 Thread Shawn Heisey
On 7/9/2019 4:52 PM, Steven White wrote: In this code sample that's part of my overall code, how do I tell Solr dynamically / programmatically to use AND or OR as the default operator? SolrQuery query = new SolrQuery(queryString); query.setRequestHandler("/select_test"); response =

SolrQuery setting the boolean operator to use

2019-07-09 Thread Steven White
Hi everyone, In this code sample that's part of my overall code, how do I tell Solr dynamically / programmatically to use AND or OR as the default operator? SolrQuery query = new SolrQuery(queryString); query.setRequestHandler("/select_test"); response = solrClient.query(query);

Re: Solr 7 - core is lost after restart

2019-07-09 Thread Erick Erickson
Hmmm, fair point. You can shoot yourself in the foot this way. In fact there is another “gotcha”. Core discovery starts at SOLR_HOME, looking for a “core.properties” file and when it finds one assumes that’s a core. But it stops going down the directory tree at that point, so we could also put

Re: Stored field values don't update after 7 -> 8 upgrade

2019-07-09 Thread lstusr 5u93n4
I did some more troubleshooting on this issue, and can reproduce it in isolation. Also, I found that the issue doesn't occur when upgrading from 7.5 to 7.7.2. So to summarize: - upgrade from 7.5 to 8.1 and after that any modifications to stored fields in the documents are not updated. - upgrade

Re: SOLR running on Azure web app/services

2019-07-09 Thread Shawn Heisey
On 7/9/2019 10:22 AM, Victor Casas wrote: Hello, is Solr supported on Azure web app or Azure Service? If so, is there any white paper on how to get this done or recommendations/suggestions?? Solr is written entirely in java, and it is implemented as a webapp, which requires a servlet

SOLR running on Azure web app/services

2019-07-09 Thread Victor Casas
Hello, is Solr supported on Azure web app or Azure Service? If so, is there any white paper on how to get this done or recommendations/suggestions?? Victor Casas Web Admin

Re: Turn on TLS

2019-07-09 Thread lltvw
aa On 09/13/2017 21:52, Younge, Kent A - Norman, OK - Contractor wrote: When I enable SSL I am getting page can not be displayed. How do I check this? I have looked in the java.security file and it is the same as my other solr servers. This page can't be displayed Turn on TLS 1.0, TLS

Re: Swap space in Solr Getting full and unable to index all data in solr

2019-07-09 Thread Shawn Heisey
On 7/9/2019 5:59 AM, PandurangPailvan wrote: In my dot net application for indexing in solr using solrconnection.Post() to index. initially in solr UI swap space displays 32gb and once reach to 32 it grows up to 64 gb and then stops indexing with system.outofmemory exception. Can anybody help

Re: Solr 7 - core is lost after restart

2019-07-09 Thread Shawn Heisey
On 7/9/2019 6:07 AM, talvinder.matharu wrote: If solr restarts only search for cores within the Solr home, should the value 'instanceDir' be limited to relative directory path when creating them in via the admin interface, installing the instance into Solr home and therefore avoiding this

Re: Solr 7 - core is lost after restart

2019-07-09 Thread talvinder.matharu
Thanks, the issue was because 'instanceDir' was indeed outside of server/solr and hence why it could not find my instance core. I have now migrated this data over to Solr home. If solr restarts only search for cores within the Solr home, should the value 'instanceDir' be limited to relative

Swap space in Solr Getting full and unable to index all data in solr

2019-07-09 Thread PandurangPailvan
Hi, I am using solr 8.0. In my dot net application for indexing in solr using solrconnection.Post() to index. initially in solr UI swap space displays 32gb and once reach to 32 it grows up to 64 gb and then stops indexing with system.outofmemory exception. Can anybody help me in this. My

ManagedFilter for stemming

2019-07-09 Thread Johannes Siegert
Hi, we are using the SnowballPorterFilter to stem our tokens for serveral languages. Now we want to update the list of protected words over the Solr-API. As I can see, there are only solutions for SynonymFilter and the StopwordFilter with ManagedSynonymFilter and ManagedStopFilter. Do you know

Re: Understanding DebugQuery

2019-07-09 Thread Charlie Hull
Hi Paresh, There are various tools available for breaking down the Debug query: www.splainer.io (disclaimer, I work for OSC who wrote this) and a few others - check out section 4 of this post for more http://www.flax.co.uk/blog/2018/11/15/defining-relevance-engineering-part-4-tools/ Cheers

Re: Solr 7.7 autoscaling trigger

2019-07-09 Thread zhenyuan wei
Hi, Maybe SOLR-12715 can help you. Mark Thill 于2019年7月9日周二 上午2:42写道: > My scenario is: > >- 60 GB collection >- 2 shards of ~30GB >- Each shard having 2 replicas so I have a backup >- So I have 4 nodes with each node holding a single core > > My goal is to have autoscaling