Urgent.News

What's breaking now, across hundreds of outlets.

Business

Our Sitemap Dropped From 13,403 Products to 3,000. The Filter Was Working Perfectly.

Our product sitemap had 13,403 URLs on Thursday. On Friday it had 3,000. Nobody touched the products. We had touched the rule that decides which products go in. This is a post about a filter that did exactly what it was told and still produced the wrong result, and about why "how many rows did this exclude?" is a question you should ask on the day you write the filter, not three weeks later. What…

The product sitemap for superwander.shop reduced from 13,403 URLs to just 3,000 URLs in a single day. The change was not due to any manual intervention, but rather a filter that was functioning as intended. This story highlights the importance of understanding how a filter works and testing it thoroughly before implementation. In this case, the filter was designed to exclude certain products from the sitemap based on their description length and similarity to boilerplate text.

However, the filter inadvertently excluded 89% of the entire catalogue due to a flaw in its design. The filter flagged normal product specifications as duplicate content because it compared them against a boilerplate block used in the spec table header of every listing. This resulted in an extremely high exclusion rate, despite the fact that the products were still live, indexable, and linked from category pages.

The issue went unnoticed for weeks until a weekly check revealed the discrepancy in the number of products in the sitemap compared to the catalogue.

To address this issue, the team decided not to adjust the threshold arbitrarily, but rather to separate the two conditions in the filter. They kept the length condition but measured the description after removing the spec table, setting a per-category floor for the minimum length. For the boilerplate overlap condition, they changed the comparison to consider other products' prose and increased the required match length to 25 words.

They also implemented a reporting feature that logs excluded/skipped products along with the reasons for exclusion, allowing for easier identification and correction of issues. Regular audits and random manual reviews were introduced to ensure the rule remains accurate and effective.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Business

Trans-Pacific trade pact members agree to open support office in Japan

HANOI (Kyodo) -- Member countries of the trans-Pacific free trade pact on Friday agreed to establish an interim support office in Japan with its work

  • Trans-Pacific Partnership members agree to open temporary support office in Japan.
  • Office operations to start in 2027, last until 2029.
  • Office to assist pact implementation, manage member interests.

Programmatic China & SEA Sourcing: Comparing 1688 Wholesale, Goofish (闲鱼) & Lazada Prices in Python & n8n

Cross-border sourcing teams spend hours every week tab-switching between 1688.com (China factory wholesale), Goofish / Xianyu (闲鱼) (China's largest secondhand & arbitrage marketplace), AliExpress…

  • Developed zero-dependency SDKs for China sourcing platforms
  • APIs provide live Edge REST access to 1688, Goofish, Lazada
  • n8n templates enable automated sourcing alerts and monitoring

Shopify Store Launch Checklist for Indian Businesses (12 Things I Check)

Launching a Shopify store in India is more than picking a theme. I'm Jagdeep Singh Rana, a web developer from Roorkee, and these are the 12 things I check before any store goes live.

  • Choose INR as base currency and decide on international sales early
  • Implement GST correctly and include HSN codes where necessary
  • Set up legal pages, domain, email, and payment options thoroughly

More from Saturday, 28 November 2026 →