Quantcast
Viewing all 6894 articles
Browse latest View live

The Find user interface is currently not available, please try again later.

Just started experimenting with Find, I followed the steps to create a project with Find. When I login to episerver, I see the Find option in the top menu, and underneath the options:

Manage Configure Overview

But all three lead to:

The Find user interface is currently not available, please try again later.

[Try again button]

Trying again changes nothing.

Find version is 9.6.0.3185.  What have I done wrong?


Automatic landing pages

In the sales materials there's a lot of talk about Find and automatic landing pages. Does anyone have a simple example implementation of this functionality? I don't want to reinvent the wheel if there's already som best practice example laying around somewhere...

Thanks!

Multi Type Search

Hi All,

I'm new to Episerver development, but have been a software developer for a few years now.

Does anyone know if its possible to perform a "Free Text Search" against multiple types and without declaring specific fields/properties..?

I essentially have a list of different types that are indexed in Episerver Find, and want to itterate through them all to find a match on a given search term...can anyone help?

Cheers

Chris

Camel Case Config and Episerver Find UI Conflict

Hi Everyone, 

When I config application to serialize the json in camel case boosting page in find ui shows everything in undefined. if you trace the dGrid values, you can see all culumn definitions and asignments  are in paskal case. so when you pass a camelCase json it result in undefined values.

I couldn't find any solution to config camel case serialization globally and fix this issue. 

Episerver Find and ServiceApi Conflict

Hi everyone,

I'm using episerver find and I just add ServiceApi to the project. Since then UnifiedSearch stops working. I've compared the requests , and the only difference is that whenever I have serviceapi in my project, in the fillter I have following term in filter

{"term": {"UsersWithReadAccess$$string.lowercase": ""
}
},
{"terms": {"RolesWithReadAccess$$string": []
}
}

and it should be like following to work:

{"term": {"UsersWithReadAccess$$string.lowercase": "msh"
    }
},
{"terms": {"RolesWithReadAccess$$string": ["WebAdmins","Administrators","Everyone","Authenticated","CmsAdmins","PackagingAdmins"
        ]
    }
}

Does anyone have any Idea how to fix this?

Episerver Find autocomplete feature implementation via MVC

Hello,

I am trying to get autocomplete functionality to work and have added autocomplete queries in the admin mode. I dont want it to achieve using exposing index url and wanted to achieve using MVC.

In my Find Controller  I am using

var autoComplete =  client.Statistics().GetAutocomplete(q); and getting result in autocomplete vairable which i have set in admin mode.

But on Ui I am not able to get it working.

I have following this thread 

https://world.episerver.com/forum/developer-forum/-Episerver-75-CMS/Thread-Container/2016/2/episerver-find---your-key-is-not-authorized-to-access-get/

Searches without relevant hits in statistics always show CTR 0%

Hello,

I am using Episerver Find 11.1.6.4396 version.

For statistics tracking I have used .track() method in my controller and using namespace is using EPiServer.Find.Framework.Statistics;

In CMS Edit mode for Find Searches without relevant hits in statistics always show Click-through-rate (CTR) 0%

Thanks

Projections on a nested collection

Hi!

I have a collection of products and by convention we've added the variants as a property so they are indexed together.
What I'd like to do is project over the results and get the cheapest variant in order to retreive some data to be displayed. This prevents me from loading all variants when the search results.

Is it possible, when projecting, to filter a nested collection?

Example:

Client.Search()
  .Filter(x => x.Code.Match("8801141522433"))  
.FilterPriceAvailableForCurrentUser()
  .Select(p => new
  {
    Code = p.Code,
    SpecificationsList = p.ProductVariations.FirstOrDefault(v => v.Code == p.CheapestVariationCode).Specifications   })
.GetResult();

The SpecificationsList is always empty because Find cannot interpret the FirstOrDefault method I guess but I can't Filter there either.

Thanks for helping out!

/Mark


Nested Queries with More Than One Level

We're implementing Find for a client who requires filtering on dynamic attributes at the ProductVariant level. 

IE

  • Product
    • ProductVariant
      • Attributes
        • Color: Brown
        • Material: Wood
    • ProductVariant2
      • Attributes
        • Color: Brown
        • Material: Steel

A possible search would be searching for a Product that has a ProductVariant that has both Attributes with the combination {"Color":"Brown"} and {"Material":"Wood"}. From what I understand, Nested Queries, facets and filters only allow for one additional level and expect to check a property at that level. I've found examples where Dictionaries work, but this would limit us to one key value pair per attribute which I would prefer not to do.

Is there another alternative to this? I've seen others searching for a similar feature set, but haven't found a solution that doesn't limit us to a Dictionary. Searching by ProductVariant and finding distinct Products is not an option.

OrderBy and string comparison

When sorting results based on a string, it doesn't seem like the stringcomparer used takes culture into consideration.

"Abc", "Bcd", "Åäö" comes out in the order "Abc", "Åäö", "Bcd".

Am I missing something, or does anyone know how to solve this? 

Autocomplete is returning 0 Hits Find 11

Hello,

I am using Episerver Find 11 and implementing the autocomplete functuionality using Jquery as mention on episerver document http://world.episerver.com/documentation/Items/Developers-Guide/EPiServer-Find/11/search-statistics/search-statistics/

This is my search button

 <input id="search" oninput="myFunction()" type="search" tabindex="1" name="q" value="@Model.SearchQuery" />



 

This is my script code.

<script type="text/javascript">
function myFunction() {
$.get('/find_v2/_autocomplete?prefix=q&size=4', function (data) {
alert(JSON.stringify(data));
$.each(data.Hits, function (index, value) {
$('#search').append(value.Query);
}
)
}, "jsonp");
}</script>



When I check data using url http://localhost:55363/find_v2/_autocomplete?prefix=ho&size=5 on my localhost it gives me following results.

{"status":"ok","hits":[{"query":"homeclass","type":"editorial"},{"query":"homemade","type":"editorial"},{"query":"homemaid","type":"editorial"},{"query":"homework","type":"editorial"},{"query":"homeland","type":"editorial"}]}

but when I run the code on UI and search, in alert I am geeting 0 hits and alert is showing 

{"status":"ok","hits":[]}



Also In my controller for tracking I am using .track() method.

var unifiedSearch = SearchClient.Instance.UnifiedSearchFor(q).UsingSynonyms().ApplyBestBets().Track().Skip(skipNumber).Take(pageSize);

Thanks in advance,

Episerver Find - Indexing global assets when running multi-site

Hi,

I am having an issue indexing PDFs which resides in global asset folder: they are not indexed.

What is the default behavior when Episerver Find indexes global assets? (which url are they being index with?)

Have anyone any work arounds for indexing global assets running multi-sites?

--

I hoped I could point to a "default site" to resolve a full URL for a PDF - but seems like, it does not exist out-of-the-box.
What I do get: an exception registered in the log when running the indexer.

I think the problem is, that Find cannot index items, such as PDFs, which reside in global assets folder when running in multi-site-environment.

Background:

We have multi-site setup with sites like "SiteA.com" and "SiteB.com". If I try to download a PDF from global asset via Episerver admin interface, it will be downloaded from the context/site I am currently on.

But, when indexing (EPiServer Find Content Indexing Job), I am not on any site - and I am guessing it breaks.
Note: It works for PDFs in "For this site".

Exception:

What the message in the "History"-tab tells me:
An exception occurred while indexing content 1890: Exception has been thrown by the target of an invocation. (see log for more information)

What the error-log tells me:
2017-07-03 17:02:27,541 [111] ERROR EPiServer.Find.Cms.ContentIndexer: WIN-XXXXXXXX: An exception occurred while indexing content 1890: Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at EPiServer.Find.Cms.CmsUnifiedSearchSetUp.ContentExternalUrl(ContentReference contentLink, CultureInfo contentLanguage, Boolean absoluteUrl)
at EPiServer.Find.Cms.CmsUnifiedSearchSetUp.GetContentUrl(ContentReference contentLink, String language)
--- End of inner exception stack trace ---

It seems that something is null, when call ContentExternalUrl ..

/Robert

Autocomplete suggestion for complete word not only on prefix

Hello,

I have implemented Episerver Find autocomplete functionality using Jquery/Ajax

<script language="javascript">
$(document).ready(function () {
$("#search").autocomplete({
source: function (request, response) {
$.ajax({
url: "/find_v2/_autocomplete?prefix=" + request.term + "&size=5",
dataType: "jsonp",
contentType: 'application/json; charset=utf-8',
success: function (data) {
response($.map(data.hits, function (item) {
return {
value: item.query
};
}));
}
});
},
minLength: 2
});
});</script>

When I type ho in search box I get following results 

homeland

homemade

homesecurity

homemaid

homemaker

but I am getting search results on prefix...

Is there any way or workaround so that I can get suggestions for completed word.

Example: If I search for me  in search textbox I should get following results

homeland

homemade

homesecurity

homemaid

homemaker

I want autocomplete suggestion to work for all characters 

Accessing and Indexing page type specific properties In Episerver Find

Hello,

I am using Episerver CMS 9.9 and Episerver Find(Version 11.1.6.4396) for search functionality in our Blog.

I have a requirement where I want to access/index Blog pages(page type) properties(Images and other define property) in Episerver Find search results. Currently in the search results we are only able to show Title, Excerpt and Link.
So Is it possible to index other page type properties like images etc. and display them in search results.

Thanks in advance.

How to speed up processing of the indexing queue

When an episerver page is published or edited, a reference to the page is added to the SQL table tblFindIndexQueue and then the rows in this table are processed.

At some periods of the year our editors publish a large number of large documents (equal to some hundred A4 pages each), and the indexing queue grows large because its items are processed quite slowly.

If we do a full reindex using "EPiServer Find Content Indexing Job" large documents like this are reindexed much, much faster. Is there any settings, or magic, that can speed up the slow indexing queue?


Issue with Episerver Find CMS Reindexing Scheduled Job

Hi,

We are currently facing constant issues of site going down for almost on everyday for Production Site. This happenes almost at every 3 hours of time gap which is the duration set to run the Episerver.Find Reindexing job on the CMS. 

  • The two page Files which are mentioned in the below log Error, they do not present on the CMS. 
  • When i try to execute the indexing job manually i see no error but when it happns automatically i see below errors and continuous outages. 
  • The Episerver version is Episerver CMS 7.0 and Episerver.Find.CMS  DLL version is 7.0.586.0
2017-07-03 00:10:48,287 [32] ERROR EPiServer.Global: 1.2.5 Unhandled exception in ASP.NET
System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> EPiServer.Find.ServiceException: The remote server returned an error: (400) Bad Request.
SearchPhaseExecutionException[Failed to execute phase [query], all shards failed; shardFailures {[BQ_eWjzaR3W9LrRgbRnYaQ][aquaproducts_index50292][0]: RemoteTransportException[[sefindprod02esd04][inet[/10.3.151.4:9300]][search/phase/query]]; nested: SearchParseException[[aquaproducts_index50292][0]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"filtered":{"query":{"filtered":{"query":{"query_string":{"fields":["Name$$string.standard","Title$$string.standard","SubTitle$$string.standard","Teaser$$string.standard","OverrideNavigationTitle$$string.standard","BrowserTitle$$string.standard","MetaKeywords$$string.standard","MainContent.AsViewedByAnonymous$$string.standard"],"query":"\\[url=https\\:\\/\\/center.renthop.net\\/townhouses\\/4939\\-houses\\-to\\-rent\\-in\\-county\\-down\\-northern\\-ireland.html\\]houses to rent in county down northern ireland\\[/url\\]"}},"filter":{"term":{"LanguageBranch$$string":"en"}}}},"filter":{"term":{"___types":"aquabots.com.Page_Types.Aquabots.Generic.GenericPage"}}}},"fields":["___types","PageLink.ID$$number","PageLink.ProviderName$$string"]}]]]; nested: QueryParsingException[[aquaproducts_index50292] Failed to parse query [\[url=https\:\/\/center.renthop.net\/townhouses\/4939\-houses\-to\-rent\-in\-county\-down\-northern\-ireland.html\]houses to rent in county down northern ireland\[/url\]]]; nested: ParseException[Cannot parse '\[url=https\:\/\/center.renthop.net\/townhouses\/4939\-houses\-to\-rent\-in\-county\-down\-northern\-ireland.html\]houses to rent in county down northern ireland\[/url\]': Lexical error at line 1, column 170.  Encountered: <EOF> after : "/url\\]"]; nested: TokenMgrError[Lexical error at line 1, column 170.  Encountered: <EOF> after : "/url\\]"]; }{[vwhC_QFVRSCt3Iu4HihV1A][aquaproducts_index50292][1]: SearchParseException[[aquaproducts_index50292][1]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"filtered":{"query":{"filtered":{"query":{"query_string":{"fields":["Name$$string.standard","Title$$string.standard","SubTitle$$string.standard","Teaser$$string.standard","OverrideNavigationTitle$$string.standard","BrowserTitle$$string.standard","MetaKeywords$$string.standard","MainContent.AsViewedByAnonymous$$string.standard"],"query":"\\[url=https\\:\\/\\/center.renthop.net\\/townhouses\\/4939\\-houses\\-to\\-rent\\-in\\-county\\-down\\-northern\\-ireland.html\\]houses to rent in county down northern ireland\\[/url\\]"}},"filter":{"term":{"LanguageBranch$$string":"en"}}}},"filter":{"term":{"___types":"aquabots.com.Page_Types.Aquabots.Generic.GenericPage"}}}},"fields":["___types","PageLink.ID$$number","PageLink.ProviderName$$string"]}]]]; nested: QueryParsingException[[aquaproducts_index50292] Failed to parse query [\[url=https\:\/\/center.renthop.net\/townhouses\/4939\-houses\-to\-rent\-in\-county\-down\-northern\-ireland.html\]houses to rent in county down northern ireland\[/url\]]]; nested: ParseException[Cannot parse '\[url=https\:\/\/center.renthop.net\/townhouses\/4939\-houses\-to\-rent\-in\-county\-down\-northern\-ireland.html\]houses to rent in county down northern ireland\[/url\]': Lexical error at line 1, column 170.  Encountered: <EOF> after : "/url\\]"]; nested: TokenMgrError[Lexical error at line 1, column 170.  Encountered: <EOF> after : "/url\\]"]; }] ---> System.Net.WebException: The remote server returned an error: (400) Bad Request.
   at System.Net.HttpWebRequest.GetResponse()
   at EPiServer.Find.Connection.JsonRequest.GetResponse()
   at EPiServer.Find.Api.Command.GetResponse[TResult](IJsonRequest request)
   --- End of inner exception stack trace ---
   at EPiServer.Find.Api.Command.GetResponse[TResult](IJsonRequest request)
   at EPiServer.Find.Api.SearchCommand`1.Execute()
   at EPiServer.Find.Client.Search[TSource](SearchRequestBody requestBody, Action`1 commandAction)
   at EPiServer.Find.SearchExtensions.GetProjectedResult[TResult](ISearch`1 search, SearchContext context)
   at EPiServer.Find.SearchExtensions.GetResult[TResult](ISearch`1 search)
   at EPiServer.Find.Cms.SearchRequestExtensions.GetPagesResult[TPageData](ITypeSearch`1 search, LanguageSelector languageSelector)
   at aquabots.com.Templates.Aquabots.Units.Global.SiteSearchListing.BindDetails()
   at aquabots.com.Templates.Aquabots.Units.Global.SiteSearchListing.Page_Load(Object sender, EventArgs e)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2017-07-03 00:35:41,357 [75] ERROR EPiServer.Find.Cms.ContentIndexer: An exception occured while indexing (Batch): You are not authorized to access /PageFiles/2463/. 
System.UnauthorizedAccessException: You are not authorized to access /PageFiles/2463/
   at EPiServer.Web.Hosting.VirtualPathVersioningProvider.GetDirectory(String virtualPath)
   at EPiServer.Web.Hosting.VirtualPathVersioningProvider.GetDirectory(String virtualPath)
   at EPiServer.Web.Hosting.VirtualPathVersioningProvider.GetDirectory(String virtualPath)
   at EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider.GetDirectory(String virtualDir)
   at EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider.GetDirectory(String virtualDir)
   at EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider.GetDirectory(String virtualDir)
   at EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider.GetDirectory(String virtualDir)
   at EPiServer.Find.Cms.ContentExtensions.GetPageFiles(PageData page)
   at EPiServer.Find.Cms.ContentIndexer.Index(IEnumerable`1 content, IndexOptions options)
   at EPiServer.Find.Cms.ContentIndexer.ReIndex(Action`1 statusAction, Func`1 isStopped)
2017-07-03 00:35:44,976 [75] ERROR EPiServer.Find.Cms.ContentIndexer: An exception occured while indexing (Batch): You are not authorized to access /PageFiles/2255/. 
System.UnauthorizedAccessException: You are not authorized to access /PageFiles/2255/
   at EPiServer.Web.Hosting.VirtualPathVersioningProvider.GetDirectory(String virtualPath)
   at EPiServer.Web.Hosting.VirtualPathVersioningProvider.GetDirectory(String virtualPath)
   at EPiServer.Web.Hosting.VirtualPathVersioningProvider.GetDirectory(String virtualPath)
   at EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider.GetDirectory(String virtualDir)
   at EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider.GetDirectory(String virtualDir)
   at EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider.GetDirectory(String virtualDir)
   at EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider.GetDirectory(String virtualDir)
   at EPiServer.Find.Cms.ContentExtensions.GetPageFiles(PageData page)
   at EPiServer.Find.Cms.ContentIndexer.Index(IEnumerable`1 content, IndexOptions options)
   at EPiServer.Find.Cms.ContentIndexer.ReIndex(Action`1 statusAction, Func`1 isStopped)
2017-07-03 00:42:56,771 [11] ERROR EPiServer.Global: 1.2.5 Unhandled exception in ASP.NET
System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   at BVNetwork.Bvn.FileNotFound.Logging.Logger.LogRequests(List`1 logEvents)
   at BVNetwork.Bvn.FileNotFound.Logging.Logger.LogRequest(String oldUrl, String referer)
   at BVNetwork.FileNotFound.NotFoundPageUtil.HandleOnLoad(Page page, Uri urlNotFound, String referer)
   at System.Web.UI.Control.LoadRecursive()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.HandleError(Exception e)
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
   at System.Web.UI.Page.ProcessRequest()
   at System.Web.UI.Page.ProcessRequest(HttpContext context)
   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
2017-07-03 01:36:40,517 [34] ERROR EPiServer.Global: 1.2.5 Unhandled exception in ASP.NET

Please suggest here what is going on. 

Thanks,

Hiral shah

Index content for all languages for Episerver Commerce in Find

Hi!

I'm using the Episerver.Find.Commerce to index my Commerce site, but I only get product and variations in one language.
What am I missing?

The index has all the existing languages included and there are a lot of products and variations translated but still there is no sign of them in Find index. I have also set up two local sites under Manage Websites. One for english and one for swedish and they are nicely showing products and variations in the right language.

Am I missing some configuration maybe?

Thanks!

/Kristoffer

Unwanted synonyms in EPiServer Find

We have detected some words are registered as synonyms without us adding them manually. One example is "rus" (Norwegian for "intoxication") and "fyll" (Norwegian for binge drinking and "fill" as in "fill in the form").

Is this documented anywhere, and how do we get rid of it?

Is it possible to get most popular searches for a specific time period

Hi

As the subject says: is it possible to get a list on the most popular searches for a specific time period?

Br

Per

Epifind - Access Control List

Hi, 

I have a few questions about epifind and access control.

While showing search results, we have to limit access to certain users / groups. In the documentation (http://find.episerver.com/Documentation/episerver-cms-integration-access-rights), there is a method "RolesWithReadAccess" to filter out users / groups.

  • what is the logic behind this method "RolesWithReadAccess" ? If I use this method like RolesWithReadAccess("Everyone") what does it mean for that group "Everyone"? and what does it mean to other groups on the website.
  • If new groups are created in AD and used by the editors to access control pages ( we are using Epinova to import AD groups into Episerver website), do we have to create a new method RolesWithReadAccess ? or is there way to automatically add newly created groups to filter like "all groups"

Thanks.

Viewing all 6894 articles
Browse latest View live