Package org.apache.ofbiz.content.content
Class ContentKeywordIndex
- java.lang.Object
-
- org.apache.ofbiz.content.content.ContentKeywordIndex
-
public class ContentKeywordIndex extends java.lang.Object
Does indexing in preparation for a keyword search.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
module
-
Constructor Summary
Constructors Constructor Description ContentKeywordIndex()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addWeightedDataResourceString(GenericValue drView, int weight, java.util.List<java.lang.String> strings, Delegator delegator, GenericValue content)
static void
addWeightedKeywordSourceString(GenericValue value, java.lang.String fieldName, java.util.List<java.lang.String> strings)
static void
forceIndexKeywords(GenericValue content)
static void
indexKeywords(GenericValue content)
static void
indexKeywords(GenericValue content, boolean doAll)
-
-
-
Method Detail
-
forceIndexKeywords
public static void forceIndexKeywords(GenericValue content) throws GenericEntityException
- Throws:
GenericEntityException
-
indexKeywords
public static void indexKeywords(GenericValue content) throws GenericEntityException
- Throws:
GenericEntityException
-
indexKeywords
public static void indexKeywords(GenericValue content, boolean doAll) throws GenericEntityException
- Throws:
GenericEntityException
-
addWeightedDataResourceString
public static void addWeightedDataResourceString(GenericValue drView, int weight, java.util.List<java.lang.String> strings, Delegator delegator, GenericValue content)
-
addWeightedKeywordSourceString
public static void addWeightedKeywordSourceString(GenericValue value, java.lang.String fieldName, java.util.List<java.lang.String> strings)
-
-