## magento2 – Don’t Sort by Name when have Mysql Search Engine Magento 2.4.1

I installed the Weltpixel AjaxLayeredNavigation extension and with the Swissup extension of Mysql Legacy Search Engine, having both activated when I want to sort by name gives me the following SQL error: Column not found: 1054 Unknown column ‘nameasc’ in ‘order clause’

If someone has gone through a similar error please it would be of great help.

## depth first search – Prove, that DFS produces the correct Topologically ordered sequence

Before I get to the proof, let me just clarify that the algorithm using DFS would be to process edges in decreasing order of finishing times while running DFS on the input graph.

Now to prove that the above algorithm returns a topological sorting, we can use some lemmas about DFS $$-$$ namely the Parenthesis Theorem as well as the White Path Theorem. I will not get into the proofs of each lemma but we will use the following:

A corollary of the parenthesis theorem, as follows:

Consider vertices $$u$$ and $$v$$ in $$G$$. Then $$v$$ is a descendant of $$u$$ in the DFS forest of $$G$$, if and only if $$d(u), where $$d(x’)$$ is the discovery time of vertex $$x’$$ and $$f(x’)$$ is its finish time.

Also, we will use the white path theorem which states that

Vertext $$v$$ is a descendant of vertex $$u$$ in the DFS forest if and only if at time $$d(u),$$ there exists a white path from $$u$$ to $$v.$$

Now let $$e = (u,v)$$ be an edge in the input graph. We want to prove that in our output, $$u$$ comes before $$v$$. We can show that by proving that in our DFS traversal, $$f(u) > f(v).$$

CASE I: $$d(u) < d(v)$$

By the White Path Theorem, $$v$$ is a descendant of $$u$$. This is because at time $$d(u)$$, there is a white path in $$G$$, which must be from $$u$$ to $$v$$ as there exists edge $$e = (u,v)$$. Hence, we can use the corollary of the parenthesis theorem to show that $$f(u) > f(v).$$

CASE II: $$d(v) < d(u)$$

At time $$d(v)$$, there is no white path from $$v$$ to $$u$$, as that would imply that $$G$$ has a cycle (meaning that it is not a DAG), and hence $$u$$ cannot be a descendant of $$v$$ in the DFS forest of $$G$$. So by the parenthesis theorem, we have $$d(v) < f(v) < d(u) < f(u)$$. Again, we proved that $$f(u) > f(v)$$.

Hope that helped đź™‚

## seo – What to do in Google Search Console when moving a subdomain to its own domain

I found this post but I it doesn’t answer my question completely.
I have

• `https://de.example.com`
• `https://es.example.com`
• and others

which I moved using `301` to

• `https://example.de`
• `https://example.es`

The redirects work perfectly.

Currently do exist in the Google Search Console the following sitemaps URL:

• `https://de.example.com/sitemap.xml`
• `https://es.example.com/sitemap.xml`

In the Search Console I already added/confirmed `example.de`, `example.es`, … as new properties.

How can I tell the Search Console that these subdomains have been permanently moved so the existing ranking doesn’t get lost?

## search – I need help clearing history on a computer that I donâ€™t have the google information for

search – I need help clearing history on a computer that I donâ€™t have the google information for – Super User

## typescript – Rxjs search in Angular

I created an rxjs search for a hiring company, but I got rejected for the following reason:
-performance issue on a bigger data set.
-bugs

My question is how can I make this code better for the next time if I have similar task?

brands = These should be populated from the brand property from the collection of products.

The search should match using the name, description and brand
properties.

• The search should not fire unless a minimum of three characters have been typed.
• The search should only fire a maximum of once per 400 milliseconds.

If searching for â€śxxxâ€ť with the brand selected as â€śxxxâ€ť and In Stock, then only products matching all three filters

``````const stackoverflowFilter = (filter: ISearch) => {
return (product: IProducts): boolean => {
return ((
(
(product.name.toLowerCase().indexOf(filter.input.toLowerCase()) !== -1) ||
product.description.toLowerCase().indexOf(filter.input.toLowerCase()) !== -1 ||
product.brand.toLowerCase().indexOf(filter.input.toLowerCase()) !== -1) &&
product.brand.toLowerCase().indexOf(filter.select.toLowerCase()) !== -1 &&
(filter.radio === 'all' ? true : filter.radio === 'in-stock' ? product.quantity > 0 : product.quantity === 0)
)
)
};
};

export interface ISearch { input: string; select: string; radio: string }

> public getStackoverflow(): Observable<Stackoverflow()> {
>         return of((
>           {
>             id: "1",
>             name: "This is just test data",
>             price: "89.9",
>             description: "test data",
>             brand: "stackoverflow",
>             quantity: 4
>           }....))}

this.stackoverflow\$ = this.service.getStackoverflow();

this.stackoverflow\$.pipe(
tap((prod) => {
this.stackoverflow = prod;
this.brands = this.stackoverflow.map(({ brand }) => brand).reduce((prev, cur) => {
if (prev.indexOf(cur) < 0) prev.push(cur);
return prev;
}, ());
}),
concatMap(() =>
this.search\$.pipe(
debounceTime(400),
distinctUntilChanged(),
switchMap((search: string) =>
iif(() => search.length >= 3,
this.stackoverflow\$.pipe(
map(stackoverflow=> stackoverflow.filter(stackoverflowFilter(this.filter))),
distinctUntilChanged((curr, prev) => curr === prev),
),
this.stackoverflow\$.pipe(
filter(() => search.length === 0),
)
)
)
))
).subscribe(
stackoverflow=> { this.stackoverflow= stackoverflow; },
(err) => throwError(err)
);
``````

## seo – Search Console: What to do when changing from subdomain to TLD

I found this post but I it doesn’t answer my question completely.
I have

• `https://de.domain.com`
• `https://es.domain.com`
• and others

which I moved using `301` to

• `https://domain.de`
• `https://domain.es`

The redirects work perfectly.

Currently do exist in the Google Search Console the following sitemaps URL:

• `https://de.domain.com/sitemap.xml`
• `https://es.domain.com/sitemap.xml`

In the Search Console I already added/confirmed `domain.de`, `domain.es`, … as new properties.

My questions:

1. Should I keep the existing sitemaps for the subdomains [`de.domain.com`] or delete them?
2. Is there a way to tell the Search Console that `domain.de` is the new `de.domain.com` or how to do it?
3. It’s obvious I don’t want to lose the ranking for the subdomains and inherit them to the new TLDs.
4. What do I have to consider, what do I have to do?
5. Can I already submit the sitemap `https://domain.de/sitemap.xml` or should I wait?

## Magento2: How to get attribute EAN and implement to search URL

I have simple script to display others sellers the same product on product page.

``````<span><?= /* @escapeNotVerified */ __('Total other sellers:') ?>
<a class="others-sellers"
href="<?= /* @escapeNotVerified */ \$this->getUrl('catalogsearch/result/?q=') ?>"
title="<?= /* @escapeNotVerified */ \$_helper->productAttribute(\$_product, \$_product->getName(), 'name'); ?>">
<?= /* @escapeNotVerified */ __('17') ?>
</a>
</span>
``````

Issue is related to code:

``````<a class="others-sellers"
href="<?= /* @escapeNotVerified */ \$this->getUrl('catalogsearch/result/?q=') ?>"
``````

This PHP code generate for me link:

``````https://mywebsite.pl/catalogsearch/result/?q=/
``````

To end URL I need also get attribute EAN and add to URL.
https://mywebsite.pl/catalogsearch/result/?q=83748273423333/

Here I have code how to get EAN. But can anyone help how can i implement this into the code?

``````<?php \$_productNameStripped = \$block->stripTags(\$_product->getEan(), null, true); ?>
<?php /* @escapeNotVerified */  echo \$_helper->productAttribute(\$_product, \$_product->getEan(), 'ean'); ?>
``````

Recently I’ve been getting the message on the bottom left on Google whenever I press `Ctrl + L` to put focus the omnibar (“Press `/` to jump to the search box”).

While the animation only slightly annoys me, I would like to turn off this message if easily possible.

Apart from using an adblocker to remove it, is there a setting to do this?

## sharepoint online – PnP modern search: syntax to use a page property in query

Wondering if you can use a page property rather than a managed property to filter search results in modern search web parts. Normally I’d use managed properties but either due to a bug or a limitation, managed properties aren’t available in group connected team sites – in any of the search based web parts. So I can filter a highlighted content web part using a page property based on for instance a choice column (eg “Category”), but not a managed property mapped to the crawled property for that column. I’d like to be able to use a modern search web part with a filter – something like this:

``````Path:https://xxx.sharepoint.com/sites/xxx/SitePages {Page.Category=Advanced tips}
``````

## How do I get rid of the search suggestions in Chrome?

I want to remove these suggestions on chrome for android, but I cannot find how to do it anywhere. Can someone help me with this?

Once I type a letter the normal suggestions appear. I just don’t want to see all these recent searches I made.