How does populate Solr conflict with Sitecore?
Here’s a first finding: It can conflict with the Populate Solr Managed Schema command, as it’ll list all you indexes and let you update them all at once. This may result in a race condition, as Sitecore will send multiple commands to update the schema, for multiple indexes, that are sharing the same schema.
Why do I get a success message in Sitecore?
You’ll get a “success”-message in Sitecore regardless if your update snippets are correct and stored in Solr or not. So make sure you read the managed schema file in the Solr UI to verify that the changes have actually been stored. Sitecore may show a success message even when the managed schema update are not applied in Solr.
What’s the difference between a Solr core and a collection?
Worth noticing is that Solr “cores” are called “collections” in SolrCloud. A “core” in SolrCloud is just a shard or replica of a collection. To make Sitecore work well with Solr, you should use switching indexes.
Is there a way to replace the Sitecore processor?
You can either replace the existing Sitecore.ContentSearch.SolrProvider.Pipelines.PopulateSolrSchema.PopulateFields processor, given that you provide the necessary functionality, or add your own processor. I found it easier to replace the existing one as I found a couple of errors in the built in one that I needed to address anyway.
How long does a filter query take in Solr?
For example, my query took 1 second with 5 filter queries (no cache hit) and 147ms when I moved all “fq” conditions into the main query with “AND”. But of course, when I stopped index updates, the same filter queries took 0ms because cache was used.
What does populate Solr managed schema command do?
Instead there’s a new “Populate Solr Managed Schema” command. It’ll use the REST interface of Solr to update the schema file. Solr can share collection configurations. This essentially means that you can have multiple collections (formerly known as cores) sharing the same configuration and this is usually the case.
How to search for simple site in Solr?
But when you try to search “simple site”, your query is parsed as PhraseQuery (_content:”simple sit”) . In this case, Solr searches of containing the “simple” and “sit” just as entire words in the document and you don’t get any results, because you don’t have a document with “sit” word in the content.
How to manage stop words and synonyms in Solr?
Consider a Web-based UI that offers Solr-as-a-Service where users need to configure a set of stop words and synonym mappings as part of an initial setup process for their search application. For this use case, it would be great if Solr exposed simple REST-style interface to list, add, and remove stop words.