Quantcast
Channel: Optimizely Search & Navigation
Viewing all 6894 articles
Browse latest View live

GDPR and EPiFind Tracking

$
0
0

We've been asked some questions about the tracking that is used when enabling statistics in EPiFind:

/page/in/searchresults/?_t_id=<ID>&_t_q=<mysearchterm>&_t_tags=langu-age:sv,siteid:<guid>&_t_ip=<XX.XX.XX.XX>&_t_hit.id=<NameSpace>/_68d3ab17-d83c-4f64-ae14-288a48d3ffd0_sv&_t_hit.pos=2

These are visible on links in the search results whenever we enable the Track clicking:

SearchClient.Instance.Statistics().TrackQuery(...)
SearchClient.Instance.Statistics().TrackHit(...)

The main issue here is the namespace and the IP-adress which can, contain sensitive information and our customer asked us to remove at least the IP-address. But this will break the tracking.

Can we send the trackingdata on the backend side in some programatic way so we can keep the URL clean? One idea was to make an async call to the above URL after user clicked but wondered if there was a more elegant way?


"Page not found" inside Find for "Search Phrases"

$
0
0

If I go to "/Find/#manage" and click on an item in the "Search Phrase" list I see that all "Search Result" names are named "Page not found" even though the user always visits an existing page and the index documents all contain the key "SearchTitle" with a value.

What's the reason I can't see the real page title?

Thanks

UnifiedSearch excerpt length not constrained as expected.

$
0
0

We are indexing PDFs with Find. When we show the results, we display the title and the highlighted excerpt. The issue I am seeing is that the excerpt length doesn't seem to be respecting any of the limits we've passed in, so the excerpt is far too long.

In the search result template, we are rendering it using:

result.Document.Excerpt

In our Find Initialization, we are setting up the highlighted excerpt projection:

SearchClient.Instance.Conventions.UnifiedSearchRegistry.ForInstanceOf<MediaData>()
    .ProjectHighlightedExcerptUsing<MediaData>(spec => doc => !string.IsNullOrEmpty(doc.SearchAttachmentText().AsHighlighted()) ?
doc.SearchAttachmentText().AsHighlighted(new HighlightSpec() { FragmentSize = spec.ExcerptLength, NumberOfFragments = 1 })
: doc.SearchAttachmentText().AsCropped(spec.ExcerptLength));

When searching, we pass in a hit spec with highlighting enabled on the excerpt:

var hitSpec = new HitSpecification
			{
				HighlightExcerpt = true,
				EncodeTitle = false,
				EncodeExcerpt = false,
				ExcerptHighlightSpecAction = spec => new HighlightSpec { FragmentSize = 100, NumberOfFragments = 1, }
			};

What we see is that the excerpt comes back populated and highlighted, but the length appears to be the entire length of the AttachmentText rather than a truncated version of it per the hit spec or the highlight spec. 

I've adjusted the ProjectHighlightedExcerptUsing lamda, and the results change their excerpt correspondingly, so it is running / being called for the results I am looking at, but the length of the field just doesn't seem to be constrained.

Am I missing something?

Thanks!

Rendering facets

$
0
0

How on the view do we render a facet?

Controlling the indexing of connector-crawled "WebContent " documents

$
0
0

How can we use contentIndexer to understand EPiServer.Find.Framework.WebContent? We would like to exclude a property of these WebContent documents. These are of type:

EPiServer.Find.Framework.WebContent

For example, this works for our type "ErrorPage":

            ContentIndexer.Instance.Conventions.ForInstancesOf<QDX.Models.Pages.ErrorPage>().ShouldIndex(x => false);

Also we can exclude just a property from this pageType.

But is it possible to have ContentIndexer resolve type EPiServer.Find.Framework.WebContent ?

Exclude URLs and content when using Connectors

$
0
0

From existing topic at https://world.episerver.com/forum/developer-forum/EPiServer-Search/Thread-Container/2015/2/exclude-urls-and-content-when-using-connectors/:

Exclude URLs and content when using Connectors

We might however be able to help you modify your connectors.

There are settings/filters for removing unwanted URL-parameters, limiting recursion depth and for globbing in the crawler, all which can potentially help you with what you want to achieve. I really can't tell you why these settings are not available in the UI because I don't know.

Anyway, some of the settings are:

  • "remove_query_args": [] //< Array of parameter names. Useful for removing timestamps, session-ids, page-ids, sorting information etc.
  • "max_depth": int //< Recursion depth limit. No limit (-1) by default.
  • "max_documents": int //< Total document limit. Default to no limit but the crawler will terminate if it receives "full"-response from indexer.
  • "max_links_per_document": int //< Limits the number of followed links per page. Defaults to 5000.
  • "included_crawl_patterns": [] //< Array of globbing patterns (like robots.txt) for urls that are allowed to be followed.
  • "excluded_crawl_patterns": [] //< Array of globbing patterns (like robots.txt) for urls that are not allowed to be followed.
  • "excluded_index_patterns": [] //< Array of globbing patterns (like robots.txt) for urls that are allowed to be followed but not allowed to be indexed. 

Please contact support for help with manually setting these.

As per EPiServer Find version 9.2.0.2446 most of these features are implemented! Yay!

As for max_links_per_document and max_documents, where do we set these? Do we still need to contact support?

Populating Autocomplete phrase list using .NET API

$
0
0

I couldn't anything about this. I have around 2k of page names I'd like to input into the autocomplete phrases list. Those pages come and go as they're synced with an external product DB.

Is there any way I can access said list in the .NET API? Should I just implement my own autocomplete and disregard that functionality entirely? 
Or maybe I'm going the wrong way here?

getting the json from webcontent

$
0
0

How can I pull a json element from a Find document of type WebContent? For example, we have this json for a WebContent document crawled in from a Find connector :

  "SearchSourceName$$string": "Press Releases2",
    "_id": "e7f8ceb345c3f98fe6b0cebe61b14b6a305b40b3",
    "$type": "EPiServer.Find.Framework.WebContent, EPiServer.Find.Framework",
    "SearchMetaData": {
        "viewport": {
            "StringValue$$string": "width=device-width, initial-scale=1",
            "$type": "EPiServer.Find.IndexValue, EPiServer.Find",
            "___types": [
                "EPiServer.Find.IndexValue",
                "System.Object"
            ]
        },

I am doing this from a scheduled job:

    var rs = client.Search<EPiServer.Find.Framework.WebContent>().WildCardQuery("*2013*", x => x.SearchText).GetResult();
        foreach (var ri in rs)
            {    
            
                // here I would like to get the "_id" in the json
    
            }


Serious problems with developer index

$
0
0

I created new developer index and everything looked OK. When I ran the index job it was also successful and I started developing my search page (unified search). However, the only results I'm getting is content inheriting from MediaData. When I look in the Find Overview I see there are 0 page types indexed. They are instead indexed as normal .NET objects?

We've had issues with dev indexes for months now and it's been crippling our Find related development. Some sites are heavily relying on Find so it's starting to become a huge issue. What can we do until it's fixed?

Populating Autocomplete phrase list using .NET API

$
0
0

I couldn't find anything about this. I have around 2k of page names I'd like to input into the autocomplete phrases list. Those pages come and go as they're synced with an external product DB.

Is there any way I can access said list in the .NET API? Should I just implement my own autocomplete and disregard that functionality entirely? 
Or maybe I'm going the wrong way here?

Problem with filter query interms of Numeric value in Key Value pair Item

$
0
0

Hi All,

We are facing akward issue with Filter query. Here is the brief description of an issue.

1. We have adding the Key-Value Pair Property in the index.


2.If the Key of an Last Index of this property is a Numeric value can not fetch the result.

Query used:


 .Filter(x => x.CustomerPartNo.Values.AnyWordBeginsWith(text))


3.By changing the index position would have able to fetch the result.

Can you help us out to resolve the issue?

Replacement for PageLanguage Property in PageData ?

$
0
0

PageLanguages property in PageData is deprecated.
It suggests to use ExistingLanguages property instead of the PageLanguages

However, when comes to the filtering, previously the language filtering has been handled by

.Filter(x => !((PageData)(object)x).PageLanguages.MatchCaseInsensitive(lang))

But when used the below,

.Filter(x => !((PageData)(object)x).ExistingLanguages.ToString().MatchCaseInsensitive(lang))


it gives a different result.

How to get the same result as before by using the ExistingLanguages property (or from other property)? Thanks in advance.

Note: I am working on EPiServer.Find.Cms --> 12.7.1.0  ,   CMS ---> 11.5.1.0 

Please include version in your question

$
0
0

Hi,

There are a lot of Find version in Episerver's nuget right now, so please add your Find, CMS, Commerce,... version to your question you're working on. 

It will be much easier for other developer find the answer to help you.

In your post, you could add a line like that: 

I'm working on Find 12.7.0, Commerce 11.8.3, CMS 11.3.1

We got issue ...

Thank you,

/Son Do

Using Geta Epi Categories for Unified Search (Find 12.7.1.0)

$
0
0

We are using the Geta Epi Categories in out solution https://github.com/Geta/EpiCategories. We are using version 1.2.1.

Is there a way to use the Geta Epi Categories in the unified search method. The CMS users will be assigning categories to content with the Geta Categories property type (IList<ContentReference>). The Unified Search Search Categories property is of the IEnumerable<string> type so was wondering if this is possible and a nudge in the right direction to do this

Thanks in advance!

EPI Find Tab- Keep asking credetials

$
0
0

Hi,

Uisng CMS 10 and Find 9. When trying to accessing FIND Tab, it keep sasking credetials.

This issue come suddenly. After checking that some how my account is not showing memeber of  Administartors group. But on VM I am the local admin.

Please suggeste.

Best Regards,

Abhishek


Issues with new developer indexes

$
0
0

Are there issues with newly created developer indexes? I receive "(401) Unauthorized" errors when indexing and also received nested "IOException[No space left on device]" while indexing last Friday. I have an old index that works just fine on the very same project. I'm confident I have the correct configuration using the correct private url.

Best bets not working

$
0
0

Hi,

I need to apply best bets to my site.In best bets Target content I choose commerce catalog product.While I tried to get result from beat bets by using following code getting error says "Culture is not supported".

  var results = SearchClient.Instance.UnifiedSearchFor(spaceText).ApplyBestBets().GetResult();
                var result = SearchClient.Instance.Search()
                                .For(spaceText)
                                .ApplyBestBets().GetResult();
////For both cases I am getting the same error.

Exception Image

Thanks in advance.

Fragmented sorting issue

$
0
0

Hi, I have a strange problem ocuring when I try to use OrderBy for any given propery: The ordering is fragmented.

What I mean by that is if I OrderBy on number I get something like: 1, 2, 5, 6, 3, 4, 7, 8, 0 and then 6, 5, 2, 1, 8, 7, 4, 3, 0 for descending. It seams like the result is getting orderd by something else before ordering on the number, but I have triple-checked the request and there is only one sort object in the sort array.

query.OrderBy(arg => arg.Code);

Gives: 

    [0]: "22565423125"
    [1]: "22565423216"
    [2]: "22565423236"
    [3]: "22565423294"
    [4]: "22565423130"
    [5]: "22565423140"
    [6]: "22565423291"
    [7]: "22565423297"
    [8]: "22565423614"
    [9]: "22565423622"
    [10]: "22565423627"
    [11]: "22565423647"
    [12]: "22565423231"
    [13]: "22565423285"
    [14]: "22565423637"
    [15]: "22565423642"
    [16]: "22565423120"
    [17]: "22565423221"
    [18]: "22565423226"
    [19]: "22565423288"
    [20]: "22565423300"
    [21]: "22565423135"
    [22]: "22565423211"
    [23]: "22565423652"

And 

query.OrderByDescending(arg => arg.Code);

Gives: 

    [0]: "22565423236"
    [1]: "22565423216"
    [2]: "22565423125"
    [3]: "22565423115"
    [4]: "22565423647"
    [5]: "22565423627"
    [6]: "22565423622"
    [7]: "22565423614"
    [8]: "22565423297"
    [9]: "22565423291"
    [10]: "22565423140"
    [11]: "22565423130"
    [12]: "22565423642"
    [13]: "22565423637"
    [14]: "22565423285"
    [15]: "22565423231"
    [16]: "22565423300"
    [17]: "22565423288"
    [18]: "22565423226"
    [19]: "22565423221"
    [20]: "22565423120"
    [21]: "22565423652"
    [22]: "22565423632"
    [23]: "22565423135"

I have tried switching indexes and still the issue remains.

I'm using Episerver.Find 13.0.1.

Filter By Site Id in Unified Search

$
0
0

I've got a multi site set up and I want to be able to filter by site id but this is not available for me in unified search?

What's the best approach for this?

Martin

"Page not found" inside Find for "Search Phrases"

$
0
0

If I go to "/Find/#manage" and click on an item in the "Search Phrase" list I see that all "Search Result" names are named "Page not found" even though the user always visits an existing page and the index documents all contain the key "SearchTitle" with a value.

What's the reason I can't see the real page title?

Thanks

Viewing all 6894 articles
Browse latest View live