Questions tagged [content-search]

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.

Filter by
Sorted by
Tagged with
2
votes
0answers
63 views

How to implement nested condition in Sitecore search Query Token?

Refereeing this nice post https://ggullentops.blogspot.com/2019/01/extending-sxa-search-query-tokens.html Above approach works well with simple conditions which generate the below SOLR query e.g. ...
2
votes
1answer
170 views

How to search any component's field value by using SXA search component?

I am newbie in SXA, working on Sitecore 9.2 SXA 1.9 . Here in my case i am using Carousal in one of page where trying to search by Slide Text field value but no record is coming. I have added ...
2
votes
0answers
123 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
1answer
104 views

Search on custom solr index

I am trying to search on a solr core which contains static data without any Sitecore details. <doc> <str name="_property_text">1</str> <str name="_itemnumber_string">1250000&...
2
votes
0answers
103 views

Solr Document Boosting

I'm attempting to item boosting working with Solr and I can't for the life of me get it to work. I'm certain that I've had it working in the past for other projects. The problem looks to be on the ...
2
votes
0answers
170 views

SXA pdf files search issue

In our Sitecore SXA solution, searching for pdf files is failing. In our case, the files are stored under a separate media folder which is under the actual site node. We have installed the pdf IFilter ...
2
votes
0answers
67 views

Custom content search (crawler) sent old indexed ids

I have a completely custom search crawler that pushes data to Algolia. If I run the full reindex it works great. When trying to use a onPublishEndAsync strategy I see the first item come in I publish ...
2
votes
1answer
148 views

SearchQuery in a saved search given multiple conditions

I am trying to figure out how to give multiple 'AND' conditions in a Saved Search which is under an item bucket. Currently I have the following location:{0a6536b7-afe8-4121-ae74-ef7501e36491};...
2
votes
1answer
112 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 ...
2
votes
0answers
672 views

Content Search Functionality Not Working [closed]

I am working on a search functionality to return items with certain template, location of the folder to look for in, and has the item name: var predicate = PredicateBuilder.True<SearchResultItem&...
2
votes
0answers
71 views

When will the sitecore azure search provider be released? [closed]

I saw there was a Roadmap from earlier this year saying Azure Search Provider would be included in 8.2 update 1 to be released this year. Along with Azure session redis cache. Has anyone got any ...
1
vote
1answer
854 views

How to rebuild Lucene Index using API?

We have to rebuild Lucene index on our CD server. Is there any Sitecore API to rebuild Lucene index? or rebuild a portion of tree items?
1
vote
1answer
555 views

Sitecore Content Search not returning back fallback items

We are on latest version -Sitecore 8.2 update 3 Below is the query we are using to get all composers for language es-es. It's giving back 3 results. That's partially right as there are only 3 ...
1
vote
2answers
552 views

Search results with starting date equal to Today

I need to search the content that has a date equal to today so that the search results component would only show the items that are only valid for today and later I'm using SXA 1.7
1
vote
1answer
57 views

Coveo Search Word match

In my content, I have the following text water engine, Fire engine Features now available on the test model: 01ANB is the test string If I search for engin (not engine), it brings up this particular ...
1
vote
1answer
67 views

Lucene Search Item start location

We are having the below item structure in sitecore and using Lucene Index, Home -- Products A Repository Product 1 Product 2 Product 3 -- Products B Repository Product 1 Product 2 Product 3 ...
1
vote
1answer
65 views

Index two different template fields into the same index field

Say I have a template "ArticlePage" which includes the field "ArticleTitle" and then I have another template called "ContentPage" which includes the field "Title". (I know this is not an ideal setup, ...
1
vote
1answer
120 views

How to set a item field as ParameterExpression in Coveo

When I try to create a custom rule and pass field name, I get Instance property 'textField' is not defined for type 'Sitecore.ContentSearch.SearchTypes.SearchResultItem' exception. This is how my ...
1
vote
1answer
84 views

Re-use computed index field for multiple template fields

Is there a way to re-use the code for a computed index field without just making derived classes? I would like to have an additional property in the config which tells the ComputeFieldValue method ...
1
vote
1answer
104 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");...
1
vote
2answers
269 views

How to make a media library image searchable with few keywords rather just the item name?

Simply wondering how to tag an image with a few different keywords and find it that way later on within the media library. It seems like currently the search function of the media library only picks ...
1
vote
2answers
663 views

Sitecore Elastic Search

In Sitecore (Sitecore 9) to get search results from different-2 third party systems including Sitecore, we need to use Elastic search instead of default Solr search in Sitecore 9. Is my understanding ...
1
vote
1answer
141 views

Plural terms and Sitecore lucene

Sitecore 8.2 U6 I have been experimenting with the Sitecore stemming analyzer. Sitecore.ContentSearch.LuceneProvider.Analyzers.StandardAnalyzerWithStemming But it isn't perfect. It has trouble ...
1
vote
2answers
436 views

Sitecore Content Search Exception: Entry point was not found

I'm having an issue taking an older version of our site running under Sitecore 7.2 (with some older dll's such as glass mapper) and switching over from Lucene to Solr (6.6.2). I've followed the steps ...
1
vote
2answers
924 views

Sitecore Search and Standard Values

Let's say you have an item with a checkbox field "DisplayOnPage", and the standard values for the Items template has "DisplayOnPage" set to be checked by default (thus the standard value for this ...
1
vote
1answer
94 views

Facet query returning 100 items max

Using Sitecore 9.2 with Solr on SearchStax. We have the Query.MaxItems value patched to 0, so finding a limit returned of 100 items is unexpected. We're setting up a number of dropdowns, using this ...
1
vote
1answer
51 views

Use site specific search indexes configured on SXA site item in Content Search API

When making Content Search API calls, Sitecore resolves the index based on certain logic which is very well explained here. In SXA, we do have an option to configure the indexes on the site item, ...
1
vote
1answer
206 views

IS there a simple way to get the current Azure Search index name programatically?

I need to get the current active index name for Sitecore search for logging purposes. Because of the swap on rebuild functionality, I can't simply use the name field of the index, since on alternating ...
1
vote
3answers
349 views

Techniques and Rules to Eliminating Template fields from Indexing

I am investigating my site's indexing and looking at working around the Azure Search index 1000 field limit (see here Rebuilding Sitecore Core Index on Azure search throwing exceeding index limitation ...
1
vote
2answers
1k 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 ...
1
vote
1answer
203 views

Error message: Value of the StartSearchLocation '' is not a valid GUID. '{11111111-1111-1111-1111-111111111111}' will be used instead

I'm seeing this error repeatedly in the logs in our CM instance of Sitecore 8.1 update-3. Where does it come from? ERROR Value of the StartSearchLocation '' is not a valid GUID. '{11111111-1111-...
1
vote
1answer
561 views

Search using a Search string in SXA Search service

I have a requirement to implement a custom search box and pull search results based on scope and then present the search results by combining components created using two templates. I am trying to ...
1
vote
2answers
897 views

Search for Items Content under the Data Folder

Is there a way to include the content in the Data folder in the search results? when I search for an item using the search box it doesn't show up and I get 0 results but when the search box query is ...
1
vote
1answer
634 views

How to enable full-text searches within the Content Editor?

Our client would like to do full-text searches within all of their Content (e.g. the values of the Rich Text Fields). Is it possible to enable this within the standard Content Editor search function? ...
1
vote
1answer
991 views

Why does my Solr index only contain English language versions? Sitecore 8u4

Any idea why my master and web index only have the "en" language versions of items in my 4 language site? Where are languages for the crawler configured?
1
vote
1answer
25 views

Search API with multiple conditions

Sitecore 9.3 What I have till now: I am able to filter items based on a template using the search context. var unversionedImageTemplateId = ID.Parse(Constants.UnversionedImageTemplateId); var ...
1
vote
1answer
187 views

SOLR Spell checker not working well with multiple words

I'm using Solr 7.2.1, I'm trying to implement the 'Did you mean' feature, I've configured the spell check handler and it's working well, the issue is when trying with multiple words, if only one word ...
1
vote
1answer
75 views

Embed query text in no results view text and result count text for SXA Search results component

Using Sitecore and SXA 9.3 For search, we need to include the query text in the result count message as well as the no results message. For example; for a search of 'bananas' it should say "5 results ...
1
vote
1answer
104 views

Dropdown Filter - Language English Name

I am using SXA Search component and with that I want to use "Dropdown" filter which will have "Language" facets in the dropdown for the search items. I am able to achieve it by getting "_language" ...
1
vote
1answer
228 views

SXA Search functionality works only with the whole search query

I'm using Sitecore 9.1 and SXA 1.8, I implemented search functionality using Search box and Search results OOB SXA components, When I search with a sentence, it only returns the exact match for the ...
1
vote
2answers
150 views

OrderBy not being respected for item field when using content search

Using Lucene, and content search I cannot sort items by their name nor custom title field. The items are imported from a read-only data provider and are successfully indexed (I've inspected it ...
1
vote
1answer
77 views

Can I use Content Search with Glass to query children of a specific template?

My Sitecore Item has children of different Templates. To query them, I use the following field declaration: [SitecoreQuery("*[@@templateid = '{ID of my Template}']", InferType = true, IsRelative = ...
1
vote
1answer
129 views

Do indexes with computed fields with storageType=“no” need to be rebuilt?

If a computed field is computed at run-time when storageType is set to no, does does the index need to be rebuilt at all as it's all done in memory?
1
vote
1answer
84 views

Is there a way to append an indexed field to a glass mapper object?

I'm generating a custom sitewide search by indexing the rendered HTML of the pages on my site. Some pages will have a title and description field defined to display in the results, however, some ...
1
vote
1answer
40 views

Is there a way to do a search in Sitecore against with Lucene using a dynamic field?

My client needs me to write a speak app that can do a search where they can type in whatever field they want to equal a value in the search bar. Is there a way to do a search against Lucene to within ...
1
vote
2answers
990 views

Failed to execute datasource query System.NullReferenceException while setting Datasource on Rendering

Has anyone seen this error before or know how to solve it? 996 16:35:46 WARN Failed to execute datasource query System.NullReferenceException: Object reference not set to an instance of an ...
1
vote
2answers
289 views

Lucene for multiple server scenario

I have been told that when there are load balancers and multiple servers, lucene will not work. Is there an alternative that we can still use Lucene as the search engine.
1
vote
1answer
374 views

Add facet to Content editor search - field name with two words not working

I am trying to add a new facet to the content editor, everything is working fine with single word fields (Ex: Authors, Subjects, locations, etc), but same is not working with two word fields (EX: ...
1
vote
1answer
51 views

Create custom facet for Sitecore SXA search filter

I have to apply the SXA search Checklist filter component on a search result by the product type (which is a single line text field). Can anyone please provide any information or useful links on how ...
1
vote
1answer
56 views

Custom SXA search query Token is not behaving as expected

I have being working on Sitecore 93 SXA, and I'm creating a sxa search query token by extending pipeline ResolveSearchQueryTokensProcessor referring this blog to get the date field of item and compare ...

1
3 4
5
6 7
9