Questions tagged [solr]

Anything related to Solr indexes: querying, configuring, maintaining, ...

Filter by
Sorted by
Tagged with
2
votes
2answers
861 views

Computed index fields on Sitecore 9.1.1 CD server

I have a custom computedfield in Sitecore 9.1.1. I am getting the below error on CD server only as my web.config has: <add key="role:define" value="ContentDelivery" /> Current CustomIndex ...
2
votes
1answer
575 views

Solr suggester not returning full name

I migrated the project from Sitecore 8.2 to Sitecore 9.1.1. There was a suggester component that we were using to provide a suggestion for a search term. As part of the migration, I also created a ...
2
votes
2answers
3k views

Searching a substring using solr

I am trying to move my code from Lucene to Solr, but am facing an issue. I have 4 fields indexed, all the field are of text_general type (from the managed schema). The code from Lucene is: ...
2
votes
1answer
528 views

Index Update Strategy not Firing on Publish End with Custom Publishing Target and Custom Solr Index [duplicate]

We have a prod set up that has one CM and two CDs. The CD servers serve content from a second web database that we call "live". This database is a clone of web. We use web as a staging environment on ...
2
votes
1answer
594 views

Sitecore 9 and custom solr indexes

I'm working with Sitecore 9 and solr 6.2.2. I am trying to create a custom index and in this index I'm only including a few fields. One of the fields is called OfficeLocation and it's a string. When ...
2
votes
1answer
1k views

Could not resolve type name error while performing search in Sitecore in Content tree

After logging to the Sitecore content tree, getting the below error while performing the search. An error occured while searching. Rephrase the query. Could not resolve type name: Sitecore....
2
votes
1answer
272 views

What is Sitecore.ContentSearch.SearchTypes.Content Property which maps solr _content field?

What is _content in SOLR. While mapping through Sitecore, what are the fields will it map? Is it good practice to use Content property in search query builder? In that case, How will it work in ...
2
votes
1answer
478 views

How to search by a date with ContentSearch and IObjectIndexers

I have a generic search method which should be able to search based on any field. I have something like this: criteria = x => x[FieldName] == fieldValue; This works well for strings but, how can I ...
2
votes
1answer
82 views

Using Sitecore Rocks for Solr Search Enabled Sitecore instance

I have noticed this strange error in my instance after attempting to connect sitecore rocks with my local sitecore instance which I have recently migrated to solr from Lucene search provider. Actual ...
2
votes
1answer
578 views

Increasing SOLR security (hardening), and how Sitecore will handle with it?

I'm looking to increase the security of my SOLR environment and wonder how Sitecore will handle with it? For example, I saw a possibility to use SSL and I guess it would be simply replace HTTP to ...
2
votes
1answer
190 views

Solr intermittently failing with “java.nio.file.NoSuchFileException”

I have a vanilla Sitecore 10.1 SXA setup on Docker. And for all intents and purposes it functions fine. However. Sometimes, and I've not been able to track down when or why this happens exactly, Solr &...
2
votes
1answer
56 views

Droplist field type and Drop link field both are showing Item ID in sitecore 9.0.1

I am using sitecore 9.0.1 and sxa version 1.7. I have created a custom template with field type Drop link for the search functionality and created a rendering varient for it .But it is displaying Item ...
2
votes
1answer
84 views

Cannot search sxatags to find related items - 'undefined field sxatags'

Sitecore 9.3 with SXA. I'm trying to utilise sxa tags from the inherited _Taggable template to programmatically find related items with similar tags to the context item. That SXA template is /sitecore/...
2
votes
1answer
1k views

Sitecore 9.3 with solr - Computed field is not showing up in index, nor is ComputeFieldValue executed

I think I may be missing an important piece of information, but I am currently trying to get a computed field to show up in my Solr index. I did not have any issues doing this in Sitecore 7.5 with ...
2
votes
2answers
577 views

Sitecore 9.3 Installation issues - SSL/TLS - Solr 8.1.1

I am trying to install Sitecore 9.3 using Solr 8.1.1, I am facing issues with Transport Layer Security [TLS 1.2] Error Message - The request was aborted: Could not create SSL/TLS secure channel. When ...
2
votes
1answer
217 views

Solr indexed date field is off by a day

I have a computed date field in Solr that for certain items is off by 1 day. The code is really simple: public class SearchDateField : BaseContentComputedField { public override object ...
2
votes
2answers
632 views

Solr Cores Locking. v 9.0.2

We have our SOLR server running on an Azure App Service. Occasionally the cores will lock. This can be resolved by a restart but I am hoping that there is some configuration that can help to prevent ...
2
votes
1answer
153 views

Send POST requests to Solr 7.2.1 from Sitecore 9.1

For some search requests to SOLR 7.2.1 I have to use quite long queries (oversees 8192 symbols), as a result I'm getting (414) URI Too Long error. I've already investigated many articles and tried ...
2
votes
1answer
60 views

Solr XConnect Search Web Deploy package URL

I am trying to install Sitecore 9.2.0 XP with SOLR in ARM template. For that I need to put the web deploy package of "Solr XConnect Search Web Deploy package URL" in the place of "...
2
votes
1answer
828 views

How to apply stop words at Solr query time?

I'm having some fun with Solr and here is my current issue. I've applied some stop words using the stopwords.txt file and rebuilt my indexes. Everything looks fine here, I can see that those stop ...
2
votes
2answers
949 views

Solr and Tokenizers: how to tokenize specific indexes using Solr 4.10.4

I'm on Solr 4.10.4, Sitecore 8.1 160519. I finally managed to convert my Lucene custom index configuration to Solr, but some indexes are not tokenized. The custom index "parsed_answers" on Lucene is ...
2
votes
1answer
148 views

Installing SC 9.0.2 with SIF and Remote Solr Server with Self-Signed Certificate

I am Installing SC 9.0.2 with SIF and a Remote Solr Server with Self-Signed Certificate. i have split the script up as found here: https://tothecore.sk/2018/04/19/installing-sitecore-9-xp0-with-solr-...
2
votes
1answer
832 views

Solr Error When Rebuild xDB Search Index

I'm working with Sitecore 9.0.2 and Solr 6.6.2. When i tried to rebuild xDB search index, i saw some error in log of SOLR as below : 9/7/2018, 4:47:39 PM ERROR false RequestHandlerBase org.apache....
2
votes
1answer
234 views

How to correctly process index dependencies for correct language?

I am updating index dependencies as mentioned in Sitecore Full Content Search where we are using GetDatasourceDependencies. Now, the issue is that this works fine for the English language, but, ...
2
votes
1answer
2k views

SolrNet.Exceptions.SolrConnectionException when trying to configure custom Solr index

I am migrating a project from 8.2 to 9, and moving indexes from Lucene to Solr. The default indexes are fine, but my custom index is throwing an exception: 53416 08:51:21 ERROR Unable to connect to [...
2
votes
1answer
490 views

Content Manager returns empty list

I am on v8.2 Using SOLR as search index. I have the items indexed and can see them in the index. I kicked off index rebuild a few times. However, ContentSearchManager.GetIndex("sitecore_web_index")....
2
votes
1answer
1k views

Customizing SXA checklist filter facet component

I would like to do pivoted search using SXA Search filter facet Component. Is there a way to customize SXA Search component and have pivoted kind of search? I see that sxa delivers SearchController ...
2
votes
1answer
63 views

Rebuild search index inside Sitecore 10.1 CMS not showing sitecore_web_index or sitecore_master_index or sitecore_web_core

I was trying to implement search functionality with Solr on Sitecore 10.1 instance. But Im not able to find the following default indexes: sitecore_web_index sitecore_master_index sitecore_web_core ...
2
votes
1answer
36 views

Resolving items using SOLR

Wiki post : Item resolving is a time consuming task for Sitecore. If the item tree is wide (one item can have a lot of children) the search for item can be both resource and time consuming. Question: ...
2
votes
1answer
227 views

PowerShell script to get data from Solr and Edit in Sitecore

Is there a way that i can Query Solr to get data based on a template. Then foreach of that data do a Sitecore Getitem and Update a field's value.
2
votes
1answer
99 views

Unable to connect to [http://slavesolrdomain:port/solr], Core: [sitecore_web_index] in Master Slave Solr Configuration

I am facing issue while this unconventional issue in the Sitecore Solr Master Slave configuration. Below are the details. Sitecore Version: Sitecore 8.2 Update 6 Solr Version: 6.4.0 (We are using ...
2
votes
1answer
56 views

Filtering Content Editor global search in SOLR

When I use the global search in the Content Editor in my Sitecore 8.1 instance (that uses Lucene), the search.log displays the following output: ExecuteQueryAgainstLucene (sitecore_master_index): ...
2
votes
2answers
594 views

How to download and install JRE with PowerShell for Sitecore Solr installation

The script from Jeremy Davis Downloads, installs, adds SSL and sets up Solr as windows service. However, JRE is required for Solr and JRE needs to be installed manually. Is there anyway to download ...
2
votes
2answers
673 views

Indexes are not appearing in Indexing Manager when using Client Certificate Authentication With Solr [closed]

We have setup Client Certificate Authentication with Solr using below link: https://blogs.perficientdigital.com/2018/08/01/client-certificate-authentication-with-solr/ Solr admin panel is loading ...
2
votes
1answer
138 views

Installing Sitecore 9.0.2 SIF generates wrong marketingdefinitions_master configuration

After configuring SIF installer for Sitecore 9.0.2 installation as follows # Start Install Import-Module SitecoreInstallFramework $prefix = "foo" ... #install solr cores for sitecore $solrParams = @{...
2
votes
1answer
228 views

Experience profile doesn't display number of contacts fully after rebuild xDB search index

I migrated xDB data from the Mongo database to xConnect collection databases successfully. After that, I tried to rebuild xDB search index. The rebuild process finished successfully. But I noticed ...
2
votes
2answers
474 views

Solr Installation error : NativeCommandError

I am setting up the Solr 6.6.2 with SSL for Sitecore 9 installation on one of the new development machine. I am following the Kam Figy PS script : https://gist.github.com/kamsar/...
2
votes
1answer
913 views

No Indexes showing in Index Manager on Azure CM AppService

We have created our Sitecore production environment (Sitrecore 8.2 Update 5, EXM + XDB Cloud) using ARM templates. This means we have CM, CD, Reporting, Processing and DDS (Data Distribution Server) ...
2
votes
2answers
358 views

Sitecore HTML Indexing

We have custom indexer which indexes all the RTF Data in present in content tree and this indexed RTF Data can have Div's ,breaker Tags and anchor tags. When we get search result out from Solr we ...
2
votes
1answer
612 views

Representing relational data in Lucene/Solr index for Segmented lists

Scenario: In Sitecore Experience platform (8.1+) we have a xProfile/Contact, with zero-to-many Sitecore Certifications relation, as an example The contact Arthur Dent has over the years has earned ...
2
votes
0answers
115 views

Sort By Grouping NumFound Field

Hello Sitecore Stack Exchange, Environments: Sitecore 9.2, Solr 7.5.0|SolrCloud 7.5.0, Custom search index. In the Search logic I have the next requirement: I should group search response and sort ...
2
votes
0answers
60 views

Filtering Solr search results based on score

I'm trying to figure out a way to apply a filter on result scores. E.g. I want only results with score >50. In pure Solr, that is solved by using a filter query. Adding the following to the query ...
2
votes
1answer
176 views

Boosting Search Results

I was disheartened to see this in the Sitecore docs: Important Search result boosting works in Solr version 6.6 or earlier, but Solr changed the implementation in Solr 7, and later versions. ...
2
votes
0answers
318 views

Empty String in Solr

I have a custom field to be Indexed for each Item. If it does not get the value it returns string.Empty. Before when Item's searched in Solr, whose custom fields are string.empty the field was not ...
2
votes
0answers
55 views

Keyword search with field level boosting and spatial search

Sitecore 9.3 I want to boost a result based on a field containing a keyword and it's working absolutely fine with the below query. var keywordQuery = PredicateBuilder.True<SearchResultItem>(); ...
2
votes
0answers
32 views

class SolrContentSearchManager in namespace Sitecore.ContentSearch.SolrProvider si deprecated

Recently i upgraded sitecore instance from 8.1 to 9.3. SOlr5.4.1 set up was working fine with sc8.1, I was using NINJECT as DI. now after upgrading , SOlr is causing at DI level, complaining that ...
2
votes
1answer
269 views

SXA Search Boosting Throws Error

I have configured the search scope for SXA (Sitecore 9.3) and it works as expected. However, when I try to add boost configuration to the search scope it throws the below error. Invalid Method Call ...
2
votes
0answers
69 views

Populate Solr Managed Schema deletes added solr fields

I am adding fields via the Solr admin and can see them in the managed-schema file, however when I go to Sitecore Populate Solr Managed Schema, and run it, those fields get removed Am I missing ...
2
votes
1answer
181 views

Non-static method requires a target

Recently migrated from Lucene to Solr search(7.2.1) in Sitecore. When I try to get the search results from Code, I'm getting the exception Non-static method requires a target However, from Solr ...
2
votes
0answers
281 views

Something missing from Sitecore package, how to find out what it is

I've been trying to hand off some content for our developers to test with. However, when they use the installation wizard to install my package, the installation fails. I checked their logs and am ...

1
3 4
5
6 7
11