blob: b3157e2e1c60d482b614b3b196597a698842128a [file] [log] [blame]
# 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.
# Configures the Solr Indexer tool
# basic config properties
# a set of product types to ignore dumping
config.ignore.types=SomeProductType
# any met values to ignore indexing
config.ignore.values=TBD
# the URL path to Solr
config.solr.url=http://localhost:8983/solr
# the URL path to the File Manager
config.filemgr.url=http://localhost:9001
# Data access for the products
config.access.key=ProductURL
config.access.url=http://localhost:8080/cas-product/data?productID=[ProductId]
# Add a comma seperated list of values for keys
# that will go through metadata replacement.
# For example the ProductURL above will fill in
# the actual value for the [ProductId]
config.replacement.keys=ProductURL
# Must have map for unique id in Solr
map.CAS.ProductId=id
# Must map this field to enable deletion of Solr records by name
map.CAS.ProductName=ProductName
# Map from File Manager terminology into Solr
# index doc field terminology. Only mapped fields
# will be added to the Solr index.
map.MimeType=mimetype
map.CAS.ProductReceivedTime=receivedtime
map.FileSize=filesize
map.FileName=filename
# map.ProductURL=producturl
# Formatting of date fields can be specified for a
# field coming from Solr. Solr requires a specific
# format when you want to map to a date so one must
# specify the source format in the filemanager.
format.CAS.ProductReceivedTime=yyyy-MM-dd'T'HH:mm:ss.SSS