Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Anything related to Solr indexes: querying, configuring, maintaining, ...
1
vote
How to disable solr in the sitecore content delivery environment?
I don't know of any way to turn off search that has already been configured through the proper configs. You could just do something like this in your search queries and turn them on and off in Sitecor …
6
votes
Sitecore Web Index Rebuild
I did something similar to this not long ago to rebuild the sitemaps of 800+ sites. I used the Sitecore scheduled tasks.
Create a task
namespace Sitecore.Sitemaps.Tasks
{
class GenerateSitemaps
…
7
votes
How to get Solr to run as a service?
I just wanted to add another answer, as Sitecore 9 requires SOLR (or Azure) now and that is be secure. … Param(
$solrVersion = "6.6.2",
$installFolder = "c:\solr",
$solrPort = "8983",
$solrHost = "solr",
$solrSSL = $true,
$nssmVersion = "2.24",
$JREVersion = "1.8.0_151"
)
$JREPath …
7
votes
Accepted
Wildly inconsistent index data after rebuilds
I had to rem out the pdf and doc inclusions in the solr config file. …
2
votes
3
answers
2k
views
Media Library searching with SOLR
Sitecore 8.2 U5
SOLR 6.6.2
In the content editor, I can search for any words or phrase. Sitecore will return results for any item where that word or phrase is used, in any field. … UPDATE
We are noticing in the Media Library, in SOLR, we are searching the index sitecore_marketing_asset_index_master. …
11
votes
2
answers
3k
views
Wildly inconsistent index data after rebuilds
SC 9.1
SwitchOnRebuildSolrSearchIndex is enabled
SOLR 7.2.1
I have 120k items in Sitecore, so I have a good bit of data to sample. When I rebuild my web index, the total number is consistent. … But when I do a query like this to get my events, it will says 5382.
https://solr:8983/solr/sitecore_web_index/select? …
1
vote
Solr tokenization to split on semicolon character
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 …
3
votes
How to switch Lucene to Solr
AddCores.ps1
function Add-Core([string]$coreName)
{
try {$request = "http://localhost:8983/solr/admin/cores? … action=CREATE&name={0}&instanceDir=C:\Bitnami\solr-5.4.1-0\apache-solr\solr\{0}&config=solrconfig.xml&schema=schema.xml&dataDir=data" -f $coreName} catch {}
echo $request
$response = Invoke-RestMethod …
3
votes
Accepted
Why does my Solr index only contain English language versions? Sitecore 8u4
The languages are specified in the schema.xml file. Please look in yours and make sure you see this section.
<dynamicField name="*_t" type="text_general" indexed="true" stored="true" />
<dynamicField …
3
votes
Accepted
9.1 Powershell Install Solr Connection Issue
Sitecore 9.1 requires SOLR version 7.2.1. Using another version will have adverse side effects.
Per https://kb.sitecore.net/articles/227897
8.2 - 6.6.2
9.0 - 6.6.2
9.1 - 7.2.1 …
1
vote
Accepted
Datetime fields appear garbled in Solr
SOLR encodes the datetime fields so it can handle sorting/filtering in a better way than pure Lucene. If you look at the an item in the SOLR viewer, with a date field. … Look at the SOLR viewer.
SOLR datetime fields not readable …
3
votes
Error in custom index after upgrading to Sitecore 9
You have a custom SearchResultItem that does not match the index config.
You should have a custom class that extends SearchResultItem, like this
public class IndexedItem : SearchResultItem
That c …
0
votes
Solr JVM-Memory Spikes using List Manager Upload
When you upload 1 contact, it tells all the segments and MA plans to take note of the event. This causes a query against all contacts to see if anything has changed and if any contact needs to move.
…
10
votes
Boost Solr query and prioritize exact match
Beyond the boosting, the important part is to have the exact match Or the loose match. exactPredicate.Or(loosePredicate); That will build the proper SOLR query. …
3
votes
Indexing jobs queued
I just wanted to add this for how I solve the security issues @guschi had.
Download Process Monitor from the Microsoft web site.
When you get it open, add the rule Result - Contains - access. This …