Does anyone have an example of how they implemented scoring using the Text
Search API? The documentation exposes ANDs and ORs in the search query with
a sort ASC/DESC type of sorting on a field, but that sorting is not super
helpful for most search applications. I imagine most any real use case here
needs scoring implemented. Any examples out there?

Thanks,
Phil

On Mon, Jun 11, 2012 at 1:59 AM, jon <[email protected]> wrote:

> Hi,
>
> For a given ScoredDocument, how do I get its "relevance score"? The
> official example app doesn't demonstrate scoring. This documentation
> implies that QueryOptions.Builder has a setScorer() method but it
> doesn't exist.
> https://developers.google.com/appengine/docs/java/javadoc/com/google/appengine/api/search/Query
>
> I can see that ScoredDocument has a getSortScores() method that
> returns a List. I'm not quite sure what this is. I will try it out and
> see what it does. In the meantime if someone has some info on scoring
> I'll be grateful if you can shed some light.
>
> Thanks,
> Jon
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to