Forum Replies Created

  • prakashreddy.imduri
    Participant
    4 years, 1 month ago in reply to: Add Transient Cache for Performance #31299

    Transients are types of cached data enabled in WordPress by the Transients API.
    Something like this code :
    set_transient( $transient, $value, $expiration );
    get_transient ( $transient );

    prakashreddy.imduri
    Participant
    4 years, 1 month ago in reply to: Exclude posts based on custom acf field value #31294

    we have around 2L posts, so this wont work for us.

    prakashreddy.imduri
    Participant
    4 years, 1 month ago in reply to: Exclude posts based on custom acf field value #31292

    Can we create a custom field, and push data to that field, while indexing and use that to hide or show results. I want to set a create a field, if that meta_key isn’t available for a post id, and set the value to Yes.
    We have ACF meta_key , which is either es, No or its not available for 80% of posts, when meta_key is not present, I want to create field and set to Yes.
    Some sort of this code ?
    $doc2->setField(‘id’, 124);
    $doc2->setField(‘name’, ‘testdoc-2’);

    prakashreddy.imduri
    Participant
    4 years, 1 month ago in reply to: Exclude posts based on custom acf field value #31286

    Image image.png of
    Can’t we use this to hide products based on Value ‘NO’, regardless of if the same field exists with Yes, empty or even doesn’t exists for other posts ? Currently we have to use preselect Yes or No, for this to work, I want to hide those with No…

    prakashreddy.imduri
    Participant
    4 years, 1 month ago in reply to: Boost Search on Taxonomy Pages #31268

    Actually, we are transitioning from Solr, expecting all functionality would work with more enhancements.

    prakashreddy.imduri
    Participant
    4 years, 1 month ago in reply to: Boost Search on Taxonomy Pages #31266

    We found issue, after adding the boost , the query is retuning empty data. Here are the query monitor logs:
    With Boost
    Image with-boost.png of
    Without Boost
    Image without-boost.png of
    We definitely need to use boost, to give more priority to title if more keywords are matching.

    prakashreddy.imduri
    Participant
    4 years, 1 month ago in reply to: Boost Search on Taxonomy Pages #31263

    Is there anything to do with this option ?
    Image image.png of

    prakashreddy.imduri
    Participant
    4 years, 1 month ago in reply to: Boost Search on Taxonomy Pages #31260

    Here is the query with fuzzy :
    Image fuzzy-count.png of
    Here is the query without fuzzy :
    Image non-fuzzy-count.png of
    Any idea, where its going wrong?

    prakashreddy.imduri
    Participant
    4 years, 1 month ago in reply to: Boost Search on Taxonomy Pages #31248

    how can I fix issue with fuzzy search then ? as its not even able to match the first 3 words that are present in beginning of the title , which works fine with fuzzy turned off.

    prakashreddy.imduri
    Participant
    4 years, 1 month ago in reply to: Boost Search on Taxonomy Pages #31245

    Can you try with fuzzy search for same query?
    “query”: “(Kit~1 Blue~1)”,

    prakashreddy.imduri
    Participant
    4 years, 1 month ago in reply to: Boost Search on Taxonomy Pages #31243

    why there is ~ icon in our query, also we have boost for all fields, but still that boost isnt showing in the query .

    “fields”: [“title^11”, “product_visibility_str^11”, “summary_t”, “figures_str”, “tables_str”, “contents_str”, “synopsis_str”, “content^0.5”],

    prakashreddy.imduri
    Participant
    4 years, 1 month ago in reply to: Boost Search on Taxonomy Pages #31241

    Can you tell me, why this queries are different with fuzzy search activated. why there is ~ icon in our query, may be this is breaking the results ?
    “query”: “(Kit^1 Blue^1)”,
    “query”: (Diabetic~1 Macular~1 Edema~1 drugs~1)”,

    prakashreddy.imduri
    Participant
    4 years, 1 month ago in reply to: Boost Search on Taxonomy Pages #31239

    Even searching for the word Diabetic isn’t returning any results, after fuzzy turned on.

    prakashreddy.imduri
    Participant
    4 years, 1 month ago in reply to: Boost Search on Taxonomy Pages #31238

    Found similar issue with this search:
    “query”: {
    “function_score”: {
    “functions”: [{
    “filter”: {
    “match”: {
    “product_visibility_str”: “featured”
    }
    },
    “weight”: 11
    }],
    “query”: {
    “bool”: {
    “must”: {
    “query_string”: {
    “fields”: [“title^11”, “product_visibility_str^11”, “summary_t”, “figures_str”, “tables_str”, “contents_str”, “synopsis_str”, “content^0.5”],
    “query”: “(Diabetic~1 Macular~1 Edema~1 drugs~1)”,
    “default_operator”: “AND”
    }
    },

    There is a product with the title., but once fuzzy is turned on, this query returns no results . Can you check if anything wrong in this query?

    prakashreddy.imduri
    Participant
    4 years, 1 month ago in reply to: Boost Search on Taxonomy Pages #31237

    these all fields might contain the word retail :
    “title^10”, “summary_t”, “figures_str”, “tables_str”, “contents_str”, “synopsis_str”,

Viewing 15 posts - 106 through 120 (of 212 total)