| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one |
| or more contributor license agreements. See the NOTICE file |
| distributed with this work for additional information |
| regarding copyright ownership. The ASF licenses this file |
| to you under the Apache License, Version 2.0 (the |
| "License"); you may not use this file except in compliance |
| with the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, |
| software distributed under the License is distributed on an |
| "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| KIND, either express or implied. See the License for the |
| specific language governing permissions and limitations |
| under the License. |
| --> |
| <services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| xsi:noNamespaceSchemaLocation="http://ofbiz.apache.org/dtds/services.xsd"> |
| <description>Lucene Services</description> |
| <vendor></vendor> |
| <version>1.0</version> |
| |
| <service name="indexContentTree" auth="true" engine="java" validate="true" transaction-timeout="7200" |
| location="org.apache.ofbiz.content.search.SearchServices" invoke="indexContentTree"> |
| <description>Index content under publish point</description> |
| <attribute mode="IN" name="contentId" optional="false" type="String"/> |
| </service> |
| |
| <service name="indexProduct" engine="java" location="org.apache.ofbiz.content.search.SearchServices" invoke="indexProduct"> |
| <description>Submit for indexing the specified productId</description> |
| <attribute name="productId" mode="IN" type="String" optional="false"/> |
| </service> |
| |
| <!-- Services to locate and submit for indexing all products affected by an associated data change --> |
| <service name="indexProductsFromFeature" engine="java" location="org.apache.ofbiz.content.search.SearchServices" invoke="indexProductsFromFeature"> |
| <attribute name="productFeatureId" mode="IN" type="String" optional="false"/> |
| </service> |
| <service name="indexProductsFromProductAssoc" engine="java" location="org.apache.ofbiz.content.search.SearchServices" invoke="indexProductsFromProductAssoc"> |
| <attribute name="productId" mode="IN" type="String"/> |
| <attribute name="productIdTo" mode="IN" type="String"/> |
| </service> |
| <service name="indexProductsFromDataResource" engine="java" location="org.apache.ofbiz.content.search.SearchServices" invoke="indexProductsFromDataResource"> |
| <attribute name="dataResourceId" mode="IN" type="String"/> |
| </service> |
| <service name="indexProductsFromContent" engine="java" location="org.apache.ofbiz.content.search.SearchServices" invoke="indexProductsFromContent"> |
| <attribute name="contentId" mode="IN" type="String"/> |
| </service> |
| <service name="indexProductsFromCategory" engine="java" location="org.apache.ofbiz.content.search.SearchServices" invoke="indexProductsFromCategory"> |
| <attribute name="productCategoryId" mode="IN" type="String"/> |
| </service> |
| |
| </services> |