Anyone Successfully Setup ElasticSearch?

This forum is for all Flare issues related to the HTML5, WebHelp, WebHelp Plus, and Adobe Air Targets
Post Reply
headphone_jack
Propeller Head
Posts: 16
Joined: Fri Dec 22, 2017 1:49 am

Anyone Successfully Setup ElasticSearch?

Post by headphone_jack »

Has anyone actually managed to setup ElasticSearch yet? I'm trying to follow through the Madcap docs but the Installing Elasticsearch on a Remote Server section is incredibly vague in places.

I followed everything through but now I when try and publish my project I get:

Code: Select all

Publish failed: Invalid URI: The format of the URI could not be determined.
I think it has something to do with my ElasticSearch destination. The Search Destination URL is set as:

Code: Select all

10.0.170.39/Indices.db
I tried adding http:// to the start of the URL but then I end up with:

Code: Select all

Publish failed: Response status code does not indicate success: 404 (Not Found).
What is this Search Destination URL meant to be pointing at? We're a small company and don't have a specialist network admin.

Any ideas?
Ken Billing
Propeller Head
Posts: 55
Joined: Mon Dec 17, 2007 11:33 am

Re: Anyone Successfully Setup ElasticSearch?

Post by Ken Billing »

I was told by Support that it's the URL to the app you created in IIS for the Web.ContentServices folder. But since I haven't been able to get it to work yet either, take that for what it's worth. Hope it helps.
Ken Billing | Technical Writer
BlueCielo ECM Solutions
http://www.bluecieloecm.com

Image
allkindsosass
Jr. Propeller Head
Posts: 5
Joined: Thu May 03, 2018 8:47 am

Re: Anyone Successfully Setup ElasticSearch?

Post by allkindsosass »

Hi yes I JUST got it working after 3 days, 2hrs on the phone with support each day. The destination URL is where I failed for the most part.
In IIS Manager, under the Server > Sites > Default web site and the site you create in the last steps of the admittedly horrible documentation. Where it says set up an application pool and then gives you zero info on how to create it. Pretty awesome. So my server is wrgflare1 - a and the site that was created and worked was called portal, so the destination URL is http://wrgflare1 - a/portal. Don't put anything in the site map of the target you're trying to publish. We tried that and it failed.
I have to set it up on yet another server and I'm not excited. Please feel free to ask questions. I got all my projects to publish but one and I'm getting the error you're getting. Still trying to sort that one out.
allkindsosass
Jr. Propeller Head
Posts: 5
Joined: Thu May 03, 2018 8:47 am

Re: Anyone Successfully Setup ElasticSearch?

Post by allkindsosass »

Addendum!!

I just got my last project to publish successfully. Here's what I did, hopefully it helps someone.
So the project I had giving me the above error, when I looked at the log I saw that it kept failing at ....json - 27. So I went into MyProjects\GenDocs\Output\ljestes\New\InternalGeneralDocs\ContentServices and all the jsons were listed. Number 27 happened to be a big file, so I opened it in notepad to see if I could tell anything. Well I saw what doc it was. It wasn't important so I unpublished it and reran the publish and it worked! Publish complete!
Stupid flare.
Anyway, good luck!
Post Reply