only products show in search results

  • wpsolr
    Keymaster
    2 years, 6 months ago #27894

    On staging, the orders and coupons are retrieved from Elasticsearch (checked with the query monitor extension logs), and speed for both look similar.

    Bodav
    Participant
    2 years, 6 months ago #27895

    reindexing all data from scratch, maybe that will help..

    Bodav
    Participant
    2 years, 6 months ago #27896

    the only thing that can be changed from staging, is the custom fields being indexed..nothing other than that

    wpsolr
    Keymaster
    2 years, 6 months ago #27897

    Do you import some data from external sources?

    Bodav
    Participant
    2 years, 6 months ago #27898

    no. i never import anything

    Bodav
    Participant
    2 years, 6 months ago #27899

    on live server we have redis cache, on staging there’s no redis. can it be the issue?

    wpsolr
    Keymaster
    2 years, 6 months ago #27900

    Try without Redis cache on production, we’ll see.

    Bodav
    Participant
    2 years, 6 months ago #27901

    its finished reindexing all data and now its working!
    i was trying for 2 days reindexing just the coupons and posts and it didnt work
    how come only after full data reindex (100k posts) its working?

    wpsolr
    Keymaster
    2 years, 6 months ago #27902

    Did you check “Re-index all the data in place” while reindeing posts and coupons?

    Bodav
    Participant
    2 years, 6 months ago #27903

    yes i did, to reindex it from scratch, but only the coupons and post were selected..otherwise if i wouldnt choose that, it will not sync the data for those that are already synced

    Bodav
    Participant
    2 years, 6 months ago #27904

    also i still have this issue, pages showing only 20 pages. if i select 100 on top , i dont have paginations at all (pages in wp- admin)

    wpsolr
    Keymaster
    2 years, 6 months ago #27905

    If your page size is 500 rows, 20×500 = 10K rows, which is the default limit for Elasticsearch.

    Checkout: https://www.wpsolr.com/forums/topic/remove-10000-limit-when-using-elasticsearch/

    The easiest fix is not to browse all results, hence narrowing the search results with search keywords.

    Bodav
    Participant
    2 years, 6 months ago #27906

    i was sure it worked before…it can show 400 orders but not 50 pages? it makes sence?

    wpsolr
    Keymaster
    2 years, 6 months ago #27907

    If your page size is 400, you can browse up to 10K/400 = 25 pages maximum. Or you need to remove the 10K rows limit of Elasticsearch as explained in the other topic.

    Bodav
    Participant
    2 years, 6 months ago #27908

    coupons again sometimes work and sometimes not.
    https://snipboard.io/mp3cQB.jpg

Viewing 15 posts - 16 through 30 (of 32 total)

You must be logged in to reply to this topic.