Forum Replies Created

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

    with fuzzy search turned on, I am not able to search post content [custom acf fields], and fuzzy search is needed too as I need search to also match common spelling mistakes, How can I make this both work ?
    As we want search to also look for keywords in title, content and custom acf fields which we indexed, and provide better matching results.

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

    okay, here is with the search query :
    {
    “from”: 0,
    “size”: 20,
    “track_total_hits”: true,
    “highlight”: {
    “require_field_match”: false,
    “pre_tags”: [“”],
    “post_tags”: [“<\/b>”],
    “fields”: {
    “title”: {
    “fragment_size”: 100,
    “number_of_fragments”: 1
    }
    }
    },
    “_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”: {
    “function_score”: {
    “functions”: [{
    “filter”: {
    “match”: {
    “product_visibility_str”: “featured”
    }
    },
    “weight”: 11
    }],
    “query”: {
    “bool”: {
    “must”: {
    “query_string”: {
    “fields”: [“product_visibility_t^11”, “publication_date_t^12”, “title^10”, “summary_t”, “figures_str”, “tables_str”, “contents_str”, “synopsis_str”, “content^0.5”],
    “query”: “(retail~1)”,
    “default_operator”: “AND”
    }
    },
    “filter”: {
    “bool”: {
    “must”: [{
    “bool”: {
    “must_not”: [{
    “terms”: {
    “post_status_s”: [“draft”, “pending”, “trash”, “future”, “private”, “auto-draft”]
    }
    }]
    }
    }, {
    “bool”: {
    “must_not”: [{
    “terms”: {
    “type”: [“shop_order”]
    }
    }]
    }
    },

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

    Here is the query :
    {
    “from”: 0,
    “size”: 20,
    “track_total_hits”: true,
    “sort”: [
    {
    “publication_date_dt”: {
    “order”: “desc”
    }
    }
    ],
    “_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”: {
    “function_score”: {
    “functions”: [
    {
    “filter”: {
    “match”: {
    “product_visibility_str”: “featured”
    }
    },
    “weight”: 10
    }
    ],
    “query”: {
    “bool”: {
    “must”: {
    “query_string”: {
    “fields”: [
    “title^10”,
    “product_visibility_t^10”,
    “publication_date_t^15”,
    “summary_t”,
    “figures_str”,
    “tables_str”,
    “contents_str”,
    “synopsis_str”,
    “content^0.5”
    ],
    “query”: “(*)”,
    “default_operator”: “AND”
    }
    },
    “filter”: {
    “bool”: {
    “must”: [
    {
    “bool”: {
    “must_not”: [
    {
    “terms”: {
    “post_status_s”: [
    “draft”,
    “pending”,
    “trash”,
    “future”,
    “private”,
    “auto-draft”
    ]
    }
    }
    ]
    }
    },
    {
    “bool”: {
    “must”: [
    {
    “bool”: {
    “must”: [
    {
    “terms”: {
    “non_flat_hierarchy_industry_str”: [
    “Technology”
    ]
    }
    }
    ]
    }
    },
    {
    “bool”: {
    “must”: {
    “term”: {
    “non_flat_hierarchy_industry_str”: “Technology”
    }
    }
    }
    }
    ]
    }
    },
    ……

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

    we are trying with exact text copied from custom field, also tried with all lowercase, we are using the field type as long text (_t) , as without this indexing was breaking if we use _str.

    prakashreddy.imduri
    Participant
    4 years, 1 month ago in reply to: Sort by two custom fields #31200

    using publication date also in boost
    Image image.png of

    prakashreddy.imduri
    Participant
    4 years, 1 month ago in reply to: Sort by two custom fields #31199

    Like this ? Still its not ordering by featured products, only ordering by custom date field. Can you guide me, what more settings to be done ? Featured products should come in date order, the followed by rest of products, in date order.
    Image pbc.png of
    Image fct2.png of

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

    I added boost for all custom fields , still not working. the results when trying to search within the content of custom field is empty with boost turned on.

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

    Hello, when we turn on boost, the search is not searching inside custom product fields content, which is working without boost enabled. Can you tell me what’s wrong with this setting:
    Image image.png of
    We indexed all the custom fields, whenever we search a keyword from custom field, its is working without boost functionality enabled. Fuzzy search and partial match is also turned off.

    prakashreddy.imduri
    Participant

    I tested the issue with original plugin files, still the same issue persists. Can you reproduce this issue and debug it?

    prakashreddy.imduri
    Participant

    We are using OR filter, so even if they don’t refresh when we check inside , still it will be not issue for us. As we want user to select multiple things inside a facet, and then narrow down the search using other type of filters.
    First filter A might be like : different type of accessories, which allows multiple selections without refreshing , the next filters will narrow down this filter A if user selects. other filters be like color, size etc, which will refresh the filter A on select.

    prakashreddy.imduri
    Participant
    4 years, 2 months ago in reply to: Pagination not working with custom search slug #31106

    How can I make this url work : /store/?s= to /store/search/?s=
    Can you pls guide

    prakashreddy.imduri
    Participant
    4 years, 2 months ago in reply to: Facets count not matching with total posts found #31104

    Turning on the hierarchy for facets is breaking the count. There are 9137 posts but facet is showing 3481 in filters, but still loading 9137 in results, Can you pls check this issue.
    Image image.png of
    Image image.png of

    prakashreddy.imduri
    Participant
    4 years, 2 months ago in reply to: Facets count not matching with total posts found #31103

    Is there any AI happening with country selections ? its showing some related countries which dont have any relation with that taxonomy in wordpress

    prakashreddy.imduri
    Participant
    4 years, 2 months ago in reply to: Facets count not matching with total posts found #31102

    tried replacing original files, still the same count issue.

    prakashreddy.imduri
    Participant
    4 years, 2 months ago in reply to: Facets count not matching with total posts found #31099

    from which logic, does this plugin revealing other facets and adding up count?
    Image image.png of

Viewing 15 posts - 121 through 135 (of 212 total)