Gravatar for sathis.k.durairaj@accenture.com

Question by Sathis, Sep 7, 2015 10:29 AM

Coveo Document weightage

Is it possible to see the document weightage in the Coveo REST API json output?

I am setting custom weightage to the coveo document based on the different conditions. Just want to see final output weightage of the docuement in the result set.

1 Reply
Gravatar for mlaporte@coveo.com

Answer by Martin Laporte, Sep 7, 2015 10:31 AM

On each result there is a score property containing this value.

Gravatar for sathis.k.durairaj@accenture.com

Comment by Sathis, Sep 7, 2015 10:52 AM

Thanks for you response.

But the score information is coming only for groupby result query not for all query? Any idea?

Gravatar for mlaporte@coveo.com

Comment by Martin Laporte, Sep 7, 2015 10:59 AM

It should come up for all results. What version are you using?

Gravatar for sathis.k.durairaj@accenture.com

Comment by Sathis, Sep 7, 2015 11:45 AM

I am using .Net Front End REST API 12.0 Build 1242.0

Gravatar for mlaporte@coveo.com

Comment by Martin Laporte, Sep 7, 2015 11:58 AM

OK the REST API bundled with the .NET front-end is pretty old; it's now recommended to use the standalone version running in a separate service. I assume you're using Coveo for Sitecore; the latest versions are all using this now.

Ask a question