Class FessAppService

java.lang.Object
org.codelibs.fess.app.service.FessAppService
Direct Known Subclasses:
BoostDocumentRuleService, DataConfigService, DuplicateHostService, FileConfigService, KeyMatchService, LabelTypeService, PathMappingService, RelatedContentService, RelatedQueryService, WebConfigService

public abstract class FessAppService extends Object
Abstract base class for Fess application services. This class provides common functionality and utilities for service implementations throughout the Fess search application.
  • Constructor Details

    • FessAppService

      public FessAppService()
      Default constructor.
  • Method Details

    • wrapQuery

      protected static String wrapQuery(String query)
      Wraps a query string with wildcard characters to enable partial matching. This method ensures that the query string is surrounded by asterisks (*) to support prefix and suffix matching in search operations.
      Parameters:
      query - the query string to wrap with wildcards
      Returns:
      the wrapped query string with leading and trailing asterisks