Hi Guys,
Can anyone expalin about Auto Boosting topic in find,because i understood thearitically, but when i try to implementing programatically i didn't get any referance URL and code. So please can any one help me out of this???
Thanks,
Ramkee.G
Hi Guys,
Can anyone expalin about Auto Boosting topic in find,because i understood thearitically, but when i try to implementing programatically i didn't get any referance URL and code. So please can any one help me out of this???
Thanks,
Ramkee.G
Hi,
I am new in find. We are interested in to use EPI-Find in our project, but before that client has following queries.
1. Is any free/demo index available for DEV/Internal Test/UAT environment? Will it support 1000 Docs and 2 languages?2
2. In Standard Package , IS EPI-Find support external site?
Please reply asap , it will help to start planing and development.
Thanks
Abhishek
ERROR EPiServer.Find.Cms.ContentIndexer: : An exception occurred while indexing content 5: Unable to connect to the remote server
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond **.***.***.***:***
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at EPiServer.Find.Connection.JsonRequest.GetRequestStream(Int64 contentLength)
at EPiServer.Find.Json.Serializer.SerializeObjectsToJsonRequest(JsonSerializer serializer, IJsonRequest jsonRequest, IEnumerable values)
at EPiServer.Find.Api.BulkCommand.Execute()
at EPiServer.Find.Client.Index(IEnumerable objectsToIndex)
at EPiServer.Find.Cms.ContentIndexer.IndexWithRetry(IContent[] contents, Int32 maxRetries)
at EPiServer.Find.Cms.ContentIndexer.Index(IEnumerable`1 content, IndexOptions options)
at EPiServer.Find.Cms.ContentIndexer.IndexBatch(IEnumerable`1 content, Action`1 statusAction, Int32& numberOfContentErrors, Int32& indexingCount)
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 54.194.120.239:443
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at EPiServer.Find.Connection.JsonRequest.GetRequestStream(Int64 contentLength)
at EPiServer.Find.Json.Serializer.SerializeObjectsToJsonRequest(JsonSerializer serializer, IJsonRequest jsonRequest, IEnumerable values)
at EPiServer.Find.Api.BulkCommand.Execute()
at EPiServer.Find.Client.Index(IEnumerable objectsToIndex)
at EPiServer.Find.Cms.ContentIndexer.IndexWithRetry(IContent[] contents, Int32 maxRetries)
at EPiServer.Find.Cms.ContentIndexer.Index(IEnumerable`1 content, IndexOptions options)
at EPiServer.Find.Cms.ContentIndexer.IndexBatch(IEnumerable`1 content, Action`1 statusAction, Int32& numberOfContentErrors, Int32& indexingCount)
How can I come over this...?
How do I write a filter expression to find documents matching a certain property using the Episerver Find index explore UI.
E.g. documents that have
"IsVisibleOnSite$$bool": true
Is that possible or is this filter input field limited to text search only?
Hi All,
I am very new in epi-find.
I wanted to search result with Pages and documents (from global assets i.e. App Data folder).
How could I achive that?
Secondly, when I re-build the index showing 0 global asset content indexed. How could I idex the files well.
Please suggest step by step.
Please help as as possible.
Thanks
Abhishek
Hi Guys,
I want to number of page hits based on pagename search in find concept,for example i created home page and i naviageted to 10 times. in find page i have one text box and search button,when i type "Home" and press the search button, i want hits=10 but i get 0 only this is the my findcontroller.cs code.
public ActionResult Index(FindSearchPage currentPage, string q = "",int page=1)
{
var model = new FindViewModel(currentPage,q);
ITypeSearch<ISearchContent> query = SearchClient.Instance.UnifiedSearchFor(q);
int pageSize = 10;
var skipNumber = 0;
if (page > 0)
skipNumber = (page - 1) * pageSize;
var unifiedSearch = SearchClient.Instance.UnifiedSearchFor(q).Skip(skipNumber).Take(pageSize);
model.Results = unifiedSearch.GetResult();
return View(model);
}
From model.Results i get the 0 hits.
Note: i created one visitor group and find inex job from the admin module.
Thanks,
Kartheek
Indexing job [<site name>] [content]: <Server name>: An exception occurred while indexing content 16: Unable to connect to the remote server
Iam getting this error while running EPiServer Find Content Indexing Job
If I programmatically delete a page, the page remains in Index until 'EPiServer Find Content Indexing Job' runs again.
The Index doen't get updated either, and the IsDeleted says:
"IsDeleted$$bool": false
Shouldn't Find update/remove the content in Index when I move a page to wastebasket?
Hi guys,
I want to heighlight the searched text,so i follwed this links"https://tedgustaf.com/blog/2013/highlight-query-matches-in-episerver-find-search-results/" and "http://www.epiknowledge.com/en/episerver-find/85/episerver-find-tutorial/highlighting/" , but i didn't get any idea. can any one provide the detailed explanation with codeing.
Thanks,
Kartheek.
Hi
I have implimented the serach page by taking reference from Aloy site. It is unified search result. Now I have to filter the current result by Property Values BrandName and PublishDate.
Please suggect me asap.
Thanks
Abhishek
Hi ,
Our client asking regarding the security of this service URL. As if it is a two way communication, how it is secure for our organisation n/w?
Please suggest.
Thanks
Abhishek
After upgrading to EPiServer v 10.+ and Epi Find to 12.3.2.0, the following error is found in the log, multiple times per minute:
2017-03-06 16:30:27,779 [129] ERROR EPiServer.Find.Cms.ContentEventIndexer: An exception occurred while indexing (IContent). Error getting value from 'AttributesString' on 'Castle.Proxies.TextareaElementBlockProxy'..
Newtonsoft.Json.JsonSerializationException: Error getting value from 'AttributesString' on 'Castle.Proxies.TextareaElementBlockProxy'. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: httpContext
at System.Web.HttpContextWrapper..ctor(HttpContext httpContext)
at EPiServer.Forms.Implementation.Elements.BaseClasses.DataElementBlockBase.GetAutofillValues()
at EPiServer.Forms.Implementation.Elements.BaseClasses.InputElementBlockBase.GetAttributes()
at EPiServer.Forms.Core.BlockBase.get_AttributesString()
at GetAttributesString(Object )
....
The website and Epi Find search although is working as expecting. What could be the cause of this error?
Hi guys,
I have an existing search that uses the unified search and I have added an iterface to a few page models that exposed a boolean property. I want the unified search to filter to show only types implementing this interface where the boolean is true. Can I do this without having to have 2 search methind one to unifieid and one to Search<T>?
Thanks, Scott
When we search for multiple types in one call we get for example 500 results
ITypeSearch<ISearchContent> unifiedSearch = SearchClient.Instance.UnifiedSearchFor(query).UsingSynonyms();
unifiedSearchResults = unifiedSearch.Skip(((page - 1) * hitsPerPage) * (hitsPerPage)).Take(hitsPerPage).FilterByExactTypes(new[] {
typeof(DocumentOrderPage), typeof(DocumentPage), typeof(VirtualDocumentPage), typeof(SiteMediaData),
typeof(LinkPage), typeof(EServiceStartPage), typeof(OperationInfoPage), typeof(NewsPage),
typeof(TopicPage), typeof(ListPage), typeof(CaretypePage), typeof(AidPage), typeof(NeedStaircasePage), typeof(NeedStepPage)}).ApplyBestBets().WildCardQuery("*" + query + "*", x => x.SearchText).Track().GetResult();
and when we divide search in three calls then we get more results. Depending on search word difference can be between few hundred and few thousand results. We would like to use only one call since it is much easier to represent results in pages but it looks that it is not working well. What should we change in code to get the same number of results in first call?
unifiedSearchResults = unifiedSearch.Skip((page - 1) * hitsPerPage).Take(hitsPerPage).FilterByExactTypes(new[] { typeof(NewsPage) }).ApplyBestBets().Track().GetResult();
returnValue.TotalResults = unifiedSearchResults.TotalMatching;
unifiedSearchResults = unifiedSearch.Skip((page - 1) * hitsPerPage).Take(hitsPerPage).FilterByExactTypes(new[] { typeof(DocumentOrderPage), typeof(DocumentPage), typeof(VirtualDocumentPage), typeof(SiteMediaData) }).ApplyBestBets().Track().GetResult();
returnValue.TotalResults = unifiedSearchResults.TotalMatching;
unifiedSearchResults = unifiedSearch.Skip((page - 1) * hitsPerPage).Take(hitsPerPage).FilterByExactTypes(new[] { typeof(LinkPage), typeof(EServiceStartPage), typeof(OperationInfoPage),
typeof(TopicPage), typeof(ListPage), typeof(CaretypePage), typeof(AidPage), typeof(NeedStaircasePage), typeof(NeedStepPage) }).ApplyBestBets().Track().GetResult();
returnValue.TotalResults = unifiedSearchResults.TotalMatching;
Hi,
I have a product that I've added to a category and then linked to another one. When querying the first category the product is found, but not when querying on the second.
When looking at the data stored in Find I see:
"ParentNodeRelations": [ {"___types": ["EPiServer.Core.ContentReference", ],"GetPublishedOrLatest$$bool": false,"IsExternalProvider$$bool": true,"$type": "EPiServer.Core.ContentReference, EPiServer","ID$$number": 1073743194,"WorkID$$number": 0,"ProviderName$$string": "CatalogContent" }, {"___types": ["EPiServer.Core.ContentReference", ],"GetPublishedOrLatest$$bool": false,"IsExternalProvider$$bool": true,"$type": "EPiServer.Core.ContentReference, EPiServer","ID$$number": 1073743255,"WorkID$$number": 0,"ProviderName$$string": "CatalogContent" } ],
And I try to query this by using the following C#:
this.SearchManager.Search().Filter(x => x.ParentNodeRelations().MatchContained(a => a.ToString(), content.ContentLink.ToString()))
The ID$$number in bold are the ID's of the original and linked categories. Unfortunatly this doesn't seem to work. The search results are empty. The COmmerce manager does display the product on both categories however.
Does anyone have an alternative solution or experience with querying linked products?
EPiServer.Find version 12.3.0 and EPiServer.Find.Commerce 9.7.0
Thanks!
/Mark
Hi All,
I am very new in epi-find.
I wanted to search result with Pages and documents (from global assets i.e. App Data folder).
How could I achive that?
Secondly, when I re-build the index showing 0 global asset content indexed. How could I idex the files well.
Please suggest step by step.
Please help as as possible.
Thanks
Abhishek
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
Hi,
We try to use find, but we encourter issues. After we delete quete a few articles (abuot 300), find tries to remove them from index, but seems to be stuck.
The error log shows this:
EPiServer.Find.ServiceException: The remote server returned an error: (429) Too Many Requests.
Too many requests ---> System.Net.WebException: The remote server returned an error: (429) Too Many Requests.
at System.Net.HttpWebRequest.GetResponse()
at EPiServer.Find.Connection.JsonRequest.GetResponseStream()
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.DeleteByQueryCommand.Execute()
at EPiServer.Find.Cms.ContentIndexer.RemoveFromIndex(ContentReference contentLink, Boolean cascade, String language)
at EPiServer.Find.Cms.ContentEventIndexer.IndexPageQueue()
And this is repeaten infinitely. It looks that find tries to delete ittems from index, fails, retries, fails and so on.
What could be wrong here?
Find version is 12.2.4
Cms version is 9.12.2
Regards,
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
ERROR EPiServer.Find.Cms.ContentIndexer: : An exception occurred while indexing content 5: Unable to connect to the remote server
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond **.***.***.***:***
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at EPiServer.Find.Connection.JsonRequest.GetRequestStream(Int64 contentLength)
at EPiServer.Find.Json.Serializer.SerializeObjectsToJsonRequest(JsonSerializer serializer, IJsonRequest jsonRequest, IEnumerable values)
at EPiServer.Find.Api.BulkCommand.Execute()
at EPiServer.Find.Client.Index(IEnumerable objectsToIndex)
at EPiServer.Find.Cms.ContentIndexer.IndexWithRetry(IContent[] contents, Int32 maxRetries)
at EPiServer.Find.Cms.ContentIndexer.Index(IEnumerable`1 content, IndexOptions options)
at EPiServer.Find.Cms.ContentIndexer.IndexBatch(IEnumerable`1 content, Action`1 statusAction, Int32& numberOfContentErrors, Int32& indexingCount)
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 54.194.120.239:443
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
at System.Net.HttpWebRequest.GetRequestStream()
at EPiServer.Find.Connection.JsonRequest.GetRequestStream(Int64 contentLength)
at EPiServer.Find.Json.Serializer.SerializeObjectsToJsonRequest(JsonSerializer serializer, IJsonRequest jsonRequest, IEnumerable values)
at EPiServer.Find.Api.BulkCommand.Execute()
at EPiServer.Find.Client.Index(IEnumerable objectsToIndex)
at EPiServer.Find.Cms.ContentIndexer.IndexWithRetry(IContent[] contents, Int32 maxRetries)
at EPiServer.Find.Cms.ContentIndexer.Index(IEnumerable`1 content, IndexOptions options)
at EPiServer.Find.Cms.ContentIndexer.IndexBatch(IEnumerable`1 content, Action`1 statusAction, Int32& numberOfContentErrors, Int32& indexingCount)
How can I come over this...?