New answers tagged

0

Go to config Sitecore.ContentSearch.Solr.DefaultIndexConfiguration.config (\App_Config\Sitecore\ContentSearch) and search for ContentSearch.Solr.ServiceBaseAddress setting and make it https://localhost:8983/solr <setting name="ContentSearch.Solr.ServiceBaseAddress" value= "https://localhost:8983/solr" />


0

Solr does not support both HTTP and HTTPS at the same. You can only use one of them at a time. So, make sure to update your config files(e.g. \App_Config\ConnectionStrings.config) to use only https://localhost:8983/solr.


7

You can use solr.PatternTokenizerFactory tokenizer to achieve this Define a new fieldtype in solr schema <fieldType name="semicolonDelimited" class="solr.TextField"> <analyzer> <tokenizer class="solr.PatternTokenizerFactory" pattern=";" /> </analyzer> </fieldType> and then ...


1

If you were to do it with a ComputedIndex field. it would be like this. But maybe you can do it with just solr configs. using System.Collections.Generic; namespace Sitecore.Foundation.Indexing.Infrastructure.Fields { using Sitecore.ContentSearch; using Sitecore.ContentSearch.ComputedFields; using Sitecore.Foundation.SitecoreExtensions.Extensions;...


1

After further investigation, it turns out that the original version of Java 8 (jdk8u222-b10-jre) used does not have proper support for PKCS12. Steps to fix: Download a newer version of Java In my case I jumped up to Java 14 but you could get by with 12 (or maybe 11) Export the certificate with the private key using a different password (secret) and ...


0

Azure PaaS (Web Apps) cannot support production SolrCloud environments because the ZooKeeper ensemble requires ports to be open other than 80/443.


2

Spellchecking lucene algorithms are many times smarter than just "calculate edit distance between term and all possible combinations of indexed word", because of perfomance. First character in term is very important in spellchecking, also because of performance, and I recommend you do not use minPrefix=0 setting that disabled first character ...


0

You can do it with SolrNet by passing QueryOptions as a parameter: using (var context = index.CreateSearchContext()) { var field = "courseactivities_s"; var value = "Dinghy"; var options = new QueryOptions { FilterQueries = new List<ISolrQuery> { new LocalParams {{"tag", ...


0

Take a look at the Doco here: https://doc.sitecore.com/developers/93/sitecore-experience-manager/en/linq-to-sitecore.html Sounds as though you want to specifically look at the Filter() and FacetOn() calls. You can confirm what the translated Solr Query will look like if you're having trouble by hopping into your Logs and reviewing the contents of the Search ...


1

You must have a typematch for type IEnumerable<ID> in your index configuration to make this work. So, create a patch file and include typematch from the below list //Sitecore 8.1 <typeMatch typeName="idIEnumerable" type="System.Collections.Generic.IEnumerable`1[[Sitecore.Data.ID, Sitecore.Kernel, Version=8.1.0.0, Culture=...


1

1.Make sure that you are using preserveOriginal="true" for solr.ASCIIFoldingFilterFactory filter <fieldType name="text_general" class="solr.TextField" positionIncrementGap="100"> <analyzer type="index"> <tokenizer class="solr.StandardTokenizerFactory"/> <filter ...


1

I'm not sure if I exactly known what you are trying to achieve but here are some details which might be helpful. The BoostingService has two important methods: IQueryable<ContentPage> BoostQuery(IList<Item> boostingItems, string searchQuery, Item contextItem, IQueryable<ContentPage> queryable) IQueryable<ContentPage> BoostQuery(Field ...


Top 50 recent answers are included