We are bringing a consolidated search experience at our customer place and successfully bought in Drive, Calendar & BigQuery data. The challenge is now that they maintain a very old Intranet portal based on Wordpress.
I know there is no built in connectors, so my thought was to get the Wordpress MySQL data streamed to a Cloud SQL or BigQuery and feed it as another Data Source to the same Search Agent. But the main challenge is that, how do I point back the search result back to the original source (Wordpress portal).
Does anyone have any suggestions or pointers in this direction ?
Sijohn
Hi @sijohnmathew,
Welcome to Google Cloud Community!
Wordpress is a great tool for making websites, but its data is stored in a different way than modern databases. To include Wordpress data in a single search, you need to index it correctly and make sure search results link to the right pages on the Wordpress site.
Here's a guide for potential solutions, along with a reference link.
1. Data Extraction & Transformation:
wp_posts
, wp_terms
, wp_users
, etc.mysql.connector
for data extraction.2. Data Loading:
BigQuery: BigQuery is a fully managed data warehouse that supports various methods for loading data, including the BigQuery load CLI command and APIs.
3. Search Indexing: When using a search agent, you'll need to configure it to index data from Cloud SQL or BigQuery. This usually involves defining the schema and setting up the appropriate indexing options.
4. Linking Back to WordPress:
Additional Tips: To ensure your search results remain up-to-date, consider implementing incremental updates to your database, which involves updating only the data that has changed since the last update. Additionally, optimizing indexing and search performance is essential; focus on refining your data structures and indexing strategies, and consider employing caching mechanisms to enhance response times.
I hope the above information is helpful.
User | Count |
---|---|
2 | |
2 | |
1 | |
1 | |
1 |