The dgraph --stat-brel flag creates a dynamic property on each record named DGraph.BinRelevanceRank. The value of this property reflects the relevance rank assigned to a record in full text search.

The Java ERec.getProperties() method and the .NET ERec.Properties property return a list of properties (PropertyMap object) associated with the record. At this point, calling the Java PropertyMap.get() method or the .NET PropertyMap object with the DGraph.BinRelevanceRank argument returns the value of the property.

The following code samples show how to retrieve the DGraph.BinRelevanceRank for a given record.




Copyright © Legal Notices