-
Notifications
You must be signed in to change notification settings - Fork 311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does carbonfield search work? #3900
Comments
@rstrah did you try what I suggested in the thread you opened in WP.org? Using the debugging add-on you will see that is being queried from Elasticsearch. If Carbon Fields does not use WP_Query and runs SQL queries directly into the database, you'll have to build that integration yourself. |
@felipeelia Hi.
How to correctly extract the meta key for elastic from a post? A small clarification, are these fields repeatable an unlimited number of times? Do I understand correctly that I need this line? |
It has been 3 days since more information was requested from you in this issue and we have not heard back. This issue is now marked as stale and will be closed in 3 days, but if you have more information to add then please comment and the issue will stay open. |
i have problem |
@rstrah I'm not sure how you are adding those fields in the Weighting Dashboard, but it should not have those symbols. They should look like |
It has been 3 days since more information was requested from you in this issue and we have not heard back. This issue is now marked as stale and will be closed in 3 days, but if you have more information to add then please comment and the issue will stay open. |
This issue has been automatically closed because there has been no response to our request for more information in the past 3 days. With only the information that is currently available, we are unable to take further action on this ticket. Please reach out if you have found or find the answer we need so that we can investigate further. When the information is ready, you can re-open this ticket to share it with us. |
I tried to add a search for carbonfields on the /wp-admin/admin.php?page=elasticpress-weighting page via “ADD FIELD” but it did not produce results.
Container::make('post_meta', __('Руководители', 'crb')) ->where('post_template', '=', 'management.php') ->where( 'current_user_role', 'IN', array( 'carbonfields_manager', 'administrator' ) ) ->add_fields( array( Field::make('complex', 'crb_manager_description', 'Руководитель') ->add_fields( array( Field::make('image', 'manager_photo', 'Фото')->set_value_type('url'), Field::make('text', 'manager_name', 'Фио'), Field::make('text', 'manager_role', 'Должность'), Field::make('rich_text', 'manager_bio', 'Биография'), Field::make('rich_text', 'manager_reception', 'Время приёма'), ) ) ) );
I tried adding meta fields "manager_name, _manager_name,__manager_name,_crb_manager_description,__crb_manager_description,crb_manager_description" to the search but to no avail.
Code of Conduct
The text was updated successfully, but these errors were encountered: