Class OptionAttributeDocumentBuilder

java.lang.Object
com.easydesk.lucene.om.builder.AbstractAttributeValueDocumentBuilder<OptionAttribute>
com.easydesk.lucene.om.builder.OptionAttributeDocumentBuilder
All Implemented Interfaces:
IndexConstants, DocumentBuilder<OptionAttribute>

@Component public class OptionAttributeDocumentBuilder extends AbstractAttributeValueDocumentBuilder<OptionAttribute>
OptionAttribute document builder : 값을 항상 IndexConstants.KEY_WORD 로 추가한다.
Author:
YounghoCho
  • Constructor Details

    • OptionAttributeDocumentBuilder

      public OptionAttributeDocumentBuilder()
      Creates a new OptionAttributeDocumentBuilder object.
  • Method Details

    • getInstance

      public org.apache.lucene.document.Document getInstance(OptionAttribute om) throws Exception
      Parameters:
      om - OM 객체
      Returns:
      document, index 하지 않거나 index 에서 제거하여야 하면 null
      Throws:
      Exception - 오류