Class DocumentsOnlyRankProfile

java.lang.Object
com.yahoo.schema.RankProfile
com.yahoo.schema.DocumentsOnlyRankProfile
All Implemented Interfaces:
Cloneable

public class DocumentsOnlyRankProfile extends RankProfile
A rank profile which ignores all calls made to it which may fail in a document only setting. This is used by the search definition parser when it is requested to parse documents only, to avoid having to check for this in every method which adds to the rank profile. (And why do we ever want to parse documents only? Because it is used when generating Java classes from documents, where the full application package may not be available.)
Author:
bratseth