search-ui icon indicating copy to clipboard operation
search-ui copied to clipboard

Workplace Search Connector Technical Preview feedback

Open yakhinvadim opened this issue 2 years ago • 15 comments

Thank you for using the Workplace Search connector for Search UI.

While the connector is in Technical Preview, we would appreciate feedback, suggestions, and bug reports.

Please use this issue to report any of the above.

yakhinvadim avatar Apr 18 '22 16:04 yakhinvadim

I have a situation where we want to use the salesforce connector from workplace search - however I simply want to use salesforce data in our app - not workplace search + OAuth flow.

Will this work? Can I just get salesforce data via the typical app search API?

lommaj avatar Jul 26 '22 15:07 lommaj

I don't know the answer off of the top of my head, but I am asking around to see if that's possible.

JasonStoltz avatar Jul 26 '22 15:07 JasonStoltz

thanks - this is a extremely common use case for salesforce data - and there are similar connectors for databases like postgres, since having your web app hit salesforce directly is not an ideal pattern.

lommaj avatar Jul 26 '22 16:07 lommaj

Even if it means not using the UI connector directly to the database - and just implementing the same interface on a server to handle communication between front end UI and backend search..

So headless app search UI connector <-> API implementing the same interface expected <-> elastic salesforce connector data

lommaj avatar Jul 26 '22 16:07 lommaj

just to follow up here - it does work as expected however...

there is no way join objects from the salesforce connector - so its basically moot for us.

lommaj avatar Sep 20 '22 20:09 lommaj

What version are you on? I know if in 8.4 and/or the upcoming 8.5 release we've been moving to make the data ingested by a connector decoupled from the Workplace Search product itself.

JasonStoltz avatar Sep 21 '22 12:09 JasonStoltz

Check these docs out, they may explain how to accomplish what you're aiming to do: https://www.elastic.co/guide/en/enterprise-search/current/engines.html#engines-create-from-content-source

JasonStoltz avatar Sep 21 '22 14:09 JasonStoltz

cc: @serenachou

danajuratoni avatar Sep 22 '22 14:09 danajuratoni

We actually just wanted to use your pre-built sync to grab data from our salesforce org to use on our public website.

We ended up just building a task to query and push it to the database ourselves. It seemed like we could configure the salesforce connector to grab objects but could not setup foreign key relationships on them.

lommaj avatar Nov 02 '22 18:11 lommaj

Hmm interesting @lommaj Would you be interested in sharing more details on the solution you ended up using, did you build the task in a specific language? Where do you host the logic that syncs?

serenachou avatar Nov 07 '22 15:11 serenachou

sure - we have a backend that runs on nestjs and you can bootstrap parts of that application on a lambda to do a task.

so we have crons that run in AWS to trigger that every few minutes.

we also have a salesforce change data queue that goes to AWS SQS and some things we process in real time using that queue.

so in these cases - we have a service we wrote in typescript to grab the objects we need and normalize for elastic. Which is nice because the salesforce connector only synced once ever 2 hours and we can do this more often.

lommaj avatar Nov 07 '22 15:11 lommaj

Hi,

We are implementing Workplace search in our app using Search-ui and are having a problem with private sources. Currently if we use the workplace search UI to search, we get Slack messages returned. These are not appearing through the workplace search integration in search-ui. Is that a bug or expected behaviour?

blackge avatar Apr 20 '23 10:04 blackge

private sources ... These are not appearing through the workplace search integration in search-ui. Is that a bug or expected behaviour?

Hi @blackge. Unfortunately, this is the expected behavior. Private sources are not implemented in the search API for Workplace Search, so Search UI does not receive results from those sources.

Searching private sources is available through the default search application only.

chriscressman avatar Apr 20 '23 16:04 chriscressman

Thanks @chriscressman. Do you have any plans to integrate this in the future?

blackge avatar Apr 20 '23 16:04 blackge

@blackge No, that change isn't currently on the roadmap. cc @serenachou

chriscressman avatar Apr 20 '23 16:04 chriscressman