Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.search.api.backend.indexing.resources.factory
Class ResolvedResourcesFactory

java.lang.Object
  extended by org.nuxeo.ecm.core.search.api.backend.indexing.resources.factory.ResolvedResourcesFactory

public class ResolvedResourcesFactory
extends java.lang.Object

Computes a ResolvedResources instance.

Here, the idea is to aggregate the configuration and the actual indexable data value from a list of prepared resources expected to be already associated with their configurations beforehand.

Author:
Julien Anguenot

Method Summary
static ResolvedResources computeAggregatedResolvedResourcesFrom(IndexableResources resources, boolean fulltext)
           
static java.lang.String extractAllForFullText(FulltextFieldDescriptor desc, IndexableResource resource, IndexableResources resources)
           
static java.lang.String extractAllForFullText(FulltextFieldDescriptor desc, IndexableResources resources)
           
static java.lang.String extractAllForFullText(java.lang.String resourceName, FulltextFieldDescriptor desc, IndexableResources resources)
           
static void reInitSearchService()
          Reinitializes the search service.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

reInitSearchService

public static void reInitSearchService()
Reinitializes the search service. To be used by unit tests only


extractAllForFullText

public static java.lang.String extractAllForFullText(java.lang.String resourceName,
                                                     FulltextFieldDescriptor desc,
                                                     IndexableResources resources)

extractAllForFullText

public static java.lang.String extractAllForFullText(FulltextFieldDescriptor desc,
                                                     IndexableResource resource,
                                                     IndexableResources resources)

extractAllForFullText

public static java.lang.String extractAllForFullText(FulltextFieldDescriptor desc,
                                                     IndexableResources resources)

computeAggregatedResolvedResourcesFrom

public static ResolvedResources computeAggregatedResolvedResourcesFrom(IndexableResources resources,
                                                                       boolean fulltext)
                                                                throws IndexingException
Throws:
IndexingException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.