Forum Replies Created
- prakashreddy.imduriParticipant8 months, 2 weeks ago in reply to: Wrong Count Showing for to be Indexed #35425
no those are in stock, the orginal db we are using is showing correct count, this is just a clone of the same db, wordpress published count is fine, but solr showing wrong..
I checked the count its only 14k not 1.45L, missing out around 2.7L reports which should be shown as not indexed.- This reply was modified 8 months, 2 weeks ago by prakashreddy.imduri.
- This reply was modified 8 months, 2 weeks ago by prakashreddy.imduri.
prakashreddy.imduriParticipant8 months, 3 weeks ago in reply to: Index ACF Fields as Filter #35396Okay, I am using the repeater field, but having issues with the filter display, its not getting filtered based on the search results, the filter checkboxes remains same even if the returned search doesn’t have the data.
prakashreddy.imduriParticipant8 months, 3 weeks ago in reply to: Index ACF Fields as Filter #35394Sometimes, I would need around 500-1000 values also, so checkbox would create a long list inside the edit post page…
prakashreddy.imduriParticipant8 months, 3 weeks ago in reply to: Index ACF Fields as Filter #35393Instead of repeater ? or checkbox field within repeater as sub field ?
prakashreddy.imduriParticipant8 months, 3 weeks ago in reply to: Index ACF Fields as Filter #35391Issue is resolved where I was getting number 1, but I would need a way without using the repeater field, but achieving the same output with acf text field with comma separated values.
This is how I wanted to send when using comma seperated text fields in acf without repeater, and these should be shown as individual filters as it works with repeater.
prakashreddy.imduriParticipant8 months, 3 weeks ago in reply to: Index ACF Fields as Filter #35389I would need one add_filter, as I would be using text field for ACF with comma separated values, and send them to index as multiple fields same as acf does with repeaters.
It should create show as the same way if we are using a repeater.
Can we explode using comma and make it same was as a repeater field, any filter would be helpful. we have some limitation of using repeater as it creates multiple rows in db table.
prakashreddy.imduriParticipant8 months, 3 weeks ago in reply to: Index ACF Fields as Filter #35388I havent installed acf addon, seems it was causing the issue, also I re created new acf fields, now the data is sending to elastic fine. Now, its sending the label name instead of number 1.
prakashreddy.imduriParticipant8 months, 3 weeks ago in reply to: Index ACF Fields as Filter #35387ACF Repeater
prakashreddy.imduriParticipant8 months, 3 weeks ago in reply to: Index ACF Fields as Filter #35386I followed the steps to activate acf addon, and created repeater field with checkboxes, and using the filter type also as checkboxes.
When I am sending to Index. I am getting the value as 1, instead of actual label name
Added screenshot of database too
Can you help me figure out this issue?
prakashreddy.imduriParticipant8 months, 3 weeks ago in reply to: Index ACF Fields as Filter #35383Created the repeater field like this :
Getting Frontend like this :
Names arent showing up as category 1 and category 2
Backend settings: ACF Field and Repeated Field. Got only these 2 fields with the name I created for this filter
https://i.ibb.co/9WL5VcN/image.pngprakashreddy.imduriParticipant8 months, 3 weeks ago in reply to: Hook to return Modified Filter Name #35360Is it possible to hide the taxonomies inside the filters too ? Suppose if expand the Filter A , we have 10 taxonomies, can we remove one from them ? Any filter in use in the code ?
prakashreddy.imduriParticipant8 months, 3 weeks ago in reply to: Hook to return Modified Filter Name #35359Thank you, it worked
prakashreddy.imduriParticipant8 months, 3 weeks ago in reply to: Hook to return Modified Filter Name #35321Just one more thing, Any option to hide facets on some pages, if hiding not possible, any filter to add custom class to facets ?
prakashreddy.imduriParticipant8 months, 3 weeks ago in reply to: Hook to return Modified Filter Name #35312Thank you, working fine.
prakashreddy.imduriParticipant8 months, 4 weeks ago in reply to: Hook to return Modified Filter Name #35303Can you provide an example, got this filter :
add_filter( WPSOLR_Events::WPSOLR_FILTER_SEARCH_PAGE_FACET_NAME, [ $this, 'get_field_label', ], 10, 1 );
I am looking to rename a filter with name Geography to Country…