swiftype / swiftype-wordpress

Elastic Site Search (Swiftype) Wordpress Plugin for full-text search
https://swiftype.com/solutions/wordpress-search
Apache License 2.0
26 stars 17 forks source link

Plugin integration for custom field data #12

Closed sc0ttkclark closed 11 years ago

sc0ttkclark commented 11 years ago

As an author of a content type and fields plugin for WordPress, I would like to be able to communicate with swiftype that there are additional fields to consider for content. Is there an API for this or any hooks that plugin developers can use?

qhoxie commented 11 years ago

Hi Scott,

We are starting to work more on adding support for custom types and fields. Pods is high on our list of plugins to support. We don't currently have an API for the WordPress plugin (we have a general API), but the primary objective going forward is to be flexible in our support of customizations.

Would it be OK for me to reach out to you over email if I have questions regarding a Pods integration?

Best, Quin

sc0ttkclark commented 11 years ago

Sure, scott@pods.io

sc0ttkclark commented 11 years ago

Spoke with you briefly today, wanted to follow up.

This feature is now available through the 'swiftype_document_builder' filter, which lets you add additional metadata to a search. That can be found here: https://swiftype.com/documentation/tutorials/customizing_wordpress_search