Class VsmFields

  • All Implemented Interfaces:
    com.yahoo.config.ConfigInstance.Producer, Exportable, com.yahoo.vespa.config.search.vsm.VsmfieldsConfig.Producer

    public class VsmFields
    extends Derived
    implements com.yahoo.vespa.config.search.vsm.VsmfieldsConfig.Producer
    Vertical streaming matcher field specification
    • Constructor Summary

      Constructors 
      Constructor Description
      VsmFields​(Search search)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void derive​(com.yahoo.searchdefinition.derived.VsmFields.StreamingDocumentType document, SDField field)  
      protected void derive​(SDDocumentType document, Search search)
      Derives the content of this configuration.
      void getConfig​(com.yahoo.vespa.config.search.vsm.VsmfieldsConfig.Builder vsB)  
      java.lang.String getDerivedName()  
      com.yahoo.searchdefinition.derived.VsmFields.StreamingDocumentType getDocumentType​(java.lang.String name)
      Returns a streaming index, or null if there is none with this name
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VsmFields

        public VsmFields​(Search search)
    • Method Detail

      • derive

        protected void derive​(SDDocumentType document,
                              Search search)
        Description copied from class: Derived
        Derives the content of this configuration. This default calls derive(SDField) for each document field
        Overrides:
        derive in class Derived
      • derive

        protected void derive​(com.yahoo.searchdefinition.derived.VsmFields.StreamingDocumentType document,
                              SDField field)
      • getDocumentType

        public com.yahoo.searchdefinition.derived.VsmFields.StreamingDocumentType getDocumentType​(java.lang.String name)
        Returns a streaming index, or null if there is none with this name
      • getDerivedName

        public java.lang.String getDerivedName()
        Specified by:
        getDerivedName in class Derived
      • getConfig

        public void getConfig​(com.yahoo.vespa.config.search.vsm.VsmfieldsConfig.Builder vsB)
        Specified by:
        getConfig in interface com.yahoo.vespa.config.search.vsm.VsmfieldsConfig.Producer