Package org.apache.ofbiz.content.content
Class ContentKeywordIndex
java.lang.Object
org.apache.ofbiz.content.content.ContentKeywordIndex
Does indexing in preparation for a keyword search.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addWeightedDataResourceString
(GenericValue drView, int weight, List<String> strings, Delegator delegator, GenericValue content) static void
addWeightedKeywordSourceString
(GenericValue value, String fieldName, List<String> strings) static void
forceIndexKeywords
(GenericValue content) static void
indexKeywords
(GenericValue content) static void
indexKeywords
(GenericValue content, boolean doAll)
-
Constructor Details
-
ContentKeywordIndex
public ContentKeywordIndex()
-
-
Method Details
-
forceIndexKeywords
- Throws:
GenericEntityException
-
indexKeywords
- Throws:
GenericEntityException
-
indexKeywords
- Throws:
GenericEntityException
-
addWeightedDataResourceString
public static void addWeightedDataResourceString(GenericValue drView, int weight, List<String> strings, Delegator delegator, GenericValue content) -
addWeightedKeywordSourceString
public static void addWeightedKeywordSourceString(GenericValue value, String fieldName, List<String> strings)
-