## 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 🙂

Posted on

## 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
Posted on

## 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?

Posted on

## 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'); ?>
``````

Posted on

## 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}
``````

Posted on

## keyboard shortcuts – Disable “Press `/` to jump to the search box” in Google

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?

Posted on

## How can we find 404 pages on a website without google search console or conducting a crawl?

How can I find 404 error pages on a website to which I don’t have access to conduct a crawl on or check google search console?

Posted on

## Is there a search engine that supports searching using regex or wildcards?

I have a part of email address. I need to find a full one.
Part of email address example: amazon***@gmail.com.
I want to find all emails on web where characters instead of *.
As far as I know, Google doesn’t support it. (Or no?)
So, is there a search engine that can help me?
Hope for your help!
Thanks in advance!

Posted on