Forum Replies Created
-
prakashreddy.imduriParticipant4 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.- This reply was modified 4 years, 1 month ago by prakashreddy.imduri.
prakashreddy.imduriParticipant4 years, 1 month ago in reply to: Boost Search on Taxonomy Pages #31206okay, 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.imduriParticipant4 years, 1 month ago in reply to: Boost Search on Taxonomy Pages #31204Here 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.imduriParticipant4 years, 1 month ago in reply to: Boost Search on Taxonomy Pages #31202we 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.imduriParticipant4 years, 1 month ago in reply to: Sort by two custom fields #31200using publication date also in boost
prakashreddy.imduriParticipant4 years, 1 month ago in reply to: Sort by two custom fields #31199Like 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.

prakashreddy.imduriParticipant4 years, 1 month ago in reply to: Boost Search on Taxonomy Pages #31196I 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.imduriParticipant4 years, 1 month ago in reply to: Boost Search on Taxonomy Pages #31189Hello, 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:

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.imduriParticipant4 years, 1 month ago in reply to: Filter not clearing : Issues with factes with same names #31148I tested the issue with original plugin files, still the same issue persists. Can you reproduce this issue and debug it?
prakashreddy.imduriParticipant4 years, 1 month ago in reply to: Stop facets from refreshing unless other facet is selected #31135We 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.imduriParticipant4 years, 2 months ago in reply to: Pagination not working with custom search slug #31106How can I make this url work : /store/?s= to /store/search/?s=
Can you pls guideprakashreddy.imduriParticipant4 years, 2 months ago in reply to: Facets count not matching with total posts found #31104Turning 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.

prakashreddy.imduriParticipant4 years, 2 months ago in reply to: Facets count not matching with total posts found #31103Is there any AI happening with country selections ? its showing some related countries which dont have any relation with that taxonomy in wordpress
prakashreddy.imduriParticipant4 years, 2 months ago in reply to: Facets count not matching with total posts found #31102tried replacing original files, still the same count issue.
prakashreddy.imduriParticipant4 years, 2 months ago in reply to: Facets count not matching with total posts found #31099from which logic, does this plugin revealing other facets and adding up count?
