Example usage for com.mongodb.client.model Projections metaTextScore

List of usage examples for com.mongodb.client.model Projections metaTextScore

Introduction

In this page you can find the example usage for com.mongodb.client.model Projections metaTextScore.

Prototype

public static Bson metaTextScore(final String fieldName) 

Source Link

Document

Creates a projection to the given field name of the textScore, for use with text queries.

Usage

From source file:mongodb.clients.percunia.mongo.Projection.java

License:Apache License

public static Bson metaTextScore(String field) {
    return Projections.metaTextScore(field);
}