Class FieldBooster

    • Constructor Detail

      • FieldBooster

        public FieldBooster()
    • Method Detail

      • addTargetField

        public void addTargetField​(String fieldName)
      • setBoost

        public void setBoost​(float boost)
      • validate

        public void validate()
      • modifyDocument

        public void modifyDocument​(Individual individual,
                                   SearchInputDocument doc)
        Description copied from interface: DocumentModifier
        Use the rules contained within this class to modify this search document, according to the characteristics of this individual.
        Specified by:
        modifyDocument in interface DocumentModifier
        Parameters:
        individual - The individual that is being indexed. Will not be null.
        doc - The document as it stands so far. Will not be null.
      • shutdown

        public void shutdown()
        Description copied from interface: DocumentModifier
        Called to inform the DocumentModifier that the system is shutting down.
        Specified by:
        shutdown in interface DocumentModifier