• Hi,
    We have SKU search set up for Woocommerce using the 2nd snippet on this page: https://www.relevanssi.com/knowledge-base/return-only-exact-matches-for-sku-searches/

    However, this has stopped working on all new products, it still works on existing products. I’ve tried Index unindexed posts option under the Indexing tab but this found 0 new posts.

    When I check the post ID in the debugging tab I can see its not showing the custom field value in the output, whereas existing product do.

    What would be the next step to debug why this is happening?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Mikko Saari

    (@msaari)

    It’s clearly an indexing issue, since you’re not seeing the custom field values in the debugger. Thus, the snippet is irrelevant here, as it only applies to searching.

    Is the _sku custom field still set up for indexing in the Relevanssi indexing settings? If that’s gone for some reason, that would explain why old posts still work, but new posts don’t. If Relevanssi is still set up to index that custom field, something must interfere with the indexing. What that is, is a tougher question.

    Thread Starter andyt1980

    (@andyt1980)

    Yes _sku custom field is still set up in the indexing settings. Would the main wordpress debugging file help identify any issues?

    Plugin Author Mikko Saari

    (@msaari)

    No, I don’t think so.

    What do your SKUs look like? Is their format something Relevanssi can digest?

    What does this print out to the server PHP error log when you update a post with this problem?

    add_filter( 'relevanssi_custom_field_value', function( $values, $field ) {
      if ( '_sku' === $field ) {
        error_log( print_r( $values, true ) );
      }
      return $values;
    }, 10, 2 );
    Thread Starter andyt1980

    (@andyt1980)

    They are a similar format to the other SKUs, for example FD496

    I added that filter and updated a product but only see this in the server error logs:

    2023-05-11 12:08:35Error.378781 [NOTICE] [30595] [T0] [86.146.73.146:62782-H3:0536D7F07523E3AE-8#APVH_domain.co.uk:443] [STDERR] Array\n(\n [0] => FD4960\n)\n2023-05-11 12:08:44Error.407868 [NOTICE] [30595] [T0] [86.146.73.146:62782-H3:0536D7F07523E3AE-36#APVH_domain.co.uk:443] [STDERR] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 3.1.\n2023-05-11 12:08:44Error.410971 [NOTICE] [30595] [T0] [86.146.73.146:62782-H3:0536D7F07523E3AE-36#APVH_domain:443] [STDERR] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 3.1.\n2023-05-11 12:08:52Error.407202 [NOTICE] [30595] [T0] [86.146.73.146:62782-H3:0536D7F07523E3AE-48#APVH_domain.co.uk:443] [STDERR] Array\n(\n [0] => FD496\n)\n2023-05-11 12:08:59Error.868393 [NOTICE] [30595] [T0] [86.146.73.146:62782-H3:0536D7F07523E3AE-72#APVH_domain.co.uk:443] [STDERR] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 3.1.\n2023-05-11 12:08:59Error.871716 [NOTICE] [30595] [T0] [86.146.73.146:62782-H3:0536D7F07523E3AE-72#APVH_domain.co.uk:443] [STDERR] The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 3.1.\n

    Plugin Author Mikko Saari

    (@msaari)

    Relevanssi sees the SKU, it appears in the output as expected. Is the post otherwise correctly indexed? Is the missing SKU the only thing that is not indexed correctly?

    What does this print out in the log?

    add_filter( 'relevanssi_indexing_data', function( $data ) {
      error_log( print_r( $data, true ) );
      return $data;
    } );
    Thread Starter andyt1980

    (@andyt1980)

    Thank you for your continued assistance with this. I added the filter you gave and updated the price of a product, then change the price back again. I think everything else when I use the debugging tool in Relevanssi shows as indexed ok, Product title and Product Description shows fine.

    This shows in the server log:

    .961502 [NOTICE] [30595] [T0] [86.146.73.146:61703-H3:5E241E9824482391-604#APVH_domain.co.uk:443] [STDERR] Array\n(\n [fly] => Array\n (\n [taxonomy] => 1\n [taxonomy_detail] => {“product_cat”:1}\n [title] => 1\n [content] => 4\n )\n\n [killers] => Array\n (\n [taxonomy] => 1\n [taxonomy_detail] => {“product_cat”:1}\n )\n\n [fd496] => Array\n (\n [customfield] => 1\n )\n\n [eco] => Array\n (\n [excerpt] => 1\n )\n\n [bulbs] => Array\n (\n [excerpt] => 1\n [content] => 2\n )\n\n [45w] => Array\n (\n [excerpt] => 1\n )\n\n [spare] => Array\n (\n [excerpt] => 1\n )\n\n [bulb] => Array\n (\n [excerpt] => 1\n [content] => 1\n )\n\n [code] => Array\n (\n [excerpt] => 1\n )\n\n [aj636] => Array\n (\n [excerpt] => 1\n )\n\n [eazyzap] => Array\n (\n [title] => 1\n [content] => 3\n )\n\n [energy] => Array\n (\n [title] => 1\n [content] => 2\n )\n\n [efficient] => Array\n (\n [title] => 1\n [content] => 1\n )\n\n [led] => Array\n (\n [title] => 1\n [content] => 3\n )\n\n [killer] => Array\n (\n [title] => 1\n [content] => 1\n )\n\n [50m..] => Array\n (\n [title] => 1\n [content] => 1\n )\n\n [business] => Array\n (\n [content] => 1\n )\n\n [free] => Array\n (\n [content] => 1\n )\n\n [flying] => Array\n (\n [content] => 1\n )\n\n [insects] => Array\n (\n [content] => 1\n )\n\n [fitted] => Array\n (\n [content] => 1\n )\n\n [highly] => Array\n (\n [content] => 1\n )\n\n [significantly] => Array\n (\n [content] => 1\n )\n\n [reduces] => Array\n (\n [content] => 1\n )\n\n


    2023-05-11 14:16:26Error.961528 [NOTICE] [30595] [T0] [86.146.73.146:61703-H3:5E241E9824482391-604#APVH_domain.co.uk:443] [STDERR] [running] => Array\n (\n [content] => 1\n )\n\n [costs] => Array\n (\n [content] => 1\n )\n\n [comparison] => Array\n (\n [content] => 1\n )\n\n [traditional] => Array\n (\n [content] => 1\n )\n\n [zappers] => Array\n (\n [content] => 1\n )\n\n [helping] => Array\n (\n [content] => 1\n )\n\n [save] => Array\n (\n [content] => 1\n )\n\n [money] => Array\n (\n [content] => 1\n )\n\n [bills] => Array\n (\n [content] => 1\n )\n\n [long] => Array\n (\n [content] => 2\n )\n\n [run] => Array\n (\n [content] => 1\n )\n\n [twice] => Array\n (\n [content] => 1\n )\n\n [ 000] => Array\n (\n [content] => 1\n )\n\n [hours] => Array\n (\n [content] => 1\n )\n\n [effective] => Array\n (\n [content] => 2\n )\n\n [attracting] => Array\n (\n [content] => 1\n )\n\n [pests] => Array\n (\n [content] => 1\n )\n\n [fewer] => Array\n (\n [content] => 1\n )\n\n [changes] => Array\n (\n [content] => 1\n )\n\n [better] => Array\n (\n [content] => 1\n )\n\n [killing] => Array\n (\n [content] => 2\n )\n\n [performance] => Array\n (\n [content] => 1\n )\n\n [simple] => Array\n (\n [content] => 1\n )\n\n [chain] => Array\n (\n [content] => 1\n )\n\n [mounting] => Array\n (\n [content] => 1\n )\n\n [generous] => Array\n (\n [content] => 1\n )\n\n [metre] => Array\n (\n [content] => 1\n )\n\n [power] => Array\n (\n [content] => 1\n )\n\n [cable] => Array\n (\n [content] => 1\n )\n\n [easy]

    2023-05-11 14:16:26Error.961553 [NOTICE] [30595] [T0] [86.146.73.146:61703-H3:5E241E9824482391-604#APVH_domain.co.uk:443] [STDERR] => Array\n (\n [content] => 1\n )\n\n [install] => Array\n (\n [content] => 1\n )\n\n [needed] => Array\n (\n [content] => 1\n )\n\n [whilst] => Array\n (\n [content] => 1\n )\n\n [coverage] => Array\n (\n [content] => 1\n )\n\n [ensures] => Array\n (\n [content] => 1\n )\n\n [wide] => Array\n (\n [content] => 1\n )\n\n [area] => Array\n (\n [content] => 1\n )\n\n [unit] => Array\n (\n [content] => 1\n )\n\n [zapper] => Array\n (\n [content] => 1\n )\n\n [includes] => Array\n (\n [content] => 1\n )\n\n [handy] => Array\n (\n [content] => 1\n )\n\n [removable] => Array\n (\n [content] => 1\n )\n\n [collection] => Array\n (\n [content] => 1\n )\n\n [drawer] => Array\n (\n [content] => 1\n )\n\n [keeps] => Array\n (\n [content] => 1\n )\n\n [insect] => Array\n (\n [content] => 1\n )\n\n [remains] => Array\n (\n [content] => 1\n )\n\n [safely] => Array\n (\n [content] => 1\n )\n\n [hygienically] => Array\n (\n [content] => 1\n )\n\n [stored] => Array\n (\n [content] => 1\n )\n\n [time] => Array\n (\n [content] => 1\n )\n\n)\n

    • This reply was modified 1 year, 6 months ago by andyt1980. Reason: Added another line from the log at the start
    Plugin Author Mikko Saari

    (@msaari)

    The SKU is still hanging along there. Here’s the next step:

    add_filter( 'relevanssi_indexing_values', function( $values ) {
      error_log(print_r($values, true));
      return $values;
    } );
    Thread Starter andyt1980

    (@andyt1980)

    Hi,
    Added the filter and updated price of another product then changed it back. Log below:

    2023-05-14 20:20:32 Error .382253 [NOTICE] [15467] [T0] [86.146.73.146:52060-H3:92AEDF43475BF78F-504#APVH_domain.co.uk:443] [STDERR] Array\n(\n [food] => Array\n (\n [taxonomy] => 2\n [taxonomy_detail] => {“product_cat”:2}\n [title] => 1\n [content] => 1\n )\n\n [containers] => Array\n (\n [taxonomy] => 1\n [taxonomy_detail] => {“product_cat”:1}\n [content] => 1\n )\n\n [storage] => Array\n (\n [taxonomy] => 1\n [taxonomy_detail] => {“product_cat”:1}\n [title] => 1\n )\n\n [gp591] => Array\n (\n [customfield] => 1\n )\n\n [size] => Array\n (\n [excerpt] => 1\n )\n\n [ 200] => Array\n (\n [excerpt] => 1\n )\n\n [ 325] => Array\n (\n [excerpt] => 1\n )\n\n [ 530] => Array\n (\n [excerpt] => 1\n )\n\n [araven] => Array\n (\n [title] => 1\n )\n\n [abs] => Array\n (\n [title] => 1\n )\n\n [container] => Array\n (\n [title] => 1\n )\n\n [blue] => Array\n (\n [title] => 1\n [content] => 1\n )\n\n [200mm] => Array\n (\n [title] => 1\n )\n\n [airtight] => Array\n (\n [content] => 1\n )\n\n [sized] => Array\n (\n [content] => 1\n )\n\n [supplied] => Array\n (\n [content] => 1\n )\n\n [lids] => Array\n (\n [content] => 1\n )\n\n [set] => Array\n (\n [content] => 1\n )\n\n [colour] => Array\n (\n [content] => 1\n )\n\n [coded] => Array\n (\n [content] => 1\n )\n\n [clips] => Array\n (\n [content] => 1\n )\n\n [red] => Array\n (\n [content] => 1\n )\n\n [yellow] => Array\n (\n [content] => 1\n )\n\n [green] => Array\n (\n [content] => 1\n )\n\n [permanent] => Array\n (\n [content] => 1\n )\n\n [wipe] => Array\n

    2023-05-14 20:20:32 Error .382292 [NOTICE] [15467] [T0] [86.146.73.146:52060-H3:92AEDF43475BF78F-504#APVH_domain.co.uk:443] [STDERR] (\n [content] => 1\n )\n\n [clean] => Array\n (\n [content] => 1\n )\n\n [label] => Array\n (\n [content] => 1\n )\n\n [identification] => Array\n (\n [content] => 1\n )\n\n [contents] => Array\n (\n [content] => 1\n )\n\n [easy] => Array\n (\n [content] => 1\n )\n\n [rotation] => Array\n (\n [content] => 1\n )\n\n [temperature] => Array\n (\n [content] => 1\n )\n\n [range] => Array\n (\n [content] => 1\n )\n\n [40..c] => Array\n (\n [content] => 1\n )\n\n [95..c] => Array\n (\n [content] => 1\n )\n\n [microwave] => Array\n (\n [content] => 1\n )\n\n [dishwasher] => Array\n (\n [content] => 1\n )\n\n [safe] => Array\n (\n [content] => 1\n )\n\n)\n

    2023-05-14 20:20:32 Error .384072 [NOTICE] [15467] [T0] [86.146.73.146:52060-H3:92AEDF43475BF78F-504#APVH_domain.co.uk:443] [STDERR] Array\n(\n [0] => (194994, ‘food’, REVERSE(‘food’), 1, 1, 0, 0, 0, 0, 0, 0, 2, 0, ‘post’, ‘{\”product_cat\”:2}’, ”, 0, ”)\n [1] => (194994, ‘containers’, REVERSE(‘containers’), 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, ‘post’, ‘{\”product_cat\”:1}’, ”, 0, ”)\n [2] => (194994, ‘storage’, REVERSE(‘storage’), 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, ‘post’, ‘{\”product_cat\”:1}’, ”, 0, ”)\n [3] => (194994, ‘gp591’, REVERSE(‘gp591’), 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, ‘post’, ”, ”, 0, ”)\n [4] => (194994, ‘size’, REVERSE(‘size’), 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, ‘post’, ”, ”, 0, ”)\n [5] => (194994, ‘200’, REVERSE(‘200’), 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, ‘post’, ”, ”, 0, ”)\n [6] => (194994, ‘325’, REVERSE(‘325’), 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, ‘post’, ”, ”, 0, ”)\n [7] => (194994, ‘530’, REVERSE(‘530’), 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, ‘post’, ”, ”, 0, ”)\n [8] => (194994, ‘araven’, REVERSE(‘araven’), 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [9] => (194994, ‘abs’, REVERSE(‘abs’), 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [10] => (194994, ‘container’, REVERSE(‘container’), 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [11] => (194994, ‘blue’, REVERSE(‘blue’), 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [12] => (194994, ‘200mm’, REVERSE(‘200mm’), 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [13] => (194994, ‘airtight’, REVERSE(‘airtight’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [14] => (194994, ‘sized’, REVERSE(‘sized’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [15] => (194994, ‘supplied’, REVERSE(‘supplied’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [16] => (194994, ‘lids’, REVERSE(‘lids’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [17] => (194994, ‘set’, REVERSE(‘set’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [18] => (194994, ‘colour’, REVERSE(‘colour’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [19] => (194994, ‘coded’, REVERSE(‘coded’), 1, 0, 0, 0, 0, 0

    2023-05-14 20:20:32 Error .384111 [NOTICE] [15467] [T0] [86.146.73.146:52060-H3:92AEDF43475BF78F-504#APVH_domain.co.uk:443] [STDERR] , 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [20] => (194994, ‘clips’, REVERSE(‘clips’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [21] => (194994, ‘red’, REVERSE(‘red’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [22] => (194994, ‘yellow’, REVERSE(‘yellow’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [23] => (194994, ‘green’, REVERSE(‘green’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [24] => (194994, ‘permanent’, REVERSE(‘permanent’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [25] => (194994, ‘wipe’, REVERSE(‘wipe’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [26] => (194994, ‘clean’, REVERSE(‘clean’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [27] => (194994, ‘label’, REVERSE(‘label’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [28] => (194994, ‘identification’, REVERSE(‘identification’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [29] => (194994, ‘contents’, REVERSE(‘contents’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [30] => (194994, ‘easy’, REVERSE(‘easy’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [31] => (194994, ‘rotation’, REVERSE(‘rotation’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [32] => (194994, ‘temperature’, REVERSE(‘temperature’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [33] => (194994, ‘range’, REVERSE(‘range’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [34] => (194994, ’40..c’, REVERSE(’40..c’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [35] => (194994, ’95..c’, REVERSE(’95..c’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [36] => (194994, ‘microwave’, REVERSE(‘microwave’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [37] => (194994, ‘dishwasher’, REVERSE(‘dishwasher’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [38] => (194994, ‘safe’, REVERSE(‘safe’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n)\n

    2023-05-14 20:20:42 Error .009102 [NOTICE] [15467] [T0] [86.146.73.146:52060-H3:92AEDF43475BF78F-524#APVH_domain.co.uk:443] [STDERR] Array\n(\n [0] => GP591\n)\n

    2023-05-14 20:20:42 Error .013081 [NOTICE] [15467] [T0] [86.146.73.146:52060-H3:92AEDF43475BF78F-524#APVH_domain.co.uk:443] [STDERR] Array\n(\n [food] => Array\n (\n [taxonomy] => 2\n [taxonomy_detail] => {“product_cat”:2}\n [title] => 1\n [content] => 1\n )\n\n [containers] => Array\n (\n [taxonomy] => 1\n [taxonomy_detail] => {“product_cat”:1}\n [content] => 1\n )\n\n [storage] => Array\n (\n [taxonomy] => 1\n [taxonomy_detail] => {“product_cat”:1}\n [title] => 1\n )\n\n [gp591] => Array\n (\n [customfield] => 1\n )\n\n [size] => Array\n (\n [excerpt] => 1\n )\n\n [ 200] => Array\n (\n [excerpt] => 1\n )\n\n [ 325] => Array\n (\n [excerpt] => 1\n )\n\n [ 530] => Array\n (\n [excerpt] => 1\n )\n\n [araven] => Array\n (\n [title] => 1\n )\n\n [abs] => Array\n (\n [title] => 1\n )\n\n [container] => Array\n (\n [title] => 1\n )\n\n [blue] => Array\n (\n [title] => 1\n [content] => 1\n )\n\n [200mm] => Array\n (\n [title] => 1\n )\n\n [airtight] => Array\n (\n [content] => 1\n )\n\n [sized] => Array\n (\n [content] => 1\n )\n\n [supplied] => Array\n (\n [content] => 1\n )\n\n [lids] => Array\n (\n [content] => 1\n )\n\n [set] => Array\n (\n [content] => 1\n )\n\n [colour] => Array\n (\n [content] => 1\n )\n\n [coded] => Array\n (\n [content] => 1\n )\n\n [clips] => Array\n (\n [content] => 1\n )\n\n [red] => Array\n (\n [content] => 1\n )\n\n [yellow] => Array\n (\n [content] => 1\n )\n\n [green] => Array\n (\n [content] => 1\n )\n\n [permanent] => Array\n (\n [content] => 1\n )\n\n [wipe] => Array\n

    2023-05-14 20:20:42 Error .013135 [NOTICE] [15467] [T0] [86.146.73.146:52060-H3:92AEDF43475BF78F-524#APVH_domain.co.uk:443] [STDERR] (\n [content] => 1\n )\n\n [clean] => Array\n (\n [content] => 1\n )\n\n [label] => Array\n (\n [content] => 1\n )\n\n [identification] => Array\n (\n [content] => 1\n )\n\n [contents] => Array\n (\n [content] => 1\n )\n\n [easy] => Array\n (\n [content] => 1\n )\n\n [rotation] => Array\n (\n [content] => 1\n )\n\n [temperature] => Array\n (\n [content] => 1\n )\n\n [range] => Array\n (\n [content] => 1\n )\n\n [40..c] => Array\n (\n [content] => 1\n )\n\n [95..c] => Array\n (\n [content] => 1\n )\n\n [microwave] => Array\n (\n [content] => 1\n )\n\n [dishwasher] => Array\n (\n [content] => 1\n )\n\n [safe] => Array\n (\n [content] => 1\n )\n\n)\n

    2023-05-14 20:20:42 Error .014717 [NOTICE] [15467] [T0] [86.146.73.146:52060-H3:92AEDF43475BF78F-524#APVH_domain.co.uk:443] [STDERR] Array\n(\n [0] => (194994, ‘food’, REVERSE(‘food’), 1, 1, 0, 0, 0, 0, 0, 0, 2, 0, ‘post’, ‘{\”product_cat\”:2}’, ”, 0, ”)\n [1] => (194994, ‘containers’, REVERSE(‘containers’), 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, ‘post’, ‘{\”product_cat\”:1}’, ”, 0, ”)\n [2] => (194994, ‘storage’, REVERSE(‘storage’), 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, ‘post’, ‘{\”product_cat\”:1}’, ”, 0, ”)\n [3] => (194994, ‘gp591’, REVERSE(‘gp591’), 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, ‘post’, ”, ”, 0, ”)\n [4] => (194994, ‘size’, REVERSE(‘size’), 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, ‘post’, ”, ”, 0, ”)\n [5] => (194994, ‘200’, REVERSE(‘200’), 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, ‘post’, ”, ”, 0, ”)\n [6] => (194994, ‘325’, REVERSE(‘325’), 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, ‘post’, ”, ”, 0, ”)\n [7] => (194994, ‘530’, REVERSE(‘530’), 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, ‘post’, ”, ”, 0, ”)\n [8] => (194994, ‘araven’, REVERSE(‘araven’), 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [9] => (194994, ‘abs’, REVERSE(‘abs’), 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [10] => (194994, ‘container’, REVERSE(‘container’), 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [11] => (194994, ‘blue’, REVERSE(‘blue’), 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [12] => (194994, ‘200mm’, REVERSE(‘200mm’), 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [13] => (194994, ‘airtight’, REVERSE(‘airtight’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [14] => (194994, ‘sized’, REVERSE(‘sized’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [15] => (194994, ‘supplied’, REVERSE(‘supplied’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [16] => (194994, ‘lids’, REVERSE(‘lids’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [17] => (194994, ‘set’, REVERSE(‘set’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [18] => (194994, ‘colour’, REVERSE(‘colour’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [19] => (194994, ‘coded’, REVERSE(‘coded’), 1, 0, 0, 0, 0, 0

    2023-05-14 20:20:42 Error .014743 [NOTICE] [15467] [T0] [86.146.73.146:52060-H3:92AEDF43475BF78F-524#APVH_domain.co.uk:443] [STDERR] , 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [20] => (194994, ‘clips’, REVERSE(‘clips’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [21] => (194994, ‘red’, REVERSE(‘red’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [22] => (194994, ‘yellow’, REVERSE(‘yellow’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [23] => (194994, ‘green’, REVERSE(‘green’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [24] => (194994, ‘permanent’, REVERSE(‘permanent’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [25] => (194994, ‘wipe’, REVERSE(‘wipe’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [26] => (194994, ‘clean’, REVERSE(‘clean’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [27] => (194994, ‘label’, REVERSE(‘label’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [28] => (194994, ‘identification’, REVERSE(‘identification’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [29] => (194994, ‘contents’, REVERSE(‘contents’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [30] => (194994, ‘easy’, REVERSE(‘easy’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [31] => (194994, ‘rotation’, REVERSE(‘rotation’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [32] => (194994, ‘temperature’, REVERSE(‘temperature’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [33] => (194994, ‘range’, REVERSE(‘range’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [34] => (194994, ’40..c’, REVERSE(’40..c’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [35] => (194994, ’95..c’, REVERSE(’95..c’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [36] => (194994, ‘microwave’, REVERSE(‘microwave’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [37] => (194994, ‘dishwasher’, REVERSE(‘dishwasher’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n [38] => (194994, ‘safe’, REVERSE(‘safe’), 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ‘post’, ”, ”, 0, ”)\n)\n

    Plugin Author Mikko Saari

    (@msaari)

    The SKU (“gp591”) is still indexed correctly as part of the custom fields. This is the last step in the Relevanssi indexing process; there isn’t anything else to check. If the SKU does not appear in the Relevanssi debugging view under the “Custom fields” for this post, the only explanation I can come up with now is that something else removes it after the indexing. As far as I can tell, Relevanssi is working correctly here.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘SKU search stopped working’ is closed to new replies.