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
0
votes
1answer
314 views

Custom index not showing in the index manager popup

I have inherited a very old and messy instance of Sitecore 7. Ive decided to cleanup some of the config files and im starting with the indexes. There are a few custom indexes that i noticed don't ...
3
votes
1answer
424 views

Sitecore Azure Search - There is no appropriate index for /sitecore - {11111111-1111-1111-1111-111111111111}

I have a Sitecore 9.0.1 instance running in Azure and uses Azure Search. My search index is working as far as I know and can be rebuilt. Earlier this week, I hit the problem with Sitecore Azure ...
5
votes
1answer
504 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 ...
5
votes
1answer
139 views

Exception while switching Lucene to Solr 4.1 on Sitecore 7.2

I am attempting to switch an instance of Sitecore 7.2 from Lucene to Solr on my local machine. I followed a well written guide detailing the steps, but I can't make it work. My environment: ...
1
vote
2answers
368 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 ...
8
votes
5answers
684 views

Error opening new searcher. exceeded limit of maxWarmingSearchers=2

I am relatively new to SOLR. We are using SOLR 6.1.0.1 with Sitecore 8.1 Update 3. There are roughly 50K items (content and files) being indexed. We are being plagued by poor throughput (through ...
1
vote
3answers
412 views

Azure Search not working for other language

Using Sitecore 8.2 update 3. I'm new to search & Azure Search and followed this approach to implement the site search functionality on our multi-lingual site. https://kamsar.net/index.php/2014/...
0
votes
1answer
554 views

Content not added to computed field using Azure Search

There is a custom code which triggers on rebuilding indexes. The method will extract all content from each page rendering's datasources and store in the content field. When I debug, I see that the ...
2
votes
1answer
412 views

Search not working in multi-language site

We are using Azure search. This is a website search. End user enters the keyword and the pages where it is present in the content, are returned as search results. The functionality works fine when ...
2
votes
1answer
1k views

SolrNet.Exceptions.SolrConnectionException when trying to configure custom Solr index

I am migrating a project from 8.2 to 9, and moving indexes from Lucene to Solr. The default indexes are fine, but my custom index is throwing an exception: 53416 08:51:21 ERROR Unable to connect to [...
0
votes
2answers
89 views

Solr XML friendly formatting

I've been wondering lately if the xml that Solr returns from a search isn't actually "true" xml, and by true, I mean searchable in the the sense that you can normally pull specific nodes from an xml ...
11
votes
1answer
2k views

How does Sitecore decide the Index to use with GetIndex

A new index was added to a Sitecore instance I am working on. This ended up causing a different module in the implementation to have a problem. The part having an issue uses Sitecore.ContentSearch....
1
vote
1answer
338 views

Grouped Result in Solr

I have seen documentation mentioning Sitecore.ContentSearch.SolrNetExtension for Sitecore 9 indicating that its able to group results by a field (ie: _group field). What I am unable to find is a nice ...
0
votes
1answer
570 views

solr Sitecore full text indexing ifilter

I'm attempting to index the content of pdf's with Solr 6.6.2 and Sitecore 8.2 Update 6. I've got my solr indexes working correctly, and I'm able to search text from pages (content items) and I'm able ...
4
votes
1answer
2k views

Sitecore Multilist with search field searching wrong index

I'm having a weird issue where my Multilist with Search field is searching my custom index instead of the sitecore_master_index for items contained in the custom index. The multilist field source is ...
0
votes
1answer
284 views

Error while searching in Sitecore CMS Could not find File Indexes\Sitecore_mastes_index\Segmnet_1ac

While searching through path or ID in CMS, i get the following error Could not find File \Indexes\Sitecore_mastes_index\Segment_1ac https://www.screencast.com/t/DkeqUjPlc
1
vote
0answers
27 views

Sitecore 8.2 integrated search function with Salesforce

This is my first question for SE...and forgive my lack of technical expertise in this area. We're building a our new website on Sitecore which has to be integrated with Salesforce. In Saleforce, we ...
1
vote
0answers
95 views

Include imported content in sitecore search result item [duplicate]

We are on Sitecore 8.1 using Lucene search index. I have an item with presentation details and displays properly on the site. The item has several child items pulled from a separate folder in the ...
2
votes
0answers
123 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
1answer
437 views

Issue in SXA search scope: no results due to searchable_b:(True)

I am using SXA in Sitecore 9, I have created simple search scope with below query: template:{cbb0f1aa-1a19-4c0a-a897-49af144cb801};+location:{3F38A230-25BB-4DBA-B9D3-2CE94F842072} From UI there are ...
8
votes
0answers
145 views

Virtual field not working with Azure

Currently I'm using facet to filter the search result. The result works perfectly with SOLR but when I switch to Azure it doesn't work anymore. The result shows all although I added filter criteria. ...
10
votes
3answers
2k views

Filter number of fields returned from SOLR

We have a query that is running against our SOLR. The query is returning extremely slowly due to the number of fields and the amount of data in those fields. When the query runs, its adding the fl=* ...
4
votes
2answers
2k views

Sorting Solr items query by Sortorder field

When bringing back items from Solr via the ContentSearch API it's not possible to maintain the content tree sort order as this isn't returned as a field by default. How do I order by results by the ...
2
votes
0answers
63 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 ...
9
votes
2answers
3k 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 ...
6
votes
3answers
3k 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 '...
11
votes
1answer
5k views

Multiple partial word search not working

I have implemented a global search on our website which gets the data result from _content field in solr indexes. Single word search works perfectly fine but I am currently facing an issue if I have ...
1
vote
1answer
660 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?
7
votes
1answer
116 views

Is there a way to modify the Solr query that gets generated by the Sitecore Content Search API before it gets sent to the search server?

I'm looking to add some parameters to my Solr query that's not currently supported by the Search API (hit highlighting to be specific). Is there a way (like a pipeline processor or something) to ...
0
votes
2answers
214 views

Restricting some item from being indexed

We are using search index in our website and we want to restrict some items based on conditions. Any suggestions will help us.
1
vote
2answers
507 views

No facets showing in Sitecore Search when using SOLR

There is no facets showing when I change the search provider to SOLR. The sample item here is the Content item.
5
votes
1answer
766 views

Dynamically filter on number using LINQ

I have numeric fields that I want to filter on with a range, however, these need to be dynamic using the SearchResultItem's property indexer. The code I'm currently using is: var predicate = ...
14
votes
1answer
723 views

What class indexes the _content index field

Until I answered a question wrong yesterday, I didn't know that the field _content in the index had the content of all indexable fields in Sitecore. You would have thought that would be the first ...
5
votes
2answers
5k views

SOLR search not returning results [closed]

I am new to SOLR search. I have created all cores and index and SOLR UI is showing that documens have been indexed. I have copied the working core folder and renamed it and also updated in ...
6
votes
1answer
524 views

Lucene: sort by numeric field

I am trying to sort results by a decimal field, but it doesn't work. I need to use the property name indexer on the standard SearchResultItem so that it can be dynamic. return queryable.OrderBy(i =&...
12
votes
1answer
1k views

Incorrect dynamic field type for Droptree

Background: Sitecore 9, Solr 6.6.1 I have got a strange issue with incorrect resolution of field type by SOLR during item indexing. I read the following article about resolution a field names: ...
2
votes
1answer
402 views

Content Manager returns empty list

I am on v8.2 Using SOLR as search index. I have the items indexed and can see them in the index. I kicked off index rebuild a few times. However, ContentSearchManager.GetIndex("sitecore_web_index")....
4
votes
1answer
454 views

ContentSearchAPI items array relevancy ranking

I'm trying to implement a tagging functionality that allows the content editor to add tags for a specific component and the c# to search for items containing a given set of tags Let's say our ...
3
votes
2answers
1k views

Sitecore Search: how to query by Id using the indexer on the SearchResultItem

I'm trying to do this: queryable.Where(i => i["_template"] == templateId); Where templateId is a Guid string, but it doesn't work. However, this does work: queryable.Where(i => i["...
4
votes
1answer
221 views

“Search Tab” for “File” data type gives “The media item could not be found”

I have a structure in which we have a field defined as "File" data type. The requirement is to point this to a specific location within "Media Library". We have done this by specifying guid of the ...
4
votes
2answers
586 views

Best way to check Lucene index for query function

I've got a QA and live environment in 8.1 Update 2 using Lucene; both are running standalone. The same content is essentially on both, migrated via serialization from another instance. I'm using a ...
3
votes
3answers
505 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 ...
6
votes
2answers
824 views

How to disable xDB related search indexes, when using CMS-only mode?

After disabling Sitecore xDB using the following two settings in the \App_Config\Include\Sitecore.Xdb.config file. <setting name="Xdb.Enabled" value="false" /> <setting name="Xdb.Tracking....
2
votes
1answer
445 views

Sitecore Context Database during computeField index

When I call Sitecore.Context.Database inside of an IComputedIndexField, it returns Core. I can't use this to call the GetItem() function. Thus, I wrote the following as a workaround. var ...
6
votes
1answer
156 views

Using custom classes in LinqScratchPad.aspx

The problem The default/sample code in the LinqScratchPad.aspx shows a TryYourOwnClass class. Sadly, this class is not used in any way in the sample. The sample code looks like this: namespace Test ...
7
votes
2answers
361 views

How do you boost fields such as Title or Navigation individually in SXA when using SOLR?

In our example, we have a Careers search feature in which we only want to match on title, job id, or a meta field such as description. One wonderful feature about SXA is that you have an easy-to-use ...
1
vote
2answers
219 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.
3
votes
1answer
2k views

How to search item content in a rendering with multilist fields

This question is about the best/simple way to achieve the website search functionality. There are pages in the site, and each is made up of few components. When the end user searches for a keyword, ...
1
vote
0answers
64 views

Sitecore PDF Document Content Indexing with Lucene [duplicate]

I assume with the latest releases of Sitecore (8.2), PDF and other document indexing comes by default. Can someone please point me to a document related to any setting, to enable these media document ...
4
votes
1answer
220 views

How to get the page of a rendering used in a page in search

I have to implement Azure search but would like to try with Lucene first in the local setup. I am following this example by @kamsar 1.Created the SubcontentField class 2.Created the patch config and ...