Searching META tags

An unusual query showed up in the Yacy log today:

I 2025/07/13 15:58:57 Protocol * SOLR QUERY: defType=edismax&qf=url_paths_sxt^3.0+synonyms_sxt^0.5+title^5.0+text_t^1.0+host_s^6.0+h1_txt^5.0+url_file_name_tokens_t^4.0+h2_txt^3.0+keywords^2.0+description_txt^1.5+author^1.0&start=0&rows=10&fq=httpstatus_i:200&fq=-content_type:(image/*)&fq=-url_file_ext_s:(jpg+OR+png+OR+gif)&fq=author_sxt:"Ellen+Beate+Hansen+Sandseter"&fq=keywords:"new"&fq={!tag%3Dcollection_sxt}collection_sxt:"user"&fl=*,score&q=&bq=crawldepth_i:0^0.8&bq=crawldepth_i:1^0.4&bq=text_t:""^10&hl=true&hl.fragsize=220&hl.simple.post=</b>&hl.simple.pre=<b>&hl.snippets=5&hl.fl=description_txt&hl.fl=h4_txt&hl.fl=h3_txt&hl.fl=h2_txt&hl.fl=h1_txt&hl.fl=text_t

Here is a simplified view for what is being searched:

author_sxt:“Ellen Beate Hansen Sandseter”
keywords:“new”
collection_sxt:“user”

This query surprised me because many web pages have no meta tag declaring the author, so the number of search results would be very few. Indeed, when I tried the same search, Yacy produced 0 results.

However, when I asked AI about this woman, it gave me a web page she wrote. When I viewed the source, I did see the author meta tag was declared:

<meta name="author" content="Ellen Beate Hansen Sandseter" />

So, the query is valid, but was new to me. I did not even know we could search meta tags like this. I could not duplicate this search in Google. But Yacy shows this as a search option…
author META tag

I chose a different author and performed another Yacy test for that meta tag, and Yacy did produce valid results! :white_check_mark:

This is a way to find specific pages where the meta tag has been declared.