Gravatar for sholmesby@hhogdev.com

Question by sholmesby, Oct 22, 2015 5:00 PM

Rest endpoint: No Results Returned from query

I have two dev environments setup, each pointing to their own databases, and each (I think) using similar configurations.

On one, I have indexed the content of the Sitecore master database. When I go to the site's /coveo/rest page, I get all results returned.

On the other, I have also indexed the content of the Sitecore master database. When I go to the site's /coveo/rest page, I get 0 results returned.

Looking at CES, I can see that on the first one (where results are returned), each of the documents has 'Effective Combined Permissions' set with Anonymous to 'Allowed'. On the other one, I do not have access to these documents (unless I forcefully grant myself access).

There is no custom user setup for Anonymous on the first instance….so how could this have got there?

Is the Anonymous access the reason why results are returned in one and not the other?

If not, why can't I retrieve results in the second environment?

Thanks

1 Reply
Gravatar for sholmesby@hhogdev.com

Answer by sholmesby, Oct 23, 2015 9:30 AM

It looks like the second index hadn't completed it's first intial rebuild yet.

We left that index to rebuild overnight, and now the documents have 'Anonymous' on the permissions. Now the /coveo/rest endpoint is returning results.

Ask a question