Class StructuredStringAttributeDocumentBuilder

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

@Component public class StructuredStringAttributeDocumentBuilder extends AbstractAttributeValueDocumentBuilder<StructuredStringAttribute>
StructuredStringAttribute document builder : html tag 를 제거한 text 를 IndexConstants.TEXT 로 index 한다.
Author:
YounghoCho
  • Constructor Details

    • StructuredStringAttributeDocumentBuilder

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

    • getInstance

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