WPSolr logo
Search
Close this search box.

Forum Replies Created

  • wowmatt
    Participant
    3 years, 1 month ago in reply to: WP Solr not respecting Toolset views filters #25247

    Hi
    How can I insert WPSolr filters? Are there shortcodes to use or blocks to use in the block editor?

    I can’t use Widgets as I don’t have a widget section on these pages.

    Thanks.

    wowmatt
    Participant
    3 years, 1 month ago in reply to: WP Solr not respecting Toolset views filters #25232

    Hi
    I have set up the query monitor plugin and enabled in WP Solr but the info doesn’t really make sense to me.
    As mentioned when I use filters they are ignored by WP Solr when the plugin is active.

    In my test I used the country filter on the site and set this to UK but it was ignored.

    From the “WPSolr Queries” in the debug menu the query was

    { "from": 0, "size": 10, "sort": [ { "title_s": { "order": "asc" } } ], "_source": [ "id", "PID", "type", "meta_type_s", "title", "numcomments", "comments", "displaydate", "displaymodified", "*categories_str", "author", "*post_thumbnail_href_str", "*post_href_str", "snippet_s" ], "query": { "bool": { "must": { "query_string": { "query": "text:(*)", "default_operator": "AND" } }, "filter": { "bool": { "must": [ { "terms": { "type": [ "post", "offer", "events", "network" ] } }, { "bool": { "must_not": [ { "terms": { "post_status_s": [ "draft", "pending", "trash", "future", "private", "auto-draft" ] } } ] } }, { "terms": { "type": [ "offer" ] } }, { "bool": { "must_not": [ { "terms": { "PID_i": [ 207 ] } } ] } }, { "bool": { "should": [ { "bool": { "must_not": [ { "bool": { "must": { "exists": { "field": "is_excluded_s" } } } } ] } }, { "terms": { "is_excluded_s": [ "n" ] } } ] } }, { "bool": { "must_not": [ { "terms": { "_id": [ "wpsolr_doc_id_attachment" ] } } ] } } ] } } } } }

    Also here is a screenshot:
    https://markuphero.com/share/fPlOWnYAWcVIShKT10y7

    Let me know if you need any more info or I should try something else?

    Thanks.

    wowmatt
    Participant
    3 years, 1 month ago in reply to: WP Solr not respecting Toolset views filters #25021

    Hey
    The pagination issue is on an archive.
    The filter boxes not working is on a view in a page.
    Thanks

    wowmatt
    Participant
    3 years, 2 months ago in reply to: WP Solr not respecting Toolset views filters #24978

    There are issues still with Pagination yeah.
    For example, I searched Acquirely only 1 result shows up, there should be no page numbers at the bottom yet there 13 (there isn’t even 13 pages when there is no search term added).
    https://markuphero.com/share/AUiUgTLvR9vOai76VSnO

    wowmatt
    Participant
    3 years, 2 months ago in reply to: WP Solr not respecting Toolset views filters #24972

    Hey
    Just tried this but no the exact same issue still :-/
    Here is the URL query in case anything looks different to you:
    ?wpv_view_count=46588&wpv_post_search=&wpv-country%5B%5D=us&wpv_filter_submit=Search&wpv_sort_orderby=field-wpcf-featured-offer&wpv_sort_orderby_as=string

    Search queries the results filter fine but as you can see from the above I have filtered by country “US” but its showing results that are not in the taxonomy for US.

    Any thoughts? Let me know if you would like a login so you can see the issue in real time.
    Thanks.

    wowmatt
    Participant
    3 years, 2 months ago in reply to: WP Solr not respecting Toolset views filters #24926

    Hey
    Just following up on this now I have a dev site setup.
    I have installed this beta version it does seem like view limits are being respected now.
    Filters however are not always being listened to and instead simply show all results and ignore the filters, are you aware of this issue?
    Search queries work but not filters.

    wowmatt
    Participant
    3 years, 2 months ago in reply to: Test index not working #24878

    Perfect thanks!

    wowmatt
    Participant
    3 years, 2 months ago in reply to: Test index not working #24876

    Ah okay fair enough, what would you recommend as a quick simple test server to setup for this?

    wowmatt
    Participant
    3 years, 5 months ago in reply to: WP Solr not respecting Toolset views filters #22870

    Hi

    I created a test page using a view: https://demo-toolset-cloudways-100k-products.wpsolr.com/test-page/

    As you can see the limit of 5 is not being respect (if you look at the view config) also the filters don’t work anymore either.

    If WP Solr is disabled all these things go back to working (at least on my site anyway).

    Cheers

    wowmatt
    Participant
    3 years, 5 months ago in reply to: WP Solr not respecting Toolset views filters #22867

    Hey

    I can’t really see how anything is setup as I have limited access.
    Could you give me admin access to take a look?

    Cheers

    wowmatt
    Participant
    3 years, 5 months ago in reply to: WP Solr not respecting Toolset views filters #22817

    Hey
    Sorry for the delay replying, I have been busy the past week. So I have tried the new version but still having some issues. 🙁

    Toolset views “limits” are still not respected.
    – The setting “limit and offset” e.g. if this is set to 4 it doesn’t listen to this and instead I think displays whatever the themes default is for a page amount of posts.

    Toolset archives
    – Doesn’t work on archives but does work on views.

    Toolset Filter boxes
    – Toolset filter boxes setup to filter the results on the front-end don’t filter the results.

    Views do seem to only show the correct post type now and listen to query filters.
    Any ideas?
    Thanks

    wowmatt
    Participant
    3 years, 5 months ago in reply to: WP Solr not respecting Toolset views filters #22500

    Hey there

    Just wanted to check in with you to see if you had managed to make any progress with this? As I am really keen to get this setup and working. 😊

    Thanks

    wowmatt
    Participant
    3 years, 5 months ago in reply to: WP Solr not respecting Toolset views filters #22497

    Ok thanks for the update, please keep me posted.

    Matt

    wowmatt
    Participant
    3 years, 5 months ago in reply to: WP Solr not respecting Toolset views filters #22493

    Hey

    I am using version 3.2.2.1

    Thanks
    Matt

    wowmatt
    Participant
    3 years, 5 months ago in reply to: WP Solr not respecting Toolset views filters #22491

    Hey,

    So most views have an option to limit the results, see the screenshot below. We use this on most of our views. Also the query filter set in Toolset views is also not being respected even on the new version:
    null

    The initial content selection does now work though with this new version but limits and query filter does not.

    Regarding checking if the search is being powered through WP Solr, I could not see any debug option in 2.1, I looked through all 2 options but couldn’t see anything? I did delete all the index though and the results were not empty for archives (they were for views), so seems like they are only working on views. To be honest if we can get it working correctly on one or the other (archives or views) I will be happy.

    Right now though:
    1) Archives are not being powered by WP Solr
    2) Views limits and queries are not being respected.

    Let me know what we can do.
    Cheers

Viewing 15 posts - 1 through 15 (of 22 total)