Questions tagged [episerver-find]

Episerver Find is a SaaS product for indexing textual data. It is based on ElasticSearch and has tight integration with Episerver CMS though this is not required.

13 questions
1
vote
0 answers

Block redirects from specific methods asp.net

There is an open redirect vulnerability in one of the nuget packages we use, it allows redirects in the form of: https://example.com/find_v2/_click?_t_id=&_t_q=&_t_hit.id=&_t_redirect=https://www.google.com The culprit here is the /find_v2/ endpoint…
1
vote
3 answers

Get all pages for particular page types

I'm using EPiServer 11 version with EPiServer.Find. I have a requirement to fetch all pages for landingPage type and standardPage types in one query. Can you suggest if it is possible.
user1641519
  • 377
  • 1
  • 4
  • 17
1
vote
2 answers

How to check if list of string contains (substring) value in EpiFind?

I have indexed an object which has a list of strings like ["ZZA-KL-2A", "ZZA-KL-ZZB"]. I want to search and get all items which starts with a certain 3 letter code. So I want to check each item in the list and check something like 'StartsWith'. I…
mohsinali1317
  • 4,255
  • 9
  • 46
  • 85
1
vote
1 answer

EPi find get all variants if search hit on product

A EPi find question coming up, We have WebProducts and WebVariants and when showing a simple product listing on the category page I'm showing the following result correctly If a WebProduct doesn't have any variants - show the WebProduct on the…
Jakstjerna
  • 13
  • 2
1
vote
1 answer

How to check if string contains value in EpiFind?

I want to check if indexed string (my case string is "1,2,3") contains some value (like an actual string.Contains method), but it seems like EpiFind doesn't supply method for that. I applied value.AnyWordBeginsWith(match) and it seems to work in my…
Ivan Maslov
  • 168
  • 2
  • 13
1
vote
2 answers

Search query to find a word thats could be in inside multiple properties

I have three properties First name Last name Username User can search for a word that can be in all three properties. I have had this two queries to achieve the desired result searchTermFilters = searchTermFilters .For(term) .InFields(x =>…
mohsinali1317
  • 4,255
  • 9
  • 46
  • 85
1
vote
1 answer

Do Facets respect Filters in Episerver Find?

I'm using the .NET Client to query Episerver Find, I'm filtering the results on an ancestor Page Id to search within sub-sections of the site and this works fine: var result = _searchClient.Search() …
Greg B
  • 14,597
  • 18
  • 87
  • 141
1
vote
1 answer

How can I create a "category" Facet based on the parent page?

I've got a hierarchy of pages such as - Root - Category 1 - Page 1 - Page 2 - Category 2 - Page 3 I want to use Find to create a filter based on the Category page names. Here's what I've got so far, the bit I can't…
Greg B
  • 14,597
  • 18
  • 87
  • 141
0
votes
1 answer

Do we have anything like contains in Unified search?

I have this line of code query = query.Filter(i => ( !i.MatchTypeHierarchy(typeof(InfoPage)) | (((InfoPage)i).SearchSubsection().Exists() & ((InfoPage)i).GetSearchSubSection().Contains(SOMETHING)) …
mohsinali1317
  • 4,255
  • 9
  • 46
  • 85
0
votes
1 answer

Episerver Search filter using parent page of Page reference type using UnifiedSearchFor

I have to implement search criteria in episerver. The existing search criteria includes pagetype filter which provides me the search result for the pagetype irrespective of where they are. I need to include another criteria of a parent page which is…
Ms1
  • 45
  • 5
0
votes
0 answers

Episerver WithAndAsDefaultOperator() does not work as expected with UsingSynonyms()

I have created a 'one way' synonym as “dog” > "animal”. When I search for "test+dog" it gives many results. (Which is as expected) When I search for "dog+test" it gives 0 results. (Which is not as expected) The above both queries should return…
Senura Dissanayake
  • 654
  • 1
  • 9
  • 29
0
votes
1 answer

'504 - Gateway Timeout' when Indexing the items in Episerver Find

When Indexing the items, it fails sometimes and it gives, The remote server returned an error: (504) Gateway Timeout. [The remote server returned an error: (504) Gateway Timeout.] The Indexing logic is here as below, var client =…
Senura Dissanayake
  • 654
  • 1
  • 9
  • 29
-4
votes
1 answer

The remote name could not be resolved: 'your_uri'

I am trying to do some querying operations in episerver CMS...while doing i got the Above mentioned error occurred...the code i have used is, int contentTypeId = 16; var pages = SearchClient.Instance.Search() …
Mohan Raj
  • 25
  • 1
  • 6