Forum Replies Created
- prakashreddy.imduriParticipant1 year ago in reply to: Index Sale Price along with Regular Price #33257
I can only see this, for price and wpsolr_is_on_sale, not getting any other fields to index, even there is a product which is on sale.
I tried to index and the price_f , regular price was replaced with sales price in that array.
prakashreddy.imduriParticipant1 year ago in reply to: Issue with Weaviate Indexing #33225Hi,
We’ve created Weaviate cluster using weaviate.cloud, and here is our end point-
https://(removed).weaviate.network/v1/
and in Server url setting, we mentioned above url. Not sure if we can set AUTOSCHEMA_ENABLED: ‘false’ with weaviate.cloud console.Can you please check this issue.
prakashreddy.imduriParticipant1 year ago in reply to: Issue with Weaviate Indexing #33217Is this the version ?
Yes, its self hosted. Found this on the index endpoint /v1/meta
prakashreddy.imduriParticipant1 year ago in reply to: Issue with Weaviate Indexing #33215I am not sure how but this issue got fixed, indexing is running fine, but frontend search page isnt working
Can you tell me how to fix this ?prakashreddy.imduriParticipant1 year ago in reply to: _invokeAsArray needed on all pages ? Seems slowing down site #33159As seen in this code:
If I comment this, the search page is throwing some errors, and here is the data of server load
prakashreddy.imduriParticipant1 year, 1 month ago in reply to: Manually Send WC Product ids to Index #33093Yeah, I tried with date as NOW(), and its working.
prakashreddy.imduriParticipant1 year, 1 month ago in reply to: Manually Send WC Product ids to Index #33082we have some tasks which we do from the db in bulk, and we cant use the update post/ edit post wp backend, So in that case, we need to send that post to wpsolr, as we cant do complete re-indexing, as we have huge data.
prakashreddy.imduriParticipant1 year, 1 month ago in reply to: Manually Send WC Product ids to Index #33078I got his query:
What values should I change in db, to make it to this send your data column ? I tried changing post_modified to current date, but its working sometime and not working sometimes. Can you tell me, whats the best way, to send a post to this re-indexing ?
prakashreddy.imduriParticipant1 year, 1 month ago in reply to: Sort by location not working – Fatal Error #33062Okay, unsetting will not break the functionality of still using it as a filter with direct url I guess …
prakashreddy.imduriParticipant1 year, 1 month ago in reply to: Sort by location not working – Fatal Error #33058I was checking if this can be done by a hook? or php code
prakashreddy.imduriParticipant1 year, 1 month ago in reply to: Sort by location not working – Fatal Error #33016Okay, I got it, actually in our scenario, we have search url linked to a menu item, so we are having this issue..
And I dont want to show the location sort in widget, Any option to hide in frontend ?prakashreddy.imduriParticipant1 year, 1 month ago in reply to: Sort by location not working – Fatal Error #33007If you open the search page with ?s=, and directly use the sort by geolocation – ascending/descending , its a ajax call, and it wont ask for any location permission, just adds ‘wpsolr_sort=geolocation_acf_str_asc’ to the url, results remain unchanged here.
If you do search with some keyword and add then its asking for the location permission and adding it to url along with the wpsolr_sort, Now if you use any sorting related to location, when there is lat.long in url params, it sorts the results.Here are the settings we used:
prakashreddy.imduriParticipant1 year, 1 month ago in reply to: Sort by location not working – Fatal Error #33005yes, its secured and I am getting allow location poup, but only if I click on search.. If I use sort filters related to geolocation, the coordinates arent getting passed into url, neither its asking for any location permission access
prakashreddy.imduriParticipant1 year, 1 month ago in reply to: Sort by location not working – Fatal Error #33002Yes removed secondary sort,
Issue is with the dropdown sort filter,
as its not passing on the latitude and longitude into the url, Can you check this and see the url you are getting.. Just a norrmal search page ?s=, and adding the location sort is taking me to this page : ?s=&wpsolr_sort=geolocation_acf_str_asc
and throwing previous error.
Location is already allowed in the browser.
Or Can you provide me a hook, where I can pass the lat, long by default when no lat.long is present- This reply was modified 1 year, 1 month ago by prakashreddy.imduri.
prakashreddy.imduriParticipant1 year, 1 month ago in reply to: Sort by location not working – Fatal Error #32999I have added exit below 2 files :
in class-wpsolr-searchelasticsearchclient.php and class-wpsolr-abstractsearchclient.php,
but exit wasnt working in first php file, but exit was working in abstractsearchclient file, I found a code related to secondary sort not empty.
So, I turned off secondary sort which was set to most relevant, and now its working fine if we pass this url : ?s=&wpsolr_is_geo=y&wpsolr_sort=geolocation_acf_str_desc&wpsolr_lat=37.4580151&wpsolr_long=78.368766
Seems its a bug, secondary sort should work along geolocation. Isnt it ?
But when I click on sort filter in Sort Widget > Sort by geolocation desc or asc, no geo lat, long is getting passed
?s=&wpsolr_sort=geolocation_acf_str_asc
and its throwing same error [can’t sort on geo_point field without using specific sorting feature, like geo_distance]How can this be fixed now ? Location needs to be passed along with the sort widget also.. thats not happening right now
- This reply was modified 1 year, 1 month ago by prakashreddy.imduri.