Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [solr]

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

Filter by
Sorted by
Tagged with
-2
votes
0answers
9 views

Sitecore boost value is not working in sitecore 9.1 and solr 7.2.1

I have assigned the boost value to all page in sitecore and then index. But sitecore search API do not doing the sorting based on the boost Value. Please suggest
1
vote
1answer
30 views

Solr Error - Error opening new searcher

Please let me know if you need any more information from my side. Attached Screenshots. I am new to Solr and Solr Indexing. Getting error on the master index after opening the Solr URL. I have ...
0
votes
1answer
32 views

Error processing the request. CoreContainer is either not initialized or shutting down. Solr 7.5.0 [closed]

Im trying to setup a new Sitecore 9.2 site which requires me to set up Solr 7.5.0. When I try to run the command solr start I can see the following error on http://localhost:8983/solr/#/ HTTP ERROR ...
0
votes
0answers
28 views

Sitecore Item SOLR Score [closed]

I'm using Sitecore 9.1 and SXA 1.8 and SOLR 7.2, I want to get the Sitecore item score from SOLR in order to sort the items using it. is there a method that can be used to retrieve this score.
0
votes
1answer
25 views

FuzzyLookupFactory is not working with Arabic words

I'm using Sitecore 9.1 and SXA 1.8, I'm using FuzzyLookupFactory for my suggester, and this is the configuration: <searchComponent name="suggest" class="solr.SuggestComponent"> <lst ...
1
vote
1answer
42 views

Suggestions on Improving Solr Indexing Speed

Please let me know if you need any more information from my side. I am new to Solr and Solr Indexing. I have 2 Million Records to be indexed and adding more soon, it is taking 16 hours to complete ...
2
votes
1answer
33 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
3answers
54 views

Error in custom index after upgrading to Sitecore 9

After upgrading to Sitecore 9 and converting custom index files from using Lucene to Solr, I am getting the following error on an Ajax call: Unable to cast object of type 'System.Collections....
2
votes
1answer
61 views

Issue with the Like operator on my custom field

My field configuration on Sitecore: <field fieldName="unifiedtitle" storageType="yes" indexType="tokenized" returnType="string">Project.Foundation.Indexing.ComputedFields....
1
vote
1answer
43 views

Solr ContentSearch returning too many results for a string comparison that should return just one

I have a very straightforward ContentSearch issue. My code is as follows: var filter = PredicateBuilder.True<PersonObject>(); filter = filter .And(i => i.Email == "my.email@address.com");...
2
votes
2answers
59 views

What is the fix for solr error 'undefined field _indexname' after building custom index in sitecore (v9.1.0)?

I created a new custom index named CUSTOM_SERVICES_INDEX using this command: C:\solr\solr-7.2.1\bin>solr.cmd create -c [custom index name] (cmd as administrator) then I created the config file ...
1
vote
0answers
30 views

Implementing a solr.DateRangeField type in Sitecore

We need to use DateRangeField query in Solr to perform two dates range filter. Managed schema field sample: <fieldType name="date_range" class="solr.DateRangeField"/> I have written computed ...
0
votes
0answers
23 views

Sitecore 9.2 JSS with Solr 7.5 , JSS route items and its subitems are not indexing

Currently we are developing Sitecore JSS app with React frontend. in this we are using Headless SSR mode to create the content in sitecore and rendering. our application is working fine with React, ...
1
vote
1answer
70 views

How can I rebuild the Solr indexes via Powershell?

I'm attempting to streamline the development environment setup process for a large development team. A lot of the setup process is already automated, e.g. we automatically create a Solr Docker ...
2
votes
1answer
61 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 ...
0
votes
0answers
31 views

sort the documents in solr based on the occurence of the searched words

I am building a search component in solr , and want to get the results on the basis of how relevant (most occured ) that word is in the particular field , i am filtering the results on a Content field ...
1
vote
1answer
46 views

Unknown Shape definition

I was wondering if anyone has come across this solr error when rebuilding indexes that contain coordinate information, and if there is anyway (other than cleaning the data) to mitigate it. An ...
5
votes
3answers
114 views

Boost Solr query and prioritize exact match

I have few records in Solr index. Bachelor of Nursing Bachelor of Nursing (Honours) My requirement is that when I want to search Bachelor of Nursing then Bachelor of Nursing should display first and ...
0
votes
1answer
75 views

Is it possible to make custom computed index field searchable in SXA 1.8

I'm using Sitecore 9.0 with SXA 1.8. I've got a requirement to search PDF names and it's fields including custom fields (e.g. download title field). When I see the Solr index / Azure index, PDF names ...
0
votes
1answer
49 views

List Facet using the index field is Empty

We are trying to create a ListFacet (dropdown filter) using the Computed Index field. These are the checklist that we have in place The Computed field contains values in the index file. Created a ...
1
vote
1answer
92 views

Search with dropdown filter based on parent item display name

I am using SXA's search results and dropdown filter to be able to filter items on the search scope by their parent item display name. I have it sort of working by first creating a Computed Index ...
3
votes
2answers
163 views

How to increase Solr JVM memory

Sometimes in the development or other environments (QA,STG,PROD), it is required to increase the size of JVM (Java Virtual Machine) memory. How can we increase the JVM memory? The size is of this ...
2
votes
1answer
44 views

xDB : System.TimeoutException

Environment: Sitecore 9.0.2 + XP0 All the components are hosted locally. Error in poc1.xconnect\App_data\logs: 2019-08-04 16:02:43.787 +05:30 [Error] Sitecore.XConnect.Operations.XdbSearchOperation`...
1
vote
1answer
32 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 ...
1
vote
1answer
50 views

How can I sort event items by closest date in SOLR?

I have an event listing API, which takes as input start and end dates and returns a list of events. The requirement for sort, is to show closest to farthest events by start date in the past, followed ...
5
votes
1answer
150 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 ...
0
votes
1answer
84 views

NotFound exception creating Solr cores on installation

I've installed Solr 7.5 successfully. I am using SIA (Sitecore Install Assistant) for my installing Sitecore 9.2.0. I am getting exception "NotFound - https://solr75:8750/solr//admin/cores?action=...
0
votes
1answer
43 views

Unable to AddFieldByFieldName elements for custom index

Using Sitecore 9.1 I'm trying to add some custom index fields and my config patch is throwing the below error when I add AddFieldByField name elements: [ConfigurationException: Unable to process '...
0
votes
0answers
23 views

Geofiltering does not work on the Shared site setup using SXA 1.7.0

On the shared site setup, no search results being returned when Geofiltering is applied. On the page load, results are rendered on the page. We noticed the below search query being generated when geo ...
1
vote
1answer
32 views

Install-SitecoreConfiguration : One or more errors returned from Solr request

I have cloned following Habitat project on my local environment: https://github.com/Sitecore/Habitat/ And here is the link stating that solr 7.2.1 is supported https://github.com/Sitecore/Habitat/...
1
vote
0answers
39 views

Error opening new searcher. Solr Core init failures [duplicate]

Our Solr for Sitecore is a master slave setup. Sitecore Solr slave has issues with the Sitecore analytics index and the error message is : Error opening New Searcher. Core is missing. We tried to ...
1
vote
2answers
156 views

Rebuild xDB Index in Solr

I'm attempting to get analytics working on a Sitecore 9.0 install. After various issues with connection strings being wrong, trackers not initialising I've got to a point where I'm fairly sure the xDB ...
-1
votes
1answer
86 views

Assigning CA SSL certificate to SOLR

We are trying to install SOLR in a standalone server for a production environment. A client has already installed an SSL server certificate on the Server. I can see it in MMC->Certificates->...
2
votes
0answers
46 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 ...
0
votes
2answers
91 views

Solr Move Cores to another server

While doing a sitecore 9.1 install we installed solr as a part of the CM server. We now want to move SOLR to its own separate server. This is what i did I did a clean install of solr in the new ...
0
votes
1answer
49 views

Method not found: 'Boolean Sitecore.ContentSearch.SolrProvider.SolrContentSearchManager.get_EnableHttpCache()'

After upgrading from Sitecore 8.2 to Sitecore 9.1, which updated the Sitecore.ContentSearch.SolrProvider to v4.0.0.0, the code compiles fine but we get the following when trying to access the site: ...
1
vote
1answer
54 views

Limit search result hits to a specific number with facets to match limited result set

I have a requirement to limit search results to an arbitrary number in a Site Search implementation. Is there a way to accomplish this in a query and get accurate facets relative to the arbitrary ...
0
votes
0answers
119 views

Indexing in Sitecore 9.1 erroring out [duplicate]

We have upgraded our solution to Sitecore 9.1 and Solr is upgraded to 7.2.1. Now while running indexing from index manager I am getting below error for few items: Sitecore.ContentSearch....
2
votes
2answers
141 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 ...
0
votes
2answers
194 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 ...
2
votes
1answer
189 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 ...
0
votes
0answers
21 views

Bucket search based on branch template name

I am trying to add a custom bucket search type by branch template name. However due to limited documentation I am not able to find out how to do this. I have added a custom search type but it does not ...
0
votes
0answers
74 views

Duplicate item records in SOLR index (web)

We have a strange issue on our UAT environment where duplicate records are being returned for a single content item in a new web index we have created and both are marked with 'latestversion:true' (...
1
vote
1answer
97 views

Sitecore 9.1.1 Solr suggester not returning any data

I have migration from Sitecore 8.2 to Sitecore 9.1.1. I have an issue with suggester not working after Solr migration from 5.1.0 to Solr 7.2.1. I am not getting any suggest results back from the ...
2
votes
2answers
100 views

Solr search query by Datetime.Year

I configured Solr index to the path where I created some articles using templates, templates have the same fields with data type as in below model <Root>/sitecore/content/Articles</Root> ...
6
votes
1answer
72 views

xConnect in a DR scenario

NOTE: In our environment, SQL is cloud hosted. It has its own fail over strategy which is separate from the server/site DR. NOTE: Our DR and Production environments are in different geo zones. We can'...
1
vote
2answers
332 views

Sitecore upgrade to 9.1 not indexing solr fields

I have upgraded my Sitecore instance from Sitecore.NET 8.2 (rev. 161221) to Sitecore 9.1 update-1. while running migration I ran into the issue where I had <indexAllFields> in the following ...
0
votes
1answer
57 views

Does Sitecore 9.X will support solr version 8.X [duplicate]

Does Sitecore 9.X will support solr version 8.X? I have to take some strategic decision on that based on that. So, if any body have insight or tried this then please help me.
0
votes
1answer
58 views

What happens to Sitecore - Solr query handling when a core is corrupted in Solr slave in a Master - slave setup?

Our Sitecore's solr search engine is a master-slave setup. One of the cores of the Slave is corrupted and is not available at all in Slave. It is not being replicated from Master too (Expecting ...
4
votes
3answers
137 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 ...