Codota Logo
CmsSearchIndexSource.setIndexerClassName
Code IndexAdd Codota to your IDE (free)

How to use
setIndexerClassName
method
in
org.opencms.search.CmsSearchIndexSource

Best Java code snippets using org.opencms.search.CmsSearchIndexSource.setIndexerClassName (Showing top 1 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
origin: org.opencms/org.opencms.workplace.tools.searchindex

/**
 * Creates a dummy index source.<p>
 *
 * @return the dummy search index source
 */
private CmsSearchIndexSource createDummyIndexSource() {
  CmsSearchIndexSource result = new CmsSearchIndexSource();
  result.setName("default");
  result.setIndexerClassName("org.opencms.search.CmsVfsIndexer");
  result.addDocumentType("html");
  result.addDocumentType("generic");
  result.addDocumentType("pdf");
  // add search index source to config:
  m_searchManager.addSearchIndexSource(result);
  return result;
}
org.opencms.searchCmsSearchIndexSourcesetIndexerClassName

Javadoc

Sets the class name of the indexer.

An Exception is thrown to allow GUI-display of wrong input.

Popular methods of CmsSearchIndexSource

  • getDocumentTypes
    Returns the list of names (Strings) of the document types to be indexed.
  • getIndexer
    Returns the indexer.
  • getIndexerClassName
    Returns the class name of the indexer.
  • getName
    Returns the logical key/name of this search index source.
  • getResourcesNames
    Returns the list of VFS resources to be indexed.
  • getParams
    Returns the map of optional key/value parameters.
  • isContaining
    Returns true in case the given resource root path is contained in the list of configured resource na
  • isIndexing
    Returns true in case the given resource root path is contained in the list of configured resource na
  • <init>
    Creates a new CmsSearchIndexSource.
  • addDocumentType
    Adds the name of a document type.
  • removeDocumentType
    Removes the name of a document type from the list of configured types of this index source.
  • setName
    Sets the logical key/name of this search index source.
  • removeDocumentType,
  • setName

Popular in Java

  • Parsing JSON documents to java classes using gson
  • notifyDataSetChanged (ArrayAdapter)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • setRequestProperty (URLConnection)
    Sets the general request property. If a property with the key already exists, overwrite its value wi
  • InetAddress (java.net)
    This class represents an Internet Protocol (IP) address. An IP address is either a 32-bit or 128-bit
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • JTable (javax.swing)
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now