We’re rewarding the question askers & reputations are being recalculated! Read more.
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
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
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
Results tagged with Search options user 167

Questions about searching (querying) Sitecore projects with the ContentSearch API. Use the Lucene or Solr (or Coveo) tags if the question is specific for any of those technologies.

2
votes
If your property name has to be dynamic, You could try the following code for sorting on numeric field: return queryable.OrderBy(i => (double)i[(ObjectIndexerKey)"price"]); Set Your field config to …
answered Nov 20 '17 by Ahmed Okour
2
votes
The code you posted is the right way to get the database based on the database of the item being indexed, I think you should get null for Sitecore.Context.Database because the code is NOT running with …
answered Nov 6 '17 by Ahmed Okour
4
votes
Not sure if this would work in your case, but previously i was able to run sitecore personalization rule by using this code to get the datasource (Sitecore 8.1): public string GetPersonlizedRendering …
answered Apr 8 '18 by Ahmed Okour
0
votes
If this is the source query for a field, you can use: query:../_local/* For Datasource Location on a rendering you can put in: ./_local
answered Sep 12 by Ahmed Okour
0
votes
Based on this link on github Out of the box Solr integration for Sitecore 7.x, 8.0 and 8.1 supports Solr 4.x and does not work with SolrCloud that was introduced in Solr 4.10.x versions and w …
answered Jul 26 '18 by Ahmed Okour
0
votes
You might need to append the computed field into _content field, Try changing the computed field name to the following: <fields hint="raw:AddComputedIndexField"> <field fieldName="_content" …
answered Dec 26 '18 by Ahmed Okour
4
votes
You need to create your Guid variable first before trying to filter FacetCategory on it, Something like: Guid facetGuid = new Guid(facet); containsQuery = containsQuery.Or(item => item.FacetCategory. …
answered Jun 9 '18 by Ahmed Okour