Gravatar for guest@coveo.com

Question by guest, Sep 23, 2015 2:25 PM

Coveo for sitecore instructions

In the installation instructions for Coveo for Sitecore here:

https://developers.coveo.com/display/public/SC201509/Installing+Coveo+for+Sitecore

Step 5 has:

5 . In the Configure the REST endpoint screen:

a. In Search API URI, enter:

i. For a local setup: http://localhost:8080/

ii. For a remote setup (unsecure): http://{CES server's FQDN or alias}/AdminService

iii. For a remote setup (secure): https://{CES server's FQDN or alias}/AdminService

Question: IS the value for ii. and iii. accurate with "AdminService" and no port or should it be the :8080 on the CES server similar to the i. step?

EDIT Followup:

Great, that clarifies that part.
Now in followup, I entered a URL on my client machine (sitecore machine) of http://mycesmachine:8080/rest/search

I did indeed get back a JSON response however it seems invalid. (see below) I have a "Coveo for Sitecore" license but when I entered this license in on the CES side it did not work (it knew it was not the proper license).

**Question: ** in this case must I enter a Coveo license (separate/different one) on the CES side?

Our client has not yet determined if they will use "Pro" or "Enterprise" thus I have none to use at present. The instructions about two separate? licenses being required? in this case are a bit ambiguous and confusing in this regard.

Response:

{
  "totalCount" : 0,
  "totalCountFiltered" : 0,
  "duration" : 46,
  "indexDuration" : 0,
  "requestDuration" : 31,
  "searchUid" : "97f19cf1-8f0b-4c09-bb1c-5ab5f41c49d4",
  "pipeline" : "default",
  "apiVersion" : 2,
  "exception" : {
    "code" : "SearchDisabled",
    "context" : "Your Coveo license has expired and no longer allows the use of this search interface."
  },
  "notifications" : [ ],
  "termsToHighlight" : { },
  "phrasesToHighlight" : { },
  "queryCorrections" : [ ],
  "groupByResults" : [ ],
  "results" : [ ]
}
1 Reply
Gravatar for slangevin@coveo.com

Answer by Simon, Sep 23, 2015 2:44 PM

Hi, this seems like a typo in the documentation. We will correct that. In the meantime, this would be the correct setup:

i. For a local setup: http://localhost:8080/

ii. For a remote setup: http://{Server hosting the REST Api}:8080/

If you need to, port 8080 can be changed in the config.yml of the Search API installation folder:

C:\Program Files\Coveo Search API 8\config.yml

Cheers,
Simon

Gravatar for guest@coveo.com

Comment by guest, Sep 23, 2015 3:27 PM

Can you comment regarding the related license issue here please?

Gravatar for slangevin@coveo.com

Comment by Simon, Sep 23, 2015 5:16 PM

Hum, I am not entirely sure what license issue you are mentioning.

Gravatar for jflheureux@coveo.com

Comment by Jean-François L'Heureux, Sep 23, 2015 5:45 PM

Hi,

You had to enter the Coveo for Sitecore license in the post installation wizard of the Coveo for Sitecore package. If you did it, the Coveo for Sitecore license was saved in your Sitecore instance but not sent to CES yet.

The CES license is synchronized to CES at the beginning of each indexing operation. You then need to rebuild your Sitecore indexes at least once to set the CES license and begin using the Coveo Search API REST endpoint.

Tell me if it work for you.

Thanks,

Jeff

Gravatar for guest@coveo.com

Comment by guest, Sep 24, 2015 8:18 AM

@jfheureux - thanks, that explains a lot - could not find anything like that information in the documentation. I will try that once I get an issue with the cert files resolved.

Gravatar for guest@coveo.com

Comment by guest, Sep 24, 2015 3:41 PM

I am unable to index, I get an error, I believe it is a configuration issue somewhere but I am unable to discover where/why it gets the error after checking everything multiple times including copy of the cert. I will open anther issue for this as it is beyond the scope of this question.

Ask a question