Add Custom WPQuery to WPSOLR

  • leventekszabo
    Participant
    # 2 months, 1 week ago

    Hi!

    Levente

    May 8, 23:28 CEST

    Hi!

    We wrote a custom filter and shop page for our site in the past months.

    We’d like to use the WPSOLR Elastisearch database to query product based on product category, and a taxonomy + search based on tags.

    Is is possible to pass these queries to wpsolr and get back the product ID’s that are neeeded? If yes how so?

    Ideally, we’d “give” WPSOLR a complete WPQUERY and wpsolr returns the IDs of the products.

    Thanks!

    wpsolr
    Keymaster
    # 2 months, 1 week ago

    Do you mean you built some custom facets and would like to use them with WPSOLR?

    leventekszabo
    Participant
    # 2 months ago

    Yes, that is what I meant 🙂

    wpsolr
    Keymaster
    # 2 months ago

    It’s not possible. Facets are deeply linked to specific Elasticsearch queries.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.