Forum Replies Created
- finalwebsitesParticipant4 years, 3 months ago in reply to: How to query the WPSOLR results in my theme? #16787
I don’t wanna use a different plugin for that (definitively not Toolset).
Is there no way to do that using PHP code? Any documentation for developers?finalwebsitesParticipant4 years, 3 months ago in reply to: Should this work with the premium version as well? #16647Hi,
this question was more common (sorry for trashing this topic). I will also create queries for posts on different places.
What kind of query / function or filter can I use?finalwebsitesParticipant4 years, 3 months ago in reply to: Should this work with the premium version as well? #16604Hi,
I checked the code form the Yith plugin and noticed they just using the get_posts() functions to get the suggestions for the the ajax search. I’ve built my own search widget using the same function. It looks like that my results are based on WPSOLR (it’s very fast, but my query is searching only inside the title and description. Where can I find some information about custom queries I can perform on the WPsolr search index?
ThanksfinalwebsitesParticipant4 years, 3 months ago in reply to: Should this work with the premium version as well? #16483Hi,
I have the same problem. We bought the Yith premium to get a better experience.
The problem is that the whole search mechanism is different from the free version.
In the free version only some arguments are used for the get_posts() function. For the premium version the use their own taxonomy and meta query arguments. My guess is that it’s the reason why WPSOLR doesn’t work. Any suggestions? My forst idea is to fork the free version and add the extra information to the list of post suggestions (like thumb, categories and price)finalwebsitesParticipantWhat is this link https://123blaasmuziek.nl/bezetting/saxofoon-kwartet/ ?
>>> This is an attribute archive.
According the backend there are more than 100 products with this attribute
finalwebsitesParticipant4 years, 6 months ago in reply to: Filters are gone and the archive page has huge whitespace on top #14735It’s working again thanks
finalwebsitesParticipant4 years, 6 months ago in reply to: Filters are gone and the archive page has huge whitespace on top #14730Indexing is working now.
Was the problem something that could happen more often? Or is it very rare?finalwebsitesParticipant4 years, 6 months ago in reply to: Filters are gone and the archive page has huge whitespace on top #14725And where do I change this? It worked before and also for the other site (similar to this one)
finalwebsitesParticipant4 years, 6 months ago in reply to: Filters are gone and the archive page has huge whitespace on top #14723This is what I get:
#! Deprecation: [types removal] The parameter include_type_name should be explicitly specified in get indices requests to prepare for 7.0. In 7.0 include_type_name will default to ‘false’, which means responses will omit the type name in mapping definitions.
{
“hafabra_index_new” : {
“aliases” : { },
“mappings” : {
“wpsolr_types” : {
“properties” : {
“PID” : {
“type” : “long”
},
“PID_i” : {
“type” : “long”
},
“author” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“author_s” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“bms_kleine_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“categories” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“content” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“date” : {
“type” : “date”
},
“displaydate” : {
“type” : “date”
},
“displaydate_dh_i” : {
“type” : “long”
},
“displaydate_dm_i” : {
“type” : “long”
},
“displaydate_ds_i” : {
“type” : “long”
},
“displaydate_dt” : {
“type” : “date”
},
“displaydate_dt_dh_i” : {
“type” : “long”
},
“displaydate_dt_dm_i” : {
“type” : “long”
},
“displaydate_dt_ds_i” : {
“type” : “long”
},
“displaydate_dt_md_i” : {
“type” : “long”
},
“displaydate_dt_wd_i” : {
“type” : “long”
},
“displaydate_dt_y_i” : {
“type” : “long”
},
“displaydate_dt_yd_i” : {
“type” : “long”
},
“displaydate_dt_ym_i” : {
“type” : “long”
},
“displaydate_dt_yw_i” : {
“type” : “long”
},
“displaydate_md_i” : {
“type” : “long”
},
“displaydate_wd_i” : {
“type” : “long”
},
“displaydate_y_i” : {
“type” : “long”
},
“displaydate_yd_i” : {
“type” : “long”
},
“displaydate_ym_i” : {
“type” : “long”
},
“displaydate_yw_i” : {
“type” : “long”
},
“displaymodified” : {
“type” : “date”
},
“displaymodified_dt” : {
“type” : “date”
},
“displaymodified_dt_dh_i” : {
“type” : “long”
},
“displaymodified_dt_dm_i” : {
“type” : “long”
},
“displaymodified_dt_ds_i” : {
“type” : “long”
},
“displaymodified_dt_md_i” : {
“type” : “long”
},
“displaymodified_dt_wd_i” : {
“type” : “long”
},
“displaymodified_dt_y_i” : {
“type” : “long”
},
“displaymodified_dt_yd_i” : {
“type” : “long”
},
“displaymodified_dt_ym_i” : {
“type” : “long”
},
“displaymodified_dt_yw_i” : {
“type” : “long”
},
“flat_hierarchy_pa_arrangeur_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“flat_hierarchy_pa_componist_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“flat_hierarchy_pa_instrument_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“flat_hierarchy_pa_moeilijkheidsgraad_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“flat_hierarchy_pa_periode_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“flat_hierarchy_pa_series_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“flat_hierarchy_pa_soort-bladmuziek_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“flat_hierarchy_pa_uitgever_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“flat_hierarchy_pa_vorm_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“flat_hierarchy_product_cat_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“id” : {
“type” : “long”
},
“inhoudsopgave_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“isbn_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“menu_order_i” : {
“type” : “long”
},
“meta_type_s” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“modified” : {
“type” : “date”
},
“modified_dh_i” : {
“type” : “long”
},
“modified_dm_i” : {
“type” : “long”
},
“modified_ds_i” : {
“type” : “long”
},
“modified_md_i” : {
“type” : “long”
},
“modified_wd_i” : {
“type” : “long”
},
“modified_y_i” : {
“type” : “long”
},
“modified_yd_i” : {
“type” : “long”
},
“modified_ym_i” : {
“type” : “long”
},
“modified_yw_i” : {
“type” : “long”
},
“non_flat_hierarchy_pa_arrangeur_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“non_flat_hierarchy_pa_componist_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“non_flat_hierarchy_pa_instrument_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“non_flat_hierarchy_pa_moeilijkheidsgraad_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“non_flat_hierarchy_pa_periode_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“non_flat_hierarchy_pa_series_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“non_flat_hierarchy_pa_soort-bladmuziek_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“non_flat_hierarchy_pa_uitgever_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“non_flat_hierarchy_pa_vorm_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“non_flat_hierarchy_product_cat_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“numcomments” : {
“type” : “long”
},
“pa_arrangeur_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“pa_componist_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“pa_instrument_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“pa_moeilijkheidsgraad_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“pa_periode_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“pa_series_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“pa_soort-bladmuziek_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“pa_uitgever_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“pa_vorm_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“permalink” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“post_author_s” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“post_status_s” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“product_cat_str” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“title” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“title_s” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
},
“type” : {
“type” : “text”,
“fields” : {
“keyword” : {
“type” : “keyword”,
“ignore_above” : 256
}
}
}
}
}
},
“settings” : {
“index” : {
“creation_date” : “1571732495550”,
“number_of_shards” : “5”,
“number_of_replicas” : “1”,
“uuid” : “kiWK_-vPSI-5HiH8L9uoiQ”,
“version” : {
“created” : “6080399”
},
“provided_name” : “hafabra_index_new”
}
}
}
}finalwebsitesParticipant4 years, 6 months ago in reply to: Filters are gone and the archive page has huge whitespace on top #14719I did this and after trying to index I get this error on the same page as before:
failed to parse field [id] of type [long] in document with id ‘pa_componist_24886’
Looks like some other problem 🙁
finalwebsitesParticipant4 years, 6 months ago in reply to: Filters are gone and the archive page has huge whitespace on top #14716The database table structure had only integer fields for the IDs.
So that can’t be possible.finalwebsitesParticipant4 years, 6 months ago in reply to: Filters are gone and the archive page has huge whitespace on top #14714Okay I did that, but I can’t re-index them I see this error on the screen:
failed to parse field [id] of type [long] in document with id ‘pa_componist_24886’
(the same like before)
finalwebsitesParticipant4 years, 6 months ago in reply to: Filters are gone and the archive page has huge whitespace on top #14710I can’t disable the Products post type on 2.2.
After page load the checkbox is checked again.finalwebsitesParticipant4 years, 6 months ago in reply to: Filters are gone and the archive page has huge whitespace on top #14704and how can I solve that?
finalwebsitesParticipant4 years, 6 months ago in reply to: Filters are gone and the archive page has huge whitespace on top #14700pa_arrangeur is a taxonomy (WC product attribute)
I don’t have those custom fields