Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [solr]

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

Filter by
Sorted by
Tagged with
20 votes
1 answer
2k views

Sitecore Content deliveries and Solr with High availability

I'm trying to find a recommendation from Sitecore in terms of configuring Solr for high availability and how to use it properly with Sitecore. Does anybody know where I can find it? If not, I'm ...
Vicent Galiana's user avatar
10 votes
2 answers
3k views

How to configure Solr for Sitecore PaaS setup

We are currently trying to upgrade our Sitecore 8.1 Environment to Sitecore 9. We are also doing this implementation to Sitecore 9 PaaS and succesfully had several components work, however we are ...
Jovit Mayo's user avatar
10 votes
2 answers
5k views

Sitecore Full Content Search

We are using SOLR 5.4 and Sitecore 8.2 and we have implemented Full Content Search using _Content field which is displaying search result in Company Pages and various datasources linked to these ...
user2332873's user avatar
7 votes
3 answers
4k views

There is no method 'GetResults' on type 'Sitecore.ContentSearch.Linq.QueryableExtensions' that matches the specified arguments

We are using Solr for indexing. We recently upgraded from Sitecore version 8.1 update 2 to 8.2 update 5. After upgrading when a search is performed we get the following error: There is no method '...
Geoff Warren's user avatar
3 votes
1 answer
1k 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 &...
Mark Cassidy's user avatar
  • 25.3k
1 vote
3 answers
1k views

How to filter solr suggestions only from particular path

I recently tried solr autosuggest search in my local, Steps I followed : Added configuration in master in sensoft_master_index\conf\solrconfig.xml Restarted solr8.1 service in services in C# code, ...
Rajasekar's user avatar
  • 692
34 votes
12 answers
39k views

How to get Solr to run as a service?

I have a Sitecore 8.1 instance and we are using Solr 4.10 for search. I followed the Solr installation guide found here - https://sitecore-community.github.io/docs/search/solr/fast-track-solr-for-lazy-...
Corey Burnett's user avatar
14 votes
4 answers
8k views

Configuring SSL for Solr

So I'm working my way through the Sitecore 9 install instructions, and part of it is to install Solr with SSL. Since the install guide just refers you over to Solr, I've been following the ...
Ken McAndrew's user avatar
  • 5,102
13 votes
4 answers
5k views

How to switch Lucene to Solr

We are planning on changing from Lucene to Solr due to number of items and because we have more than one CM server. What are the steps needed to migrate default lucene indexes to Solr? Is it just a ...
josedbaez's user avatar
  • 1,792
12 votes
4 answers
8k views

How much memory does the JVM for Solr need?

My website went down last night and as we were looking through the log files on one of the CD instances we found this error: > 6684 23:20:21 ERROR <?xml version="1.0" encoding="UTF-8"?> <...
Keith VanderVeen's user avatar
11 votes
2 answers
3k views

Wildly inconsistent index data after rebuilds

TLDR - we put anderslaub's answer fix into a production site and it worked like a charm. SC 9.1 SwitchOnRebuildSolrSearchIndex is enabled SOLR 7.2.1 I have 120k items in Sitecore, so I have a good ...
Chris Auer's user avatar
  • 13.1k
10 votes
2 answers
7k views

Sitecore.ContentSearch.SolrProvider.SwitchOnRebuildSolrSearchIndex. No matching constructor was found

I am trying to configure Solr for Sitecore 8.2. Solr is running and I have cores set up for each index and secondary cores set up for rebuilding. I'm not using the Solr support package. I am getting ...
Geoff Warren's user avatar
5 votes
1 answer
427 views

How do you perform a ContentSearch using the "MoreLikeThis" handler?

We have a Solr index and using the standard Linq queries. I noticed that Sitecore supports Solr features like Suggester or Highlighter, but I did not find anything about MoreLikeThis feature. I'm ...
Matthew Butler's user avatar
4 votes
1 answer
600 views

SOLR datetime fields not readable

In my SOLR index, all my datetime fields have encoding in them and not date data. I have compared my configs with a vanilla Sitecore 9.0.1 and find no differences. So it seems like it must be a ...
Chris Auer's user avatar
  • 13.1k
4 votes
3 answers
266 views

Sitecore 9.0 works with solr 7.2.1?

I have installed Sitecore 9.1.0 XP on my system with Solr 7.2.1. I want to install Sitecore 9.0.1 XP also on my system. Should I use Solr 7.2.1 for this or do I need Solr 6.6.2? Any help is ...
Rajasekar's user avatar
  • 692
3 votes
5 answers
2k 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 ...
JKerny's user avatar
  • 349
3 votes
1 answer
525 views

How to change solr.jetty.request.header.size in docker

I have created a Solr version 8.1.1 in Azure using a Docker for Sitecore. I get the following error for a large query: ERROR Error during executing a query. Exception: SolrNet.Exceptions....
SitecorePro's user avatar
1 vote
1 answer
561 views

Computed field is getting updated in solr index only when we do full rebuild of reindex

I have a Sitecore instance running on Sitecore v9 update 2 using SOLR. So I have created 3 new computed fields, these fields are working properly when I rebuild index or re-index tree (both master and ...
Harish's user avatar
  • 129
0 votes
2 answers
6k views

Error opening New Searcher. Core is missing: `Sitecore_Analytics_Index` [closed]

Our Sitecore Solr has issues with the Sitecore analytics index and the error message is : Error opening New Searcher. Core is missing. We tried to look in to the error but could not gather much ...
Mahesh Varma's user avatar
12 votes
1 answer
2k views

How do I limit the size of my SOLR indexes?

Every now and then my drive fills up with temp files from SOLR, and I can't figure out why that is happening. Here's what I know: I have a 50gb partition and my analytics index has numDocs:43,287,203 ...
Keith VanderVeen's user avatar
10 votes
2 answers
1k views

Gracefully handle Solr search connectivity issues

We had an issue recently where the Solr search servers went down and it took the site down too. Is there a way to handle this gracefully and keep the site up but just return an error message when the ...
Adam Seabridge's user avatar
10 votes
2 answers
1k views

SearchConfiguration is not configured correctly. ContentSearchConfiguration was expected but System.String was returned

I am getting this error when trying to access a Sitecore website. Here's a screenshot of the complete error message. It probably has to do with configuring Solr to work with Sitecore. Does anyone ...
andrei's user avatar
  • 175
9 votes
6 answers
13k views

Settings for Solr in a master/slave or leader/follower configuration

We are doing Solr Master slave configuration for one of the environments . Now issue here is 1) Is it possible for Sitecore CMS to update indexes on Solr Master and do Out of the box search in ...
user2332873's user avatar
9 votes
5 answers
16k views

Error when rebuilding a Solr index: unknown field '__display_name_t_cs'

I am getting this error when trying to rebuild my master index in Solr: Job started: Index_Update_IndexName=sitecore_master_index_solr|#Exception: System.Reflection.TargetInvocationException: ...
ADH's user avatar
  • 1,765
8 votes
2 answers
2k views

Issue with multiple crawlers on Solr custom search index

I have custom search Index(SOLR) which has two root locations defined, one points to /home node and another points to repository(videos), we also have indexing strategy(onPublishEndAsync) in place. &...
Gopikrishna Gujjula's user avatar
8 votes
5 answers
11k views

Solr query length limit

We are having an issue where queries are too big so we get error 414 (Request-URI Too Long). From what I can see, sitecore sends a GET request with the query to the server. Is there a way to switch ...
josedbaez's user avatar
  • 1,792
7 votes
3 answers
1k views

How do I run MongoDB and SOLR Docker images that work with Windows Server 2016?

I'm trying to configure my Sitecore 8.2 instance in a Docker container using Windows Server 2016. I've been able to successfully setup IIS in a Docker container, but am unable to find any containers/...
Keith VanderVeen's user avatar
7 votes
4 answers
11k views

Unable to connect to [http://localhost:8983/solr], Core: [mycore]

I am creating Solr Sitecore search index. After index was added to Solr and Sitecore configuration was updated to connect to it, I suddenly got yellow screen of death: Connection error to search ...
Dmitry Harnitski's user avatar
6 votes
1 answer
1k views

What is the best way to store a single Sitecore field into two Solr index fields with different types?

I have a Category field in sitecore and it is currently stored as a text_general in Solr. It has this type because I need it to be tokenized and lowercase for searching. On the other hand I need to ...
Bartłomiej Mucha's user avatar
6 votes
1 answer
1k views

"Multilist with Search" Field Does Not Return Search Results With Two Or More Items Selected

This is for Sitecore 8.1 Update 3, using Solr 5.5. It appears that in a Multilist with Search Field, if the field has two or more items currently selected (it does not matter whether the item has ...
Justin Laster's user avatar
6 votes
2 answers
13k views

Value cannot be null. Parameter name: fieldNameTranslator - Opening Content Editor [closed]

I was trying to setup the Sitecore with Solr. I created the Default Instance and added Solr. I use Castle Windsor as IOC, updated the Global.asax. Since I was not able to download the Solr Support ...
Sivalingaamorthy's user avatar
6 votes
2 answers
1k views

When using SOLR with Sitecore is it mentioned anywhere to always use lowercase index names?

For a recent customer, we moved them to SOLR, which I highly recommend for production environments over Lucene, and we encountered a few issues, as some of the Lucene indexes had some uppercase ...
David Walker's user avatar
5 votes
2 answers
2k views

Programmatically adding items to a custom Solr Index

I'm trying to add some items to a custom Sitecore Solr index Programmatically via the Sitecore Content Search APIs. The items I will add won't reside in Sitecore so the code below is just a test for ...
Adam Seabridge's user avatar
5 votes
3 answers
20k views

How to query Solr with spaces and slashes in the filters?

I have a Sitecore 8.1 instance using Solr 4.10. I have a custom field in my Solr index called read_roles. It is a list of Sitecore roles that can read a given item. Here is an example of what that ...
Corey Burnett's user avatar
4 votes
1 answer
336 views

Trouble with Sitecore Linq to Solr and parentheses

I have a Sitecore 8.1 / Solr 4.10 solution. I am noticing that with a complex Linq query that includes a lot of parentheses that sometimes Solr returns no results. But if I remove the parentheses ...
Corey Burnett's user avatar
4 votes
2 answers
1k views

Solr tokenization to split on semicolon character

How do I go about configuring fields within a Solr index to be tokenized based on a semicolon ";" delimiter? Initially, I had fields configured as such: <field fieldName="example&...
Matthew Dresser's user avatar
4 votes
2 answers
2k views

Object Reference Error in Sitecore.ContentSearch.SolrProvider.SolrIndexSummary.get_NumberOfDocuments()

I am running Solr 5.5.4. When I open the index manager, I see a bunch of errors in the Sitecore log file of the following: 5664 13:40:46 ERROR Object reference not set to an instance of an object. ...
AmoebaMan17's user avatar
4 votes
2 answers
1k views

Why is SIF failing to create Solr core?

I am trying to install Sitecore XP9 by following the installation guide as described in Chapter 5 of the Sitecore Experience Platform Installation Guide. After creating a Powershell script as ...
João Neto's user avatar
  • 2,051
3 votes
4 answers
3k views

Sitecore Installation Assistant 9.3 path denied installing Solr

When trying to install Sitecore 9.3 using the new Sitecore Install Assistant, SOLR fails to install with the following error: [------------------------ DownloadSolr : DownloadFile --------------------...
Tim Griffiths's user avatar
3 votes
1 answer
269 views

ContentSearch Solr SendPostRequests settings throw exception

When is set setting ContentSearch.Solr.SendPostRequests to true, for searching in solr by post request because query is very big and Get not working, the next exception is thrown. Sitecore version 9.1,...
John Vein's user avatar
  • 141
3 votes
3 answers
1k views

Solr Issues Using Multilist Property on Search Result

I have a multilist field on article items called Categories. In a module I am trying to filter based on one or more items in that multilist field. I can do this if I directly supply the name of the ...
Teeknow's user avatar
  • 2,477
3 votes
1 answer
312 views

In solr Master-Slave configuration custom indexes are getting out of sync sometimes in one of the slave servers

In our production environment, we have Master-Slave SOLR server configuration. We have 2 SOLR slave servers and configured SOLR load balancing URLs in prod CM and CD servers. Right now we are facing ...
Ruchi Gupta's user avatar
2 votes
1 answer
160 views

Solr QueryElevationComponent component usage

I am hoping to use the Solr QueryElevationComponent for best bets on my site search. Hooking it up was easy enough, the biggest issue I have is _uniqueid field which is used by the component to ...
PatMac's user avatar
  • 95
2 votes
1 answer
164 views

Solr search with contain

If my search keyword is 'test,' then my document is 'testtesttest.' How can I get the result to show that the number of occurrences is 3 in Solr?" Unfortunately, the result I am getting shows a ...
Alexng Koklek's user avatar
2 votes
2 answers
2k 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 ...
Hugo Santos's user avatar
  • 2,311
2 votes
1 answer
368 views

Use the TermFreq() function programatically in Sitecore

I was building query on the basis of the occurence/relevancy of the terms present in a field and got one issue , suppose i searched for a keyword "text" in the content field , and i want to sort the ...
Rohan Bhateja's user avatar
2 votes
6 answers
9k views

Indexes missing in Sitecore Indexing Manager

During the process of upgrading to Sitecore 9.1, I configured Solr indexes, and they show up in dashboard but not showing up in Sitecore indexing manager. Any suggestions/advice? The crawling log ...
manaslu's user avatar
  • 397
2 votes
2 answers
1k 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 ...
Emanuele Ciriachi's user avatar
2 votes
2 answers
7k 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: ...
Rohan Bhateja's user avatar
2 votes
2 answers
352 views

Refreshing single document in ContentSearch/Solr index using IndexCustodian?

I have a working custom index configured, it includes some custom fields and has specifically included fields and templates to keep it light. It uses the default SitecoreItemCrawler. I'm on 10.1 ...
geedubb's user avatar
  • 153