Jump to content

The search engine does not find a specific word


Cafe

Recommended Posts

I have a strange problem with the search engine. It works correctly with everything, but when I search for a specific word, in this case "llavero" it does not find anything, but we do have products with that key both in the name, in the keywords, and in the description. I have reset the search engine, I have redone the index, I have searched to see if it was on the blacklist and it is not... that exact word... it is not searched for!

Edited by Cafe (see edit history)
Link to comment
Share on other sites

I am referring to the search engine that I make available to the public so that they can search for things in my online store, so the search function of your shop, yes. They can search for anything, but if you search for "llavero" absolutely nothing comes up, not even new products with that word. It's very rare.

Link to comment
Share on other sites

Yes, it worked before, but now if I create a product with the word "keychain"... I just realized something! It does find products with the word "keychain" but they appear hidden in the search engine. If I use the browser tools to see the code that is built when you search for something and it appears in the searches but hidden... I am using the search engine that comes by default with the store. If I check the code with the search engine, finding something correctly, the code that is mounted in the search engine is this:

<ul class="ui-autocomplete ui-front ui-menu ui-widget ui-widget-content ui-corner-all" id="ui-id-1" tabindex="0"
    style="top: 200px; left: 611px; width: 301px;">
    <li class="ui-menu-item" role="presentation"><img src="/2675-small_default/placa-chapa-identificacion-et.jpg"
            class="product-img"><a id="ui-id-92" class="ui-corner-all" tabindex="-1"><span
                class="category">MILITAR</span><span class="separator"> &gt; </span><span class="product">PLACA CHAPA
                IDENTIFICACION</span><span class="price">3,95&nbsp;€</span></a></li>
    <li class="ui-menu-item" role="presentation"><img src="/48188-small_default/placa-vigilante-de-seguridad-pvc.jpg"
            class="product-img"><a id="ui-id-93" class="ui-corner-all" tabindex="-1"><span class="category">POLICIAL Y
                SEGURIDAD</span><span class="separator"> &gt; </span><span class="product">PLACA VIGILANTE DE SEGURIDAD
                PVC</span><span class="price">10,95&nbsp;€</span></a></li>
    <li class="ui-menu-item" role="presentation"><img src="/74159-small_default/placa-vigilante-de-seguridad-pvc.jpg"
            class="product-img"><a id="ui-id-94" class="ui-corner-all" tabindex="-1"><span class="category">POLICIAL Y
                SEGURIDAD</span><span class="separator"> &gt; </span><span class="product">PLACA VIGILANTE DE EXPLOSIVOS
                PVC</span><span class="price">10,95&nbsp;€</span></a></li>
</ul>

 

But if I search for "llavero" the code that appears in the search engine is like this:

<ul class="ui-autocomplete ui-front ui-menu ui-widget ui-widget-content ui-corner-all" id="ui-id-1" tabindex="0"
    style="top: 200px; left: 611px; width: 301px; display: none;">
    <li><img src="/109483-small_default/llavero-pixelado.jpg"
            class="product-img"><a><span class="category">LLAVEROS BORDADOS</span><span class="separator"> &gt;
            </span><span class="product">LLAVERO PIXELADO</span><span
                class="price">6,00&nbsp;€</span></a></li>
    <li><img src="/109488-small_default/llavero-espana.jpg"
            class="product-img"><a><span class="category">LLAVEROS BORDADOS, BOLIGRAFOS Y AGENDAS</span><span
                class="separator"> &gt; </span><span class="product">LLAVERO ESPAÑA</span><span
                class="price">4,95&nbsp;€</span></a></li>
    <li><img src="/109499-small_default/llavero-militar.jpg"
            class="product-img"><a><span class="category">ACCESORIOS MILITARES</span><span class="separator"> &gt;
            </span><span class="product">LLAVERO MILITAR</span><span
                class="price">6,00&nbsp;€</span></a></li>
    <li><img src="/109494-small_default/llavero-tactico.jpg"
            class="product-img"><a><span class="category">ACCESORIOS MILITARES</span><span class="separator"> &gt;
            </span><span class="product">LLAVERO TACTICO</span><span
                class="price">6,00&nbsp;€</span></a></li>
</ul>

As you can see, the search engine hides the UL and the LIs do not have styles, which is why they are not seen... How strange is this!

Link to comment
Share on other sites

On 12/25/2023 at 3:29 PM, Cafe said:

I search for a specific word, in this case "llavero" it does not find anything

Hi,

  • Manually check your database to ensure that the word "llavero" is stored correctly in relevant tables. Check the product names, keywords, and descriptions in the database to verify that the data matches your expectations.
  • If you've made any custom modifications to the search functionality or templates, review them to see if there's anything specific affecting the search for the word "llavero."

Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...