Remove trailing whitespace throughout project
This commit is contained in:
parent
74b8f16aa2
commit
bd6140a8cc
1753 changed files with 24077 additions and 24077 deletions
|
@ -40,4 +40,4 @@
|
|||
<outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
|
||||
</dependencySet>
|
||||
</dependencySets>
|
||||
</assembly>
|
||||
</assembly>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# This file specifies the structure of the Vitro application: which modules
|
||||
# are used, and what parameters they require.
|
||||
#
|
||||
# Most Vitro installations will not need to modify this file.
|
||||
# Most Vitro installations will not need to modify this file.
|
||||
#
|
||||
# For most installations, only the settings in the runtime.properties file will
|
||||
# be changed.
|
||||
|
@ -15,11 +15,11 @@
|
|||
|
||||
# ----------------------------
|
||||
#
|
||||
# Describe the application by its implementing class and by references to the
|
||||
# Describe the application by its implementing class and by references to the
|
||||
# modules it uses.
|
||||
#
|
||||
#
|
||||
|
||||
:application
|
||||
:application
|
||||
a vitroWebapp:application.ApplicationImpl ,
|
||||
vitroWebapp:modules.Application ;
|
||||
:hasSearchEngine :instrumentedSearchEngineWrapper ;
|
||||
|
@ -32,7 +32,7 @@
|
|||
|
||||
# ----------------------------
|
||||
#
|
||||
# Image processor module:
|
||||
# Image processor module:
|
||||
#
|
||||
|
||||
:iioImageProcessor
|
||||
|
@ -41,25 +41,25 @@
|
|||
|
||||
# ----------------------------
|
||||
#
|
||||
# File storage module:
|
||||
# File storage module:
|
||||
# The PairTree-inspired implementation is the only standard option.
|
||||
# It requires no parameters.
|
||||
#
|
||||
|
||||
:ptiFileStorage
|
||||
:ptiFileStorage
|
||||
a vitroWebapp:filestorage.impl.FileStorageImplWrapper ,
|
||||
vitroWebapp:modules.fileStorage.FileStorage .
|
||||
|
||||
|
||||
# ----------------------------
|
||||
#
|
||||
# Search engine module:
|
||||
# Search engine module:
|
||||
# The Solr-based implementation is the only standard option, but it can be
|
||||
# wrapped in an "instrumented" wrapper, which provides additional logging
|
||||
# wrapped in an "instrumented" wrapper, which provides additional logging
|
||||
# and more rigorous life-cycle checking.
|
||||
#
|
||||
|
||||
:instrumentedSearchEngineWrapper
|
||||
a vitroWebapp:searchengine.InstrumentedSearchEngineWrapper ,
|
||||
:instrumentedSearchEngineWrapper
|
||||
a vitroWebapp:searchengine.InstrumentedSearchEngineWrapper ,
|
||||
vitroWebapp:modules.searchEngine.SearchEngine ;
|
||||
:wraps :solrSearchEngine .
|
||||
|
||||
|
@ -69,8 +69,8 @@
|
|||
|
||||
# ----------------------------
|
||||
#
|
||||
# Search indexer module:
|
||||
# There is only one standard implementation. You must specify the number of
|
||||
# Search indexer module:
|
||||
# There is only one standard implementation. You must specify the number of
|
||||
# worker threads in the thread pool.
|
||||
#
|
||||
|
||||
|
@ -78,14 +78,14 @@
|
|||
a vitroWebapp:searchindex.SearchIndexerImpl ,
|
||||
vitroWebapp:modules.searchIndexer.SearchIndexer ;
|
||||
:threadPoolSize "10" .
|
||||
|
||||
|
||||
# ----------------------------
|
||||
#
|
||||
# Content triples source module: holds data contents
|
||||
# The SDB-based implementation is the default option. It reads its parameters
|
||||
# from the runtime.properties file, for backward compatibility.
|
||||
#
|
||||
# Other implementations are based on a local TDB instance, a "standard" SPARQL
|
||||
# Other implementations are based on a local TDB instance, a "standard" SPARQL
|
||||
# endpoint, or a Virtuoso endpoint, with parameters as shown.
|
||||
#
|
||||
|
||||
|
@ -104,7 +104,7 @@
|
|||
# vitroWebapp:modules.tripleSource.ContentTripleSource ;
|
||||
# # The URI of the SPARQL endpoint for your triple-store.
|
||||
# :hasEndpointURI "PUT_YOUR_SPARQL_ENDPOINT_URI_HERE" ;
|
||||
# # The URI to use for SPARQL UPDATE calls against your triple-store.
|
||||
# # The URI to use for SPARQL UPDATE calls against your triple-store.
|
||||
# :hasUpdateEndpointURI "PUT_THE UPDATE_URI_HERE" .
|
||||
|
||||
#:virtuosoContentTripleSource
|
||||
|
@ -112,7 +112,7 @@
|
|||
# vitroWebapp:modules.tripleSource.ContentTripleSource ;
|
||||
# # The URI of Virtuoso's SPARQL endpoint.
|
||||
# :hasEndpointURI "PUT_YOUR_VIRTUOSO_URI_HERE" ;
|
||||
# # The URI to use for SPARQL UPDATE calls against Virtuoso.
|
||||
# # The URI to use for SPARQL UPDATE calls against Virtuoso.
|
||||
# :hasUpdateEndpointURI "PUT_THE UPDATE_URI_HERE" .
|
||||
|
||||
|
||||
|
@ -126,10 +126,10 @@
|
|||
:tdbConfigurationTripleSource
|
||||
a vitroWebapp:triplesource.impl.tdb.ConfigurationTripleSourceTDB ,
|
||||
vitroWebapp:modules.tripleSource.ConfigurationTripleSource .
|
||||
|
||||
|
||||
# ----------------------------
|
||||
#
|
||||
# TBox reasoner module:
|
||||
# TBox reasoner module:
|
||||
# The JFact-based implementation is the only standard option.
|
||||
# It requires no parameters.
|
||||
#
|
||||
|
|
|
@ -3,17 +3,17 @@
|
|||
#
|
||||
# Runtime properties for developer mode.
|
||||
#
|
||||
# If the developer.properties file is present in the config sub-directory of
|
||||
# your VIVO home directory, it will be loaded as VIVO starts up, taking effect
|
||||
# immediately.
|
||||
# If the developer.properties file is present in the config sub-directory of
|
||||
# your VIVO home directory, it will be loaded as VIVO starts up, taking effect
|
||||
# immediately.
|
||||
#
|
||||
# Each of these properties can be set or changed while VIVO is running, but it
|
||||
# Each of these properties can be set or changed while VIVO is running, but it
|
||||
# can be convenient to set them in advance.
|
||||
#
|
||||
# WARNING: Some of these options can seriously degrade performance. They should
|
||||
# not be enabled in a production instance of VIVO.
|
||||
#
|
||||
# For more information go to
|
||||
# For more information go to
|
||||
# https://wiki.duraspace.org/display/VIVO/The+Developer+Panel
|
||||
#
|
||||
# -----------------------------------------------------------------------------
|
||||
|
@ -28,7 +28,7 @@
|
|||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Freemarker
|
||||
# Freemarker
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# developer.defeatFreemarkerCache = false
|
||||
|
@ -36,7 +36,7 @@
|
|||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Page configuration
|
||||
# Page configuration
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# developer.pageContents.logCustomListView = false
|
||||
|
@ -44,7 +44,7 @@
|
|||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
# Internationalization
|
||||
# Internationalization
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
# developer.i18n.defeatCache = false
|
||||
|
|
|
@ -4,25 +4,25 @@
|
|||
#
|
||||
# This file is provided as example.runtime.properties.
|
||||
#
|
||||
# Save a copy of this file as runtime.properties in your Vitro home directory,
|
||||
# Save a copy of this file as runtime.properties in your Vitro home directory,
|
||||
# and edit the properties as needed for your installation.
|
||||
#
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
#
|
||||
# This namespace will be used when generating URIs for objects created in the
|
||||
# editor. In order to serve linked data, the default namespace must be composed
|
||||
#
|
||||
# This namespace will be used when generating URIs for objects created in the
|
||||
# editor. In order to serve linked data, the default namespace must be composed
|
||||
# as follows (optional elements in parentheses):
|
||||
#
|
||||
# scheme + server_name (+ port) (+ servlet_context) + "/individual/"
|
||||
#
|
||||
#
|
||||
# For example, Cornell's default namespace is:
|
||||
#
|
||||
# http://vivo.cornell.edu/individual/
|
||||
#
|
||||
Vitro.defaultNamespace = http://vivo.mydomain.edu/individual/
|
||||
|
||||
#
|
||||
#
|
||||
# URL of Solr context used in local Vitro search. This will usually consist of:
|
||||
# scheme + server_name + port + vitro_webapp_name + "solr"
|
||||
# In the standard installation, the Solr context will be on the same server as Vitro,
|
||||
|
@ -33,7 +33,7 @@ Vitro.defaultNamespace = http://vivo.mydomain.edu/individual/
|
|||
vitro.local.solr.url = http://localhost:8080/vitrosolr
|
||||
|
||||
#
|
||||
# Email parameters which VIVO can use to send mail. If these are left empty,
|
||||
# Email parameters which VIVO can use to send mail. If these are left empty,
|
||||
# the "Contact Us" form will be disabled and users will not be notified of
|
||||
# changes to their accounts.
|
||||
#
|
||||
|
@ -41,8 +41,8 @@ email.smtpHost = smtp.my.domain.edu
|
|||
email.replyTo = vivoAdmin@my.domain.edu
|
||||
|
||||
#
|
||||
# The basic parameters for a MySQL database connection. Change the end of the
|
||||
# URL to reflect your database name (if it is not "vitro"). Change the username
|
||||
# The basic parameters for a MySQL database connection. Change the end of the
|
||||
# URL to reflect your database name (if it is not "vitro"). Change the username
|
||||
# and password to match the authorized user you created in MySQL.
|
||||
#
|
||||
VitroConnection.DataSource.url = jdbc:mysql://localhost/vitro
|
||||
|
@ -63,7 +63,7 @@ VitroConnection.DataSource.pool.maxActive = 40
|
|||
VitroConnection.DataSource.pool.maxIdle = 10
|
||||
|
||||
#
|
||||
# Parameters to change in order to use VIVO with a database other than
|
||||
# Parameters to change in order to use VIVO with a database other than
|
||||
# MySQL.
|
||||
#
|
||||
VitroConnection.DataSource.dbtype = MySQL
|
||||
|
@ -71,8 +71,8 @@ VitroConnection.DataSource.driver = com.mysql.jdbc.Driver
|
|||
VitroConnection.DataSource.validationQuery = SELECT 1
|
||||
|
||||
#
|
||||
# The email address of the root user for the VIVO application. The password
|
||||
# for this user is initially set to "rootPassword", but you will be asked to
|
||||
# The email address of the root user for the VIVO application. The password
|
||||
# for this user is initially set to "rootPassword", but you will be asked to
|
||||
# change the password the first time you log in.
|
||||
#
|
||||
rootUser.emailAddress = root@myDomain.com
|
||||
|
@ -94,7 +94,7 @@ argon2.memory = 1024
|
|||
argon2.time = 1000
|
||||
|
||||
#
|
||||
# How is a logged-in user associated with a particular Individual? One way is
|
||||
# How is a logged-in user associated with a particular Individual? One way is
|
||||
# for the Individual to have a property whose value is the username of the user.
|
||||
# This is the name of that property.
|
||||
#
|
||||
|
@ -104,11 +104,11 @@ selfEditing.idMatchingProperty = http://vitro.mydomain.edu/ns#networkId
|
|||
# If an external authentication system like Shibboleth or CUWebAuth is to be
|
||||
# used, these properties say how the login button should be labeled, and which
|
||||
# HTTP header will contain the user ID from the authentication system. If such
|
||||
# as system is not to be used, leave these commented out. Consult the
|
||||
# installation instructions for more details.
|
||||
# as system is not to be used, leave these commented out. Consult the
|
||||
# installation instructions for more details.
|
||||
#
|
||||
#externalAuth.buttonText = Log in using BearCat Shibboleth
|
||||
#externalAuth.netIdHeaderName = remote_userID
|
||||
#externalAuth.netIdHeaderName = remote_userID
|
||||
|
||||
#
|
||||
# Types of individual for which we can create proxy editors.
|
||||
|
@ -116,39 +116,39 @@ selfEditing.idMatchingProperty = http://vitro.mydomain.edu/ns#networkId
|
|||
proxy.eligibleTypeList = http://www.w3.org/2002/07/owl#Thing
|
||||
|
||||
#
|
||||
# Show only the most appropriate data values based on the Accept-Language
|
||||
# Show only the most appropriate data values based on the Accept-Language
|
||||
# header supplied by the browser. Default is false if not set.
|
||||
#
|
||||
# RDFService.languageFilter = true
|
||||
|
||||
#
|
||||
# Tell VIVO to generate HTTP headers on its responses to facilitate caching the
|
||||
# profile pages that it creates.
|
||||
# Tell VIVO to generate HTTP headers on its responses to facilitate caching the
|
||||
# profile pages that it creates.
|
||||
#
|
||||
# For more information, see
|
||||
# For more information, see
|
||||
# https://wiki.duraspace.org/display/VIVO/Use+HTTP+caching+to+improve+performance
|
||||
#
|
||||
# Developers will likely want to leave caching disabled, since a change to a
|
||||
# Freemarker template or to a Java class would not cause the page to be
|
||||
# Freemarker template or to a Java class would not cause the page to be
|
||||
# considered stale.
|
||||
#
|
||||
# http.createCacheHeaders = true
|
||||
|
||||
#
|
||||
# Force VIVO to use a specific language or Locale instead of those
|
||||
# specified by the browser. This affects RDF data retrieved from the model,
|
||||
# Force VIVO to use a specific language or Locale instead of those
|
||||
# specified by the browser. This affects RDF data retrieved from the model,
|
||||
# if RDFService.languageFilter is true. This also affects the text of pages
|
||||
# that have been modified to support multiple languages.
|
||||
# that have been modified to support multiple languages.
|
||||
#
|
||||
# languages.forceLocale = en_US
|
||||
|
||||
#
|
||||
# A list of supported languages or Locales that the user may choose to
|
||||
# use instead of the one specified by the browser. Selection images must
|
||||
# be available in the i18n/images directory of the theme. This affects
|
||||
# RDF data retrieved from the model, if RDFService.languageFilter is true.
|
||||
# This also affects the text of pages that have been modified to support
|
||||
# multiple languages.
|
||||
# be available in the i18n/images directory of the theme. This affects
|
||||
# RDF data retrieved from the model, if RDFService.languageFilter is true.
|
||||
# This also affects the text of pages that have been modified to support
|
||||
# multiple languages.
|
||||
#
|
||||
# This should not be used with languages.forceLocale, which will override it.
|
||||
#
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $This file is distributed under the terms of the license in LICENSE$
|
||||
# $This file is distributed under the terms of the license in LICENSE$
|
||||
|
||||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
||||
@prefix auth: <http://vitro.mannlib.cornell.edu/ns/vitro/authorization#> .
|
||||
|
@ -7,13 +7,13 @@
|
|||
@prefix editByRole: <java:edu.cornell.mannlib.vitro.webapp.auth.permissions.EditByRolePermission#> .
|
||||
@prefix publishByRole: <java:edu.cornell.mannlib.vitro.webapp.auth.permissions.PublishByRolePermission#> .
|
||||
|
||||
auth:ADMIN
|
||||
auth:ADMIN
|
||||
a auth:PermissionSet ;
|
||||
rdfs:label "Site Admin" ;
|
||||
|
||||
|
||||
# ADMIN-only permissions
|
||||
auth:hasPermission simplePermission:AccessSpecialDataModels ;
|
||||
auth:hasPermission simplePermission:EnableDeveloperPanel ;
|
||||
auth:hasPermission simplePermission:EnableDeveloperPanel ;
|
||||
auth:hasPermission simplePermission:LoginDuringMaintenance ;
|
||||
auth:hasPermission simplePermission:ManageMenus ;
|
||||
auth:hasPermission simplePermission:ManageProxies ;
|
||||
|
@ -25,20 +25,20 @@ auth:ADMIN
|
|||
auth:hasPermission simplePermission:UseAdvancedDataToolsPages ;
|
||||
auth:hasPermission simplePermission:UseMiscellaneousAdminPages ;
|
||||
auth:hasPermission simplePermission:UseSparqlQueryPage ;
|
||||
auth:hasPermission simplePermission:PageViewableAdmin ;
|
||||
|
||||
# Uncomment the following permission line to enable the SPARQL update API.
|
||||
# Before enabling, be sure that the URL api/sparqlUpdate is secured by HTTPS,
|
||||
# so passwords will not be sent in clear text.
|
||||
#auth:hasPermission simplePermission:UseSparqlUpdateApi ;
|
||||
|
||||
auth:hasPermission simplePermission:PageViewableAdmin ;
|
||||
|
||||
# Uncomment the following permission line to enable the SPARQL update API.
|
||||
# Before enabling, be sure that the URL api/sparqlUpdate is secured by HTTPS,
|
||||
# so passwords will not be sent in clear text.
|
||||
#auth:hasPermission simplePermission:UseSparqlUpdateApi ;
|
||||
|
||||
# permissions for CURATOR and above.
|
||||
auth:hasPermission simplePermission:EditOntology ;
|
||||
auth:hasPermission simplePermission:EditSiteInformation ;
|
||||
auth:hasPermission simplePermission:SeeVerbosePropertyInformation ;
|
||||
auth:hasPermission simplePermission:UseMiscellaneousCuratorPages ;
|
||||
auth:hasPermission simplePermission:PageViewableCurator ;
|
||||
|
||||
|
||||
# permissions for EDITOR and above.
|
||||
auth:hasPermission simplePermission:DoBackEndEditing ;
|
||||
auth:hasPermission simplePermission:SeeIndividualEditingPanel ;
|
||||
|
@ -55,28 +55,28 @@ auth:ADMIN
|
|||
auth:hasPermission simplePermission:UseBasicAjaxControllers ;
|
||||
auth:hasPermission simplePermission:UseMiscellaneousPages ;
|
||||
auth:hasPermission simplePermission:PageViewableLoggedIn ;
|
||||
|
||||
|
||||
# permissions for ANY user, even if they are not logged in.
|
||||
auth:hasPermission simplePermission:QueryFullModel ;
|
||||
auth:hasPermission simplePermission:PageViewablePublic ;
|
||||
|
||||
|
||||
# role-based permissions for ADMIN
|
||||
auth:hasPermission displayByRole:Admin ;
|
||||
auth:hasPermission editByRole:Admin ;
|
||||
auth:hasPermission publishByRole:Admin ;
|
||||
.
|
||||
|
||||
auth:CURATOR
|
||||
auth:CURATOR
|
||||
a auth:PermissionSet ;
|
||||
rdfs:label "Curator" ;
|
||||
|
||||
|
||||
# permissions for CURATOR and above.
|
||||
auth:hasPermission simplePermission:EditOntology ;
|
||||
auth:hasPermission simplePermission:EditSiteInformation ;
|
||||
auth:hasPermission simplePermission:SeeVerbosePropertyInformation ;
|
||||
auth:hasPermission simplePermission:UseMiscellaneousCuratorPages ;
|
||||
auth:hasPermission simplePermission:PageViewableCurator ;
|
||||
|
||||
|
||||
# permissions for EDITOR and above.
|
||||
auth:hasPermission simplePermission:DoBackEndEditing ;
|
||||
auth:hasPermission simplePermission:SeeIndividualEditingPanel ;
|
||||
|
@ -93,21 +93,21 @@ auth:CURATOR
|
|||
auth:hasPermission simplePermission:UseBasicAjaxControllers ;
|
||||
auth:hasPermission simplePermission:UseMiscellaneousPages ;
|
||||
auth:hasPermission simplePermission:PageViewableLoggedIn ;
|
||||
|
||||
|
||||
# permissions for ANY user, even if they are not logged in.
|
||||
auth:hasPermission simplePermission:QueryFullModel ;
|
||||
auth:hasPermission simplePermission:PageViewablePublic ;
|
||||
|
||||
|
||||
# role-based permissions for CURATOR
|
||||
auth:hasPermission displayByRole:Curator ;
|
||||
auth:hasPermission editByRole:Curator ;
|
||||
auth:hasPermission publishByRole:Curator ;
|
||||
.
|
||||
|
||||
auth:EDITOR
|
||||
auth:EDITOR
|
||||
a auth:PermissionSet ;
|
||||
rdfs:label "Editor" ;
|
||||
|
||||
|
||||
# permissions for EDITOR and above.
|
||||
auth:hasPermission simplePermission:DoBackEndEditing ;
|
||||
auth:hasPermission simplePermission:SeeIndividualEditingPanel ;
|
||||
|
@ -124,11 +124,11 @@ auth:EDITOR
|
|||
auth:hasPermission simplePermission:UseBasicAjaxControllers ;
|
||||
auth:hasPermission simplePermission:UseMiscellaneousPages ;
|
||||
auth:hasPermission simplePermission:PageViewableLoggedIn ;
|
||||
|
||||
|
||||
# permissions for ANY user, even if they are not logged in.
|
||||
auth:hasPermission simplePermission:QueryFullModel ;
|
||||
auth:hasPermission simplePermission:PageViewablePublic ;
|
||||
|
||||
|
||||
# role-based permissions for EDITOR
|
||||
auth:hasPermission displayByRole:Editor ;
|
||||
auth:hasPermission editByRole:Editor ;
|
||||
|
@ -148,23 +148,23 @@ auth:SELF_EDITOR
|
|||
auth:hasPermission simplePermission:UseBasicAjaxControllers ;
|
||||
auth:hasPermission simplePermission:UseMiscellaneousPages ;
|
||||
auth:hasPermission simplePermission:PageViewableLoggedIn ;
|
||||
|
||||
|
||||
# permissions for ANY user, even if they are not logged in.
|
||||
auth:hasPermission simplePermission:QueryFullModel ;
|
||||
auth:hasPermission simplePermission:PageViewablePublic ;
|
||||
|
||||
# role-based permissions for SELF_EDITOR
|
||||
# For role-based display and editing, SelfEditor is like Public.
|
||||
# For role-based display and editing, SelfEditor is like Public.
|
||||
# SelfEditor uses its special permissions to edit/display its own values.
|
||||
auth:hasPermission displayByRole:Public ;
|
||||
auth:hasPermission publishByRole:Public ;
|
||||
auth:hasPermission displayByRole:Public ;
|
||||
auth:hasPermission publishByRole:Public ;
|
||||
.
|
||||
|
||||
auth:PUBLIC
|
||||
a auth:PermissionSet ;
|
||||
a auth:PermissionSetForPublic ;
|
||||
rdfs:label "Public" ;
|
||||
|
||||
|
||||
# permissions for ANY user, even if they are not logged in.
|
||||
auth:hasPermission simplePermission:QueryFullModel ;
|
||||
auth:hasPermission simplePermission:PageViewablePublic ;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $This file is distributed under the terms of the license in LICENSE$
|
||||
# $This file is distributed under the terms of the license in LICENSE$
|
||||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
||||
|
||||
#Data getter type labels
|
||||
|
@ -6,9 +6,9 @@
|
|||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
||||
|
||||
<java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.ClassGroupPageData> rdfs:label "Class Group Page" .
|
||||
<java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.BrowseDataGetter> rdfs:label "Browse Page" .
|
||||
<java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.BrowseDataGetter> rdfs:label "Browse Page" .
|
||||
<java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.IndividualsForClassesDataGetter> rdfs:label "Class Group Page - Selected Classes" .
|
||||
<java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.SparqlQueryDataGetter> rdfs:label "Sparql Query Results" .
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
xmlns:rdfs="&rdfs;"
|
||||
xmlns:vitro="&vitro;">
|
||||
|
||||
|
||||
|
||||
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ontologies/display/1.1#hasElement">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-hasElement.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
|
||||
</rdf:RDF>
|
||||
|
||||
</rdf:RDF>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $This file is distributed under the terms of the license in LICENSE$
|
||||
# $This file is distributed under the terms of the license in LICENSE$
|
||||
|
||||
# This file is for the portions of the pageList that should not be editable, i.e.#
|
||||
# that it cannot be deleted and that it requires certain permissions #
|
||||
|
@ -13,4 +13,4 @@
|
|||
|
||||
display:pageListPage
|
||||
display:requiresAction <java:edu.cornell.mannlib.vitro.webapp.auth.permissions.SimplePermission#ManageMenus> ;
|
||||
display:cannotDeletePage "true" .
|
||||
display:cannotDeletePage "true" .
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $This file is distributed under the terms of the license in LICENSE$
|
||||
# $This file is distributed under the terms of the license in LICENSE$
|
||||
|
||||
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
||||
@prefix display: <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#> .
|
||||
|
@ -143,15 +143,15 @@ action:UseMiscellaneousPages
|
|||
rdfs:label "USE_MISCELLANEOUS_PAGES" .
|
||||
|
||||
##Page specific permissions
|
||||
action:PageViewableAdmin
|
||||
action:PageViewableAdmin
|
||||
a display:RequiredAction ;
|
||||
rdfs:label "PAGE_VIEWABLE_ADMIN" .
|
||||
|
||||
|
||||
action:PageViewableCurator
|
||||
a display:RequiredAction ;
|
||||
rdfs:label "PAGE_VIEWABLE_CURATOR" .
|
||||
|
||||
action:PageViewableEditor
|
||||
action:PageViewableEditor
|
||||
a display:RequiredAction ;
|
||||
rdfs:label "PAGE_VIEWABLE_EDITOR" .
|
||||
|
||||
|
@ -159,6 +159,6 @@ action:PageViewableLoggedIn
|
|||
a display:RequiredAction ;
|
||||
rdfs:label "PAGE_VIEWABLE_LOGGEDIN" .
|
||||
|
||||
action:PageViewablePublic
|
||||
action:PageViewablePublic
|
||||
a display:RequiredAction ;
|
||||
rdfs:label "PAGE_VIEWABLE_PUBLIC" .
|
||||
rdfs:label "PAGE_VIEWABLE_PUBLIC" .
|
||||
|
|
|
@ -64,13 +64,13 @@
|
|||
rdfs:label "All labels are added to name fields." ;
|
||||
:hasTargetField "nameRaw" ;
|
||||
:hasSelectQuery """
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
SELECT ?label
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
SELECT ?label
|
||||
WHERE {
|
||||
?uri rdfs:label ?label .
|
||||
}
|
||||
""" .
|
||||
|
||||
|
||||
:documentModifier_NameFieldBooster
|
||||
a searchIndex:documentBuilding.FieldBooster ,
|
||||
searchIndex:documentBuilding.DocumentModifier ;
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
# $This file is distributed under the terms of the license in LICENSE$
|
||||
# $This file is distributed under the terms of the license in LICENSE$
|
||||
|
||||
# All instances of a class can be excluded from the search index by adding a
|
||||
# vitroDisplay:excludeClass property between vitroDisplay:SearchIndex and the
|
||||
# All instances of a class can be excluded from the search index by adding a
|
||||
# vitroDisplay:excludeClass property between vitroDisplay:SearchIndex and the
|
||||
# URI of the class that you would like to exclude.
|
||||
|
||||
# .n3 or .rdf files can be created in this directory to configure the search
|
||||
# exclusions. Each file must be a valid file in the format specified by its
|
||||
# extension. Each file will be loaded individually and must be a complete
|
||||
# stand alone example of its format. Each file must contain all the necessary
|
||||
# prefixes, namespaces and preambles required by the format specified by its
|
||||
# extension.
|
||||
# .n3 or .rdf files can be created in this directory to configure the search
|
||||
# exclusions. Each file must be a valid file in the format specified by its
|
||||
# extension. Each file will be loaded individually and must be a complete
|
||||
# stand alone example of its format. Each file must contain all the necessary
|
||||
# prefixes, namespaces and preambles required by the format specified by its
|
||||
# extension.
|
||||
|
||||
# If you would like to add classes to the exclusions, add a file to this
|
||||
# If you would like to add classes to the exclusions, add a file to this
|
||||
# directory ending in .n3 with N3 statements similar to this example.
|
||||
|
||||
#
|
||||
|
@ -20,6 +20,6 @@
|
|||
# @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
||||
# @prefix example: <http://example/ns/> .
|
||||
#
|
||||
# vitroDisplay:SearchIndex
|
||||
# rdf:type owl:Thing ;
|
||||
# vitroDisplay:excludeClass example:classToExclude ;
|
||||
# vitroDisplay:SearchIndex
|
||||
# rdf:type owl:Thing ;
|
||||
# vitroDisplay:excludeClass example:classToExclude ;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#">
|
||||
<!ENTITY xsd "http://www.w3.org/2001/XMLSchema#">
|
||||
<!ENTITY vitro "http://vitro.mannlib.cornell.edu/ns/vitro/0.7#">
|
||||
|
||||
|
||||
]>
|
||||
<rdf:RDF xml:base="http://vitro.mannlib.cornell.edu/ontologies/display/1.1/"
|
||||
xmlns:display="&display;"
|
||||
|
@ -38,7 +38,7 @@
|
|||
<owl:Class rdf:about="&owl;DatatypeProperty"/>
|
||||
<owl:Class rdf:about="&owl;ObjectProperty"/>
|
||||
<owl:Class rdf:about="&owl;AnnotationProperty"/>
|
||||
|
||||
|
||||
|
||||
<owl:Class rdf:about="&owl;Class"/>
|
||||
<owl:Class rdf:about="&display;MainMenu">
|
||||
|
@ -53,7 +53,7 @@
|
|||
<owl:Class rdf:about="&display;ClassGroupPage"/>
|
||||
<owl:Class rdf:about="&display;IndividualsForClassesPage"/>
|
||||
<owl:Class rdf:about="&display;InternalClassesPage"/>
|
||||
|
||||
|
||||
<!-- For permissions -->
|
||||
<owl:Class rdf:about="&display;RequiredAction"/>
|
||||
<!-- Annotation Properties -->
|
||||
|
@ -69,7 +69,7 @@
|
|||
<owl:DatatypeProperty rdf:about="&rdfs;label"/>
|
||||
<owl:DatatypeProperty rdf:about="&owl;versionInfo"/>
|
||||
<!--end originally generated -->
|
||||
|
||||
|
||||
<owl:DatatypeProperty rdf:about="&display;linkText"
|
||||
rdfs:comment="Text to display to a link.">
|
||||
</owl:DatatypeProperty>
|
||||
|
@ -129,7 +129,7 @@
|
|||
<owl:ObjectProperty rdf:about="&display;getIndividualsForClass"/>
|
||||
<owl:ObjectProperty rdf:about="&display;hasDataGetter"/>
|
||||
<owl:ObjectProperty rdf:about="&display;requiresAction">
|
||||
|
||||
|
||||
</owl:ObjectProperty>
|
||||
<!--Custom properties-->
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $This file is distributed under the terms of the license in LICENSE$
|
||||
# $This file is distributed under the terms of the license in LICENSE$
|
||||
|
||||
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
||||
@prefix display: <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#> .
|
||||
|
@ -31,8 +31,8 @@ display:Home
|
|||
display:urlMapping "/" ;
|
||||
display:hasDataGetter display:homeDataGetter;
|
||||
display:cannotDeletePage "true" .
|
||||
|
||||
|
||||
########## Data Getter ############
|
||||
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ontologies/display/1.1#homeDataGetter>
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.BrowseDataGetter> .
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.BrowseDataGetter> .
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $This file is distributed under the terms of the license in LICENSE$
|
||||
# $This file is distributed under the terms of the license in LICENSE$
|
||||
|
||||
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
||||
@prefix display: <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#> .
|
||||
|
@ -9,28 +9,28 @@
|
|||
### This file defines the page list menu for vitro. These statements can be edited through the interface.###
|
||||
|
||||
display:pageListPage
|
||||
a display:Page ;
|
||||
a display:Page ;
|
||||
display:title "Pages" ;
|
||||
display:urlMapping "/pageList" ;
|
||||
display:requiresBodyTemplate "pageList.ftl" ;
|
||||
display:requiresBodyTemplate "pageList.ftl" ;
|
||||
display:hasDataGetter display:pageListData.
|
||||
|
||||
display:pageListData
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.SparqlQueryDataGetter>;
|
||||
a <java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.SparqlQueryDataGetter>;
|
||||
display:saveToVar "pages" ;
|
||||
display:queryModel <vitro:requestDisplayModel> ;
|
||||
display:queryModel <vitro:requestDisplayModel> ;
|
||||
display:query """
|
||||
PREFIX display: <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#>
|
||||
PREFIX display: <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#>
|
||||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
|
||||
SELECT ?listedPageUri ?listedPageTitle ?listedPageUrlMapping ?listedPageTemplate ?listedPageMenuItem ?listedPageCannotDeletePage
|
||||
WHERE {
|
||||
WHERE {
|
||||
?listedPageUri a display:Page .
|
||||
OPTIONAL{ ?listedPageUri display:urlMapping ?listedPageUrlMapping. }
|
||||
OPTIONAL{ ?listedPageUri display:title ?listedPageTitle. }
|
||||
OPTIONAL{ ?listedPageUri display:title ?listedPageTitle. }
|
||||
OPTIONAL {?listedPageUri display:requiresBodyTemplate ?listedPageTemplate .}
|
||||
OPTIONAL {?listedPageMenuItem display:toPage ?listedPageUri .}
|
||||
OPTIONAL {?listedPageUri display:cannotDeletePage ?listedPageCannotDeletePage .}
|
||||
} ORDER BY ?listedPageTitle """ .
|
||||
} ORDER BY ?listedPageTitle """ .
|
||||
###Page Management and Data Getters
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $This file is distributed under the terms of the license in LICENSE$
|
||||
# $This file is distributed under the terms of the license in LICENSE$
|
||||
|
||||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
||||
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
||||
|
@ -8,18 +8,18 @@
|
|||
@base <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#> .
|
||||
|
||||
display:ProfilePageType rdf:type owl:Class ;
|
||||
|
||||
|
||||
owl:equivalentClass [ rdf:type owl:Class ;
|
||||
owl:oneOf ( display:standard
|
||||
display:quickView
|
||||
)
|
||||
] .
|
||||
|
||||
display:quickView rdf:type display:ProfilePageType ,
|
||||
display:quickView rdf:type display:ProfilePageType ,
|
||||
owl:NamedIndividual .
|
||||
|
||||
display:standard rdf:type display:ProfilePageType ,
|
||||
owl:NamedIndividual .
|
||||
|
||||
display:hasDefaultProfilePageType rdf:type owl:ObjectProperty .
|
||||
display:hasDefaultProfilePageType rdfs:range display:ProfilePageType .
|
||||
display:hasDefaultProfilePageType rdf:type owl:ObjectProperty .
|
||||
display:hasDefaultProfilePageType rdfs:range display:ProfilePageType .
|
||||
|
|
|
@ -4,18 +4,18 @@
|
|||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
||||
@prefix display: <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#> .
|
||||
|
||||
rdf:type
|
||||
rdf:type
|
||||
a owl:ObjectProperty ;
|
||||
rdfs:label "RDF Type"@en-US ;
|
||||
rdfs:range owl:Class;
|
||||
rdfs:range owl:Class;
|
||||
<http://vitro.mannlib.cornell.edu/ns/vitro/0.7#customEntryFormAnnot>
|
||||
"edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.RdfTypeGenerator"^^xsd:string ;
|
||||
"edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.RdfTypeGenerator"^^xsd:string ;
|
||||
<http://vitro.mannlib.cornell.edu/ns/vitro/0.7#offerCreateNewOptionAnnot>
|
||||
"true"^^xsd:boolean ;
|
||||
<http://vitro.mannlib.cornell.edu/ns/vitro/0.7#selectFromExistingAnnot>
|
||||
"true"^^xsd:boolean .
|
||||
|
||||
|
||||
"true"^^xsd:boolean .
|
||||
|
||||
|
||||
display:requiresAction
|
||||
a owl:ObjectProperty ;
|
||||
rdfs:label "Required Action"@en-US ;
|
||||
|
@ -25,4 +25,4 @@ display:requiresAction
|
|||
"true"^^xsd:boolean ;
|
||||
<http://vitro.mannlib.cornell.edu/ns/vitro/0.7#selectFromExistingAnnot>
|
||||
"true"^^xsd:boolean .
|
||||
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $This file is distributed under the terms of the license in LICENSE$
|
||||
# $This file is distributed under the terms of the license in LICENSE$
|
||||
|
||||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
||||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
||||
|
@ -7,32 +7,32 @@
|
|||
@prefix display: <http://vitro.mannlib.cornell.edu/ontologies/display/1.1#> .
|
||||
@prefix vitro: <http://vitro.mannlib.cornell.edu/ns/vitro/0.7#> .
|
||||
|
||||
#########Classes#########
|
||||
#########Classes#########
|
||||
###Basic
|
||||
owl:Class a owl:Class .
|
||||
owl:Ontology a owl:Class .
|
||||
owl:AnnotationProperty a owl:Class .
|
||||
owl:Ontology a owl:Class .
|
||||
owl:AnnotationProperty a owl:Class .
|
||||
owl:DatatypeProperty a owl:Class .
|
||||
owl:ObjectProperty a owl:Class .
|
||||
|
||||
###Display Model
|
||||
|
||||
###Display Model
|
||||
display:MainMenu
|
||||
a owl:Class ;
|
||||
vitro:customDisplayViewAnnot "individual-menu.ftl"^^xsd:string .
|
||||
|
||||
display:NavigationElement a owl:Class .
|
||||
|
||||
display:Page a owl:Class .
|
||||
display:Page a owl:Class .
|
||||
|
||||
display:HomePage a owl:Class .
|
||||
|
||||
display:ClassGroupPage a owl:Class .
|
||||
|
||||
display:IndividualsForClassesPage a owl:Class .
|
||||
|
||||
display:InternalClassesPage a owl:Class .
|
||||
|
||||
display:DataGetter a owl:Class .
|
||||
|
||||
display:IndividualsForClassesPage a owl:Class .
|
||||
|
||||
display:InternalClassesPage a owl:Class .
|
||||
|
||||
display:DataGetter a owl:Class .
|
||||
|
||||
display:RequiredAction a owl:Class ;
|
||||
rdfs:comment "Represents a action that may need authorization to perform." .
|
||||
|
@ -40,15 +40,15 @@ display:RequiredAction a owl:Class ;
|
|||
<java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.SparqlQueryDataGetter>
|
||||
a owl:Class ;
|
||||
rdfs:comment "Data getter for running a SPARQL query." .
|
||||
|
||||
|
||||
<java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.SearchIndividualsDataGetter>
|
||||
a owl:Class ;
|
||||
rdfs:comment "A data getter for a Class search, i.e. get individuals for VClass" .
|
||||
|
||||
|
||||
<java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.SparqlUpdate>
|
||||
a owl:Class ;
|
||||
rdfs:comment "A data getter that runs a SPARQL Update" .
|
||||
|
||||
|
||||
<java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.BrowseDataGetter>
|
||||
a owl:Class ;
|
||||
rdfs:comment "A data getter for a standard Vitro browse page" .
|
||||
|
@ -63,10 +63,10 @@ display:RequiredAction a owl:Class ;
|
|||
|
||||
<java:edu.cornell.mannlib.vitro.webapp.utils.dataGetter.IndividualsForClassesDataGetter>
|
||||
a owl:Class .
|
||||
|
||||
## Class defining what N3 editing model preprocessors are associated with the system
|
||||
|
||||
## Class defining what N3 editing model preprocessors are associated with the system
|
||||
## This is technically a JAVA interface but we can designate this as an owl:Class to indicate
|
||||
## which classes are model change preprocessors
|
||||
## which classes are model change preprocessors
|
||||
|
||||
<java:edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.preprocessors.ModelChangePreprocessor> a owl:Class .
|
||||
########Data Properties#########
|
||||
|
@ -74,67 +74,67 @@ display:RequiredAction a owl:Class ;
|
|||
###Basic
|
||||
|
||||
rdfs:comment
|
||||
a owl:DatatypeProperty .
|
||||
a owl:DatatypeProperty .
|
||||
rdfs:label
|
||||
a owl:DatatypeProperty .
|
||||
a owl:DatatypeProperty .
|
||||
owl:versionInfo
|
||||
a owl:DatatypeProperty .
|
||||
|
||||
###Vitro model
|
||||
|
||||
###Vitro model
|
||||
|
||||
vitro:modTime
|
||||
a owl:DatatypeProperty .
|
||||
vitro:displayRank
|
||||
a owl:DatatypeProperty .
|
||||
a owl:DatatypeProperty .
|
||||
vitro:customDisplayViewAnnot
|
||||
a owl:DatatypeProperty .
|
||||
|
||||
###Display model
|
||||
|
||||
###Display model
|
||||
|
||||
display:listViewConfigFile
|
||||
a owl:DatatypeProperty .
|
||||
|
||||
display:title
|
||||
a owl:DatatypeProperty .
|
||||
a owl:DatatypeProperty .
|
||||
|
||||
display:urlMapping
|
||||
a owl:DatatypeProperty .
|
||||
|
||||
display:requiresBodyTemplate
|
||||
a owl:DatatypeProperty .
|
||||
a owl:DatatypeProperty .
|
||||
|
||||
display:isSelfContainedTemplate
|
||||
a owl:DatatypeProperty .
|
||||
a owl:DatatypeProperty .
|
||||
|
||||
display:menuPosition
|
||||
a owl:DatatypeProperty ;
|
||||
vitro:displayLimitAnnot
|
||||
"1"^^xsd:int .
|
||||
"1"^^xsd:int .
|
||||
|
||||
display:linkText
|
||||
a owl:DatatypeProperty .
|
||||
a owl:DatatypeProperty .
|
||||
|
||||
display:hasMenuText
|
||||
a owl:DatatypeProperty .
|
||||
a owl:DatatypeProperty .
|
||||
|
||||
display:usesDataGetterClass
|
||||
a owl:DatatypeProperty .
|
||||
a owl:DatatypeProperty .
|
||||
|
||||
display:query
|
||||
a owl:DatatypeProperty .
|
||||
a owl:DatatypeProperty .
|
||||
|
||||
display:saveToVar
|
||||
a owl:DatatypeProperty.
|
||||
a owl:DatatypeProperty.
|
||||
|
||||
display:queryModel
|
||||
a owl:DatatypeProperty.
|
||||
a owl:DatatypeProperty.
|
||||
|
||||
display:htmlValue
|
||||
a owl:DatatypeProperty.
|
||||
a owl:DatatypeProperty.
|
||||
|
||||
display:cannotDeletePage
|
||||
a owl:DatatypeProperty.
|
||||
|
||||
a owl:DatatypeProperty.
|
||||
|
||||
######### Object Properties#########
|
||||
###Basic
|
||||
rdfs:range
|
||||
|
@ -147,14 +147,14 @@ owl:topObjectProperty
|
|||
display:hasVClassId
|
||||
a owl:ObjectProperty ;
|
||||
rdfs:comment "Object property defining class for search data getter" .
|
||||
|
||||
|
||||
###Vitro properties without which individual templates throw errors as are required
|
||||
|
||||
<http://vitro.mannlib.cornell.edu/ns/vitro/public#mainImage>
|
||||
a owl:ObjectProperty ;
|
||||
rdfs:range <http://vitro.mannlib.cornell.edu/ns/vitro/public#File> ;
|
||||
rdfs:subPropertyOf <http://vitro.mannlib.cornell.edu/ns/vitro/public#mainImage> , owl:topObjectProperty .
|
||||
|
||||
|
||||
vitro:primaryLink
|
||||
a owl:ObjectProperty ;
|
||||
rdfs:label "Primary Link"@en-US ;
|
||||
|
@ -169,18 +169,18 @@ vitro:primaryLink
|
|||
vitro:selectFromExistingAnnot
|
||||
"false"^^xsd:boolean ;
|
||||
vitro:stubObjectPropertyAnnot
|
||||
"true"^^xsd:boolean .
|
||||
"true"^^xsd:boolean .
|
||||
|
||||
rdf:type
|
||||
rdf:type
|
||||
a owl:ObjectProperty ;
|
||||
rdfs:label "RDF Type"@en-US ;
|
||||
rdfs:range owl:Class ;
|
||||
rdfs:range owl:Class ;
|
||||
vitro:customEntryFormAnnot
|
||||
"edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.RdfTypeGenerator"^^xsd:string ;
|
||||
"edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.RdfTypeGenerator"^^xsd:string ;
|
||||
vitro:offerCreateNewOptionAnnot
|
||||
"true"^^xsd:boolean ;
|
||||
vitro:selectFromExistingAnnot
|
||||
"true"^^xsd:boolean .
|
||||
"true"^^xsd:boolean .
|
||||
|
||||
|
||||
vitro:additionalLink
|
||||
|
@ -198,30 +198,30 @@ vitro:additionalLink
|
|||
"false"^^xsd:boolean ;
|
||||
vitro:stubObjectPropertyAnnot
|
||||
"true"^^xsd:boolean .
|
||||
|
||||
###Display model
|
||||
|
||||
###Display model
|
||||
|
||||
display:hasElement
|
||||
a owl:ObjectProperty .
|
||||
|
||||
|
||||
display:excludeClass
|
||||
a owl:ObjectProperty .
|
||||
|
||||
display:toPage
|
||||
a owl:ObjectProperty .
|
||||
|
||||
a owl:ObjectProperty .
|
||||
|
||||
display:forClassGroup
|
||||
a owl:ObjectProperty .
|
||||
|
||||
|
||||
display:hasDataGetter
|
||||
a owl:ObjectProperty .
|
||||
|
||||
|
||||
display:getIndividualsForClass
|
||||
a owl:ObjectProperty .
|
||||
|
||||
a owl:ObjectProperty .
|
||||
|
||||
display:restrictResultsByClass
|
||||
a owl:ObjectProperty .
|
||||
a owl:ObjectProperty .
|
||||
|
||||
display:requiresAction
|
||||
a owl:ObjectProperty .
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!DOCTYPE rdf [
|
||||
<!ENTITY vitro "http://vitro.mannlib.cornell.edu/ns/vitro/0.7#">
|
||||
<!ENTITY vitro "http://vitro.mannlib.cornell.edu/ns/vitro/0.7#">
|
||||
<!ENTITY list "http://vitro.mannlib.cornell.edu/ns/vitro/0.7#"> ]>
|
||||
|
||||
<rdf:RDF
|
||||
|
@ -16,7 +16,7 @@ xmlns:vitro="&vitro;"
|
|||
|
||||
<!-- Vitro Application Ontology version 0.7 -->
|
||||
|
||||
<!-- This ontology is used internally by the Vitro 0.7 Java application. It is not user viewable or editable: editing this file could have various unintended consequences -->
|
||||
<!-- This ontology is used internally by the Vitro 0.7 Java application. It is not user viewable or editable: editing this file could have various unintended consequences -->
|
||||
|
||||
<owl:Ontology rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7">
|
||||
<rdfs:label rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Vitro internals</rdfs:label>
|
||||
|
@ -149,7 +149,7 @@ xmlns:vitro="&vitro;"
|
|||
<rdf:Description rdf:about="http://vitro.mannlib.cornell.edu/ns/vitro/0.7#customDisplayViewAnnot">
|
||||
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#AnnotationProperty"/>
|
||||
</rdf:Description>
|
||||
|
||||
|
||||
<owl:AnnotationProperty rdf:about="&vitro;mostSpecificType"/>
|
||||
<owl:AnnotationProperty rdf:about="&vitro;extendedLinkedData"/>
|
||||
<!--Institutional Internal class -->
|
||||
|
|
|
@ -16,8 +16,8 @@
|
|||
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
Vitro Application Public Ontology
|
||||
|
||||
This ontology is used by the Vitro application.
|
||||
It contains constructs that are available for public export and use.
|
||||
This ontology is used by the Vitro application.
|
||||
It contains constructs that are available for public export and use.
|
||||
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
|
||||
|
||||
<owl:Ontology rdf:about="">
|
||||
|
@ -71,4 +71,4 @@
|
|||
<rdfs:range><owl:Class rdf:about="#File"/></rdfs:range>
|
||||
</owl:ObjectProperty>
|
||||
|
||||
</rdf:RDF>
|
||||
</rdf:RDF>
|
||||
|
|
|
@ -31,7 +31,7 @@ The Solr Home directory typically contains the following subdirectories...
|
|||
|
||||
conf/
|
||||
This directory is mandatory and must contain your solrconfig.xml
|
||||
and schema.xml. Any other optional configuration files would also
|
||||
and schema.xml. Any other optional configuration files would also
|
||||
be kept here.
|
||||
|
||||
data/
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
-->
|
||||
|
||||
<!-- The content of this page will be statically included into the top-
|
||||
right box of the cores overview page. Uncomment this as an example to
|
||||
right box of the cores overview page. Uncomment this as an example to
|
||||
see there the content will show up.
|
||||
|
||||
<img src="img/ico/construction.png"> This line will appear at the top-
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<!--
|
||||
<!--
|
||||
Default configuration for the bisecting k-means clustering algorithm.
|
||||
|
||||
|
||||
This file can be loaded (and saved) by Carrot2 Workbench.
|
||||
http://project.carrot2.org/download.html
|
||||
-->
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<!--
|
||||
<!--
|
||||
Default configuration for the Lingo clustering algorithm.
|
||||
|
||||
This file can be loaded (and saved) by Carrot2 Workbench.
|
||||
|
@ -8,9 +8,9 @@
|
|||
<attribute-set id="attributes">
|
||||
<value-set>
|
||||
<label>attributes</label>
|
||||
<!--
|
||||
<!--
|
||||
The language to assume for clustered documents.
|
||||
For a list of allowed values, see:
|
||||
For a list of allowed values, see:
|
||||
http://download.carrot2.org/stable/manual/#section.attribute.lingo.MultilingualClustering.defaultLanguage
|
||||
-->
|
||||
<attribute key="MultilingualClustering.defaultLanguage">
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<!--
|
||||
<!--
|
||||
Default configuration for the STC clustering algorithm.
|
||||
|
||||
This file can be loaded (and saved) by Carrot2 Workbench.
|
||||
|
|
|
@ -58,10 +58,10 @@
|
|||
<rate from="USD" to="AED" rate="3.672955" comment="U.A.E. Dirham" />
|
||||
<rate from="USD" to="UAH" rate="7.988582" comment="UKRAINE Hryvnia" />
|
||||
<rate from="USD" to="GBP" rate="0.647910" comment="UNITED KINGDOM Pound" />
|
||||
|
||||
|
||||
<!-- Cross-rates for some common currencies -->
|
||||
<rate from="EUR" to="GBP" rate="0.869914" />
|
||||
<rate from="EUR" to="NOK" rate="7.800095" />
|
||||
<rate from="GBP" to="NOK" rate="8.966508" />
|
||||
<rate from="EUR" to="GBP" rate="0.869914" />
|
||||
<rate from="EUR" to="NOK" rate="7.800095" />
|
||||
<rate from="GBP" to="NOK" rate="8.966508" />
|
||||
</rates>
|
||||
</currencyConfig>
|
||||
|
|
|
@ -29,10 +29,10 @@
|
|||
<doc id="2" />
|
||||
<doc id="3" />
|
||||
</query>
|
||||
|
||||
|
||||
<query text="ipod">
|
||||
<doc id="MA147LL/A" /> <!-- put the actual ipod at the top -->
|
||||
<doc id="IW-02" exclude="true" /> <!-- exclude this cable -->
|
||||
</query>
|
||||
|
||||
|
||||
</elevate>
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
# Set of Italian contractions for ElisionFilter
|
||||
# TODO: load this as a resource from the analyzer and sync it in build.xml
|
||||
c
|
||||
l
|
||||
all
|
||||
dall
|
||||
dell
|
||||
nell
|
||||
sull
|
||||
coll
|
||||
pell
|
||||
gl
|
||||
agl
|
||||
dagl
|
||||
degl
|
||||
negl
|
||||
sugl
|
||||
un
|
||||
m
|
||||
t
|
||||
s
|
||||
v
|
||||
l
|
||||
all
|
||||
dall
|
||||
dell
|
||||
nell
|
||||
sull
|
||||
coll
|
||||
pell
|
||||
gl
|
||||
agl
|
||||
dagl
|
||||
degl
|
||||
negl
|
||||
sugl
|
||||
un
|
||||
m
|
||||
t
|
||||
s
|
||||
v
|
||||
d
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
# noun-common: Common nouns or nouns where the sub-classification is undefined
|
||||
#名詞-一般
|
||||
#
|
||||
# noun-proper: Proper nouns where the sub-classification is undefined
|
||||
# noun-proper: Proper nouns where the sub-classification is undefined
|
||||
#名詞-固有名詞
|
||||
#
|
||||
# noun-proper-misc: miscellaneous proper nouns
|
||||
|
@ -26,7 +26,7 @@
|
|||
# noun-proper-person: Personal names where the sub-classification is undefined
|
||||
#名詞-固有名詞-人名
|
||||
#
|
||||
# noun-proper-person-misc: names that cannot be divided into surname and
|
||||
# noun-proper-person-misc: names that cannot be divided into surname and
|
||||
# given name; foreign names; names where the surname or given name is unknown.
|
||||
# e.g. お市の方
|
||||
#名詞-固有名詞-人名-一般
|
||||
|
@ -50,28 +50,28 @@
|
|||
# e.g. アジア, バルセロナ, 京都
|
||||
#名詞-固有名詞-地域-一般
|
||||
#
|
||||
# noun-proper-place-country: Country names.
|
||||
# noun-proper-place-country: Country names.
|
||||
# e.g. 日本, オーストラリア
|
||||
#名詞-固有名詞-地域-国
|
||||
#
|
||||
# noun-pronoun: Pronouns where the sub-classification is undefined
|
||||
#名詞-代名詞
|
||||
#
|
||||
# noun-pronoun-misc: miscellaneous pronouns:
|
||||
# noun-pronoun-misc: miscellaneous pronouns:
|
||||
# e.g. それ, ここ, あいつ, あなた, あちこち, いくつ, どこか, なに, みなさん, みんな, わたくし, われわれ
|
||||
#名詞-代名詞-一般
|
||||
#
|
||||
# noun-pronoun-contraction: Spoken language contraction made by combining a
|
||||
# noun-pronoun-contraction: Spoken language contraction made by combining a
|
||||
# pronoun and the particle 'wa'.
|
||||
# e.g. ありゃ, こりゃ, こりゃあ, そりゃ, そりゃあ
|
||||
# e.g. ありゃ, こりゃ, こりゃあ, そりゃ, そりゃあ
|
||||
#名詞-代名詞-縮約
|
||||
#
|
||||
# noun-adverbial: Temporal nouns such as names of days or months that behave
|
||||
# noun-adverbial: Temporal nouns such as names of days or months that behave
|
||||
# like adverbs. Nouns that represent amount or ratios and can be used adverbially,
|
||||
# e.g. 金曜, 一月, 午後, 少量
|
||||
#名詞-副詞可能
|
||||
#
|
||||
# noun-verbal: Nouns that take arguments with case and can appear followed by
|
||||
# noun-verbal: Nouns that take arguments with case and can appear followed by
|
||||
# 'suru' and related verbs (する, できる, なさる, くださる)
|
||||
# e.g. インプット, 愛着, 悪化, 悪戦苦闘, 一安心, 下取り
|
||||
#名詞-サ変接続
|
||||
|
@ -87,28 +87,28 @@
|
|||
# noun-affix: noun affixes where the sub-classification is undefined
|
||||
#名詞-非自立
|
||||
#
|
||||
# noun-affix-misc: Of adnominalizers, the case-marker の ("no"), and words that
|
||||
# attach to the base form of inflectional words, words that cannot be classified
|
||||
# noun-affix-misc: Of adnominalizers, the case-marker の ("no"), and words that
|
||||
# attach to the base form of inflectional words, words that cannot be classified
|
||||
# into any of the other categories below. This category includes indefinite nouns.
|
||||
# e.g. あかつき, 暁, かい, 甲斐, 気, きらい, 嫌い, くせ, 癖, こと, 事, ごと, 毎, しだい, 次第,
|
||||
# 順, せい, 所為, ついで, 序で, つもり, 積もり, 点, どころ, の, はず, 筈, はずみ, 弾み,
|
||||
# e.g. あかつき, 暁, かい, 甲斐, 気, きらい, 嫌い, くせ, 癖, こと, 事, ごと, 毎, しだい, 次第,
|
||||
# 順, せい, 所為, ついで, 序で, つもり, 積もり, 点, どころ, の, はず, 筈, はずみ, 弾み,
|
||||
# 拍子, ふう, ふり, 振り, ほう, 方, 旨, もの, 物, 者, ゆえ, 故, ゆえん, 所以, わけ, 訳,
|
||||
# わり, 割り, 割, ん-口語/, もん-口語/
|
||||
#名詞-非自立-一般
|
||||
#
|
||||
# noun-affix-adverbial: noun affixes that that can behave as adverbs.
|
||||
# e.g. あいだ, 間, あげく, 挙げ句, あと, 後, 余り, 以外, 以降, 以後, 以上, 以前, 一方, うえ,
|
||||
# 上, うち, 内, おり, 折り, かぎり, 限り, きり, っきり, 結果, ころ, 頃, さい, 際, 最中, さなか,
|
||||
# 最中, じたい, 自体, たび, 度, ため, 為, つど, 都度, とおり, 通り, とき, 時, ところ, 所,
|
||||
# とたん, 途端, なか, 中, のち, 後, ばあい, 場合, 日, ぶん, 分, ほか, 他, まえ, 前, まま,
|
||||
# e.g. あいだ, 間, あげく, 挙げ句, あと, 後, 余り, 以外, 以降, 以後, 以上, 以前, 一方, うえ,
|
||||
# 上, うち, 内, おり, 折り, かぎり, 限り, きり, っきり, 結果, ころ, 頃, さい, 際, 最中, さなか,
|
||||
# 最中, じたい, 自体, たび, 度, ため, 為, つど, 都度, とおり, 通り, とき, 時, ところ, 所,
|
||||
# とたん, 途端, なか, 中, のち, 後, ばあい, 場合, 日, ぶん, 分, ほか, 他, まえ, 前, まま,
|
||||
# 儘, 侭, みぎり, 矢先
|
||||
#名詞-非自立-副詞可能
|
||||
#
|
||||
# noun-affix-aux: noun affixes treated as 助動詞 ("auxiliary verb") in school grammars
|
||||
# noun-affix-aux: noun affixes treated as 助動詞 ("auxiliary verb") in school grammars
|
||||
# with the stem よう(だ) ("you(da)").
|
||||
# e.g. よう, やう, 様 (よう)
|
||||
#名詞-非自立-助動詞語幹
|
||||
#
|
||||
#
|
||||
# noun-affix-adjective-base: noun affixes that can connect to the indeclinable
|
||||
# connection form な (aux "da").
|
||||
# e.g. みたい, ふう
|
||||
|
@ -117,8 +117,8 @@
|
|||
# noun-special: special nouns where the sub-classification is undefined.
|
||||
#名詞-特殊
|
||||
#
|
||||
# noun-special-aux: The そうだ ("souda") stem form that is used for reporting news, is
|
||||
# treated as 助動詞 ("auxiliary verb") in school grammars, and attach to the base
|
||||
# noun-special-aux: The そうだ ("souda") stem form that is used for reporting news, is
|
||||
# treated as 助動詞 ("auxiliary verb") in school grammars, and attach to the base
|
||||
# form of inflectional words.
|
||||
# e.g. そう
|
||||
#名詞-特殊-助動詞語幹
|
||||
|
@ -126,9 +126,9 @@
|
|||
# noun-suffix: noun suffixes where the sub-classification is undefined.
|
||||
#名詞-接尾
|
||||
#
|
||||
# noun-suffix-misc: Of the nouns or stem forms of other parts of speech that connect
|
||||
# noun-suffix-misc: Of the nouns or stem forms of other parts of speech that connect
|
||||
# to ガル or タイ and can combine into compound nouns, words that cannot be classified into
|
||||
# any of the other categories below. In general, this category is more inclusive than
|
||||
# any of the other categories below. In general, this category is more inclusive than
|
||||
# 接尾語 ("suffix") and is usually the last element in a compound noun.
|
||||
# e.g. おき, かた, 方, 甲斐 (がい), がかり, ぎみ, 気味, ぐるみ, (~した) さ, 次第, 済 (ず) み,
|
||||
# よう, (でき)っこ, 感, 観, 性, 学, 類, 面, 用
|
||||
|
@ -139,23 +139,23 @@
|
|||
# e.g. 君, 様, 著
|
||||
#名詞-接尾-人名
|
||||
#
|
||||
# noun-suffix-place: Suffixes that form nouns and attach to place names more often
|
||||
# noun-suffix-place: Suffixes that form nouns and attach to place names more often
|
||||
# than other nouns.
|
||||
# e.g. 町, 市, 県
|
||||
#名詞-接尾-地域
|
||||
#
|
||||
# noun-suffix-verbal: Of the suffixes that attach to nouns and form nouns, those that
|
||||
# noun-suffix-verbal: Of the suffixes that attach to nouns and form nouns, those that
|
||||
# can appear before スル ("suru").
|
||||
# e.g. 化, 視, 分け, 入り, 落ち, 買い
|
||||
#名詞-接尾-サ変接続
|
||||
#
|
||||
# noun-suffix-aux: The stem form of そうだ (様態) that is used to indicate conditions,
|
||||
# is treated as 助動詞 ("auxiliary verb") in school grammars, and attach to the
|
||||
# noun-suffix-aux: The stem form of そうだ (様態) that is used to indicate conditions,
|
||||
# is treated as 助動詞 ("auxiliary verb") in school grammars, and attach to the
|
||||
# conjunctive form of inflectional words.
|
||||
# e.g. そう
|
||||
#名詞-接尾-助動詞語幹
|
||||
#
|
||||
# noun-suffix-adjective-base: Suffixes that attach to other nouns or the conjunctive
|
||||
# noun-suffix-adjective-base: Suffixes that attach to other nouns or the conjunctive
|
||||
# form of inflectional words and appear before the copula だ ("da").
|
||||
# e.g. 的, げ, がち
|
||||
#名詞-接尾-形容動詞語幹
|
||||
|
@ -164,8 +164,8 @@
|
|||
# e.g. 後 (ご), 以後, 以降, 以前, 前後, 中, 末, 上, 時 (じ)
|
||||
#名詞-接尾-副詞可能
|
||||
#
|
||||
# noun-suffix-classifier: Suffixes that attach to numbers and form nouns. This category
|
||||
# is more inclusive than 助数詞 ("classifier") and includes common nouns that attach
|
||||
# noun-suffix-classifier: Suffixes that attach to numbers and form nouns. This category
|
||||
# is more inclusive than 助数詞 ("classifier") and includes common nouns that attach
|
||||
# to numbers.
|
||||
# e.g. 個, つ, 本, 冊, パーセント, cm, kg, カ月, か国, 区画, 時間, 時半
|
||||
#名詞-接尾-助数詞
|
||||
|
@ -174,18 +174,18 @@
|
|||
# e.g. (楽し) さ, (考え) 方
|
||||
#名詞-接尾-特殊
|
||||
#
|
||||
# noun-suffix-conjunctive: Nouns that behave like conjunctions and join two words
|
||||
# noun-suffix-conjunctive: Nouns that behave like conjunctions and join two words
|
||||
# together.
|
||||
# e.g. (日本) 対 (アメリカ), 対 (アメリカ), (3) 対 (5), (女優) 兼 (主婦)
|
||||
#名詞-接続詞的
|
||||
#
|
||||
# noun-verbal_aux: Nouns that attach to the conjunctive particle て ("te") and are
|
||||
# noun-verbal_aux: Nouns that attach to the conjunctive particle て ("te") and are
|
||||
# semantically verb-like.
|
||||
# e.g. ごらん, ご覧, 御覧, 頂戴
|
||||
#名詞-動詞非自立的
|
||||
#
|
||||
# noun-quotation: text that cannot be segmented into words, proverbs, Chinese poetry,
|
||||
# dialects, English, etc. Currently, the only entry for 名詞 引用文字列 ("noun quotation")
|
||||
# noun-quotation: text that cannot be segmented into words, proverbs, Chinese poetry,
|
||||
# dialects, English, etc. Currently, the only entry for 名詞 引用文字列 ("noun quotation")
|
||||
# is いわく ("iwaku").
|
||||
#名詞-引用文字列
|
||||
#
|
||||
|
@ -198,7 +198,7 @@
|
|||
# prefix: unclassified prefixes
|
||||
#接頭詞
|
||||
#
|
||||
# prefix-nominal: Prefixes that attach to nouns (including adjective stem forms)
|
||||
# prefix-nominal: Prefixes that attach to nouns (including adjective stem forms)
|
||||
# excluding numerical expressions.
|
||||
# e.g. お (水), 某 (氏), 同 (社), 故 (~氏), 高 (品質), お (見事), ご (立派)
|
||||
#接頭詞-名詞接続
|
||||
|
@ -246,20 +246,20 @@
|
|||
# adverb: unclassified adverbs
|
||||
#副詞
|
||||
#
|
||||
# adverb-misc: Words that can be segmented into one unit and where adnominal
|
||||
# adverb-misc: Words that can be segmented into one unit and where adnominal
|
||||
# modification is not possible.
|
||||
# e.g. あいかわらず, 多分
|
||||
#副詞-一般
|
||||
#
|
||||
# adverb-particle_conjunction: Adverbs that can be followed by の, は, に,
|
||||
# adverb-particle_conjunction: Adverbs that can be followed by の, は, に,
|
||||
# な, する, だ, etc.
|
||||
# e.g. こんなに, そんなに, あんなに, なにか, なんでも
|
||||
#副詞-助詞類接続
|
||||
#
|
||||
#####
|
||||
# adnominal: Words that only have noun-modifying forms.
|
||||
# e.g. この, その, あの, どの, いわゆる, なんらかの, 何らかの, いろんな, こういう, そういう, ああいう,
|
||||
# どういう, こんな, そんな, あんな, どんな, 大きな, 小さな, おかしな, ほんの, たいした,
|
||||
# e.g. この, その, あの, どの, いわゆる, なんらかの, 何らかの, いろんな, こういう, そういう, ああいう,
|
||||
# どういう, こんな, そんな, あんな, どんな, 大きな, 小さな, おかしな, ほんの, たいした,
|
||||
# 「(, も) さる (ことながら)」, 微々たる, 堂々たる, 単なる, いかなる, 我が」「同じ, 亡き
|
||||
#連体詞
|
||||
#
|
||||
|
@ -279,27 +279,27 @@
|
|||
# e.g. から, が, で, と, に, へ, より, を, の, にて
|
||||
助詞-格助詞-一般
|
||||
#
|
||||
# particle-case-quote: the "to" that appears after nouns, a person’s speech,
|
||||
# particle-case-quote: the "to" that appears after nouns, a person’s speech,
|
||||
# quotation marks, expressions of decisions from a meeting, reasons, judgements,
|
||||
# conjectures, etc.
|
||||
# e.g. ( だ) と (述べた.), ( である) と (して執行猶予...)
|
||||
助詞-格助詞-引用
|
||||
#
|
||||
# particle-case-compound: Compounds of particles and verbs that mainly behave
|
||||
# particle-case-compound: Compounds of particles and verbs that mainly behave
|
||||
# like case particles.
|
||||
# e.g. という, といった, とかいう, として, とともに, と共に, でもって, にあたって, に当たって, に当って,
|
||||
# にあたり, に当たり, に当り, に当たる, にあたる, において, に於いて,に於て, における, に於ける,
|
||||
# にかけ, にかけて, にかんし, に関し, にかんして, に関して, にかんする, に関する, に際し,
|
||||
# に際して, にしたがい, に従い, に従う, にしたがって, に従って, にたいし, に対し, にたいして,
|
||||
# にあたり, に当たり, に当り, に当たる, にあたる, において, に於いて,に於て, における, に於ける,
|
||||
# にかけ, にかけて, にかんし, に関し, にかんして, に関して, にかんする, に関する, に際し,
|
||||
# に際して, にしたがい, に従い, に従う, にしたがって, に従って, にたいし, に対し, にたいして,
|
||||
# に対して, にたいする, に対する, について, につき, につけ, につけて, につれ, につれて, にとって,
|
||||
# にとり, にまつわる, によって, に依って, に因って, により, に依り, に因り, による, に依る, に因る,
|
||||
# にとり, にまつわる, によって, に依って, に因って, により, に依り, に因り, による, に依る, に因る,
|
||||
# にわたって, にわたる, をもって, を以って, を通じ, を通じて, を通して, をめぐって, をめぐり, をめぐる,
|
||||
# って-口語/, ちゅう-関西弁「という」/, (何) ていう (人)-口語/, っていう-口語/, といふ, とかいふ
|
||||
助詞-格助詞-連語
|
||||
#
|
||||
# particle-conjunctive:
|
||||
# e.g. から, からには, が, けれど, けれども, けど, し, つつ, て, で, と, ところが, どころか, とも, ども,
|
||||
# ながら, なり, ので, のに, ば, ものの, や ( した), やいなや, (ころん) じゃ(いけない)-口語/,
|
||||
# e.g. から, からには, が, けれど, けれども, けど, し, つつ, て, で, と, ところが, どころか, とも, ども,
|
||||
# ながら, なり, ので, のに, ば, ものの, や ( した), やいなや, (ころん) じゃ(いけない)-口語/,
|
||||
# (行っ) ちゃ(いけない)-口語/, (言っ) たって (しかたがない)-口語/, (それがなく)ったって (平気)-口語/
|
||||
助詞-接続助詞
|
||||
#
|
||||
|
@ -308,9 +308,9 @@
|
|||
助詞-係助詞
|
||||
#
|
||||
# particle-adverbial:
|
||||
# e.g. がてら, かも, くらい, 位, ぐらい, しも, (学校) じゃ(これが流行っている)-口語/,
|
||||
# e.g. がてら, かも, くらい, 位, ぐらい, しも, (学校) じゃ(これが流行っている)-口語/,
|
||||
# (それ)じゃあ (よくない)-口語/, ずつ, (私) なぞ, など, (私) なり (に), (先生) なんか (大嫌い)-口語/,
|
||||
# (私) なんぞ, (先生) なんて (大嫌い)-口語/, のみ, だけ, (私) だって-口語/, だに,
|
||||
# (私) なんぞ, (先生) なんて (大嫌い)-口語/, のみ, だけ, (私) だって-口語/, だに,
|
||||
# (彼)ったら-口語/, (お茶) でも (いかが), 等 (とう), (今後) とも, ばかり, ばっか-口語/, ばっかり-口語/,
|
||||
# ほど, 程, まで, 迄, (誰) も (が)([助詞-格助詞] および [助詞-係助詞] の前に位置する「も」)
|
||||
助詞-副助詞
|
||||
|
@ -324,11 +324,11 @@
|
|||
助詞-並立助詞
|
||||
#
|
||||
# particle-final:
|
||||
# e.g. かい, かしら, さ, ぜ, (だ)っけ-口語/, (とまってる) で-方言/, な, ナ, なあ-口語/, ぞ, ね, ネ,
|
||||
# e.g. かい, かしら, さ, ぜ, (だ)っけ-口語/, (とまってる) で-方言/, な, ナ, なあ-口語/, ぞ, ね, ネ,
|
||||
# ねぇ-口語/, ねえ-口語/, ねん-方言/, の, のう-口語/, や, よ, ヨ, よぉ-口語/, わ, わい-口語/
|
||||
助詞-終助詞
|
||||
#
|
||||
# particle-adverbial/conjunctive/final: The particle "ka" when unknown whether it is
|
||||
# particle-adverbial/conjunctive/final: The particle "ka" when unknown whether it is
|
||||
# adverbial, conjunctive, or sentence final. For example:
|
||||
# (a) 「A か B か」. Ex:「(国内で運用する) か,(海外で運用する) か (.)」
|
||||
# (b) Inside an adverb phrase. Ex:「(幸いという) か (, 死者はいなかった.)」
|
||||
|
@ -337,16 +337,16 @@
|
|||
# e.g. か
|
||||
助詞-副助詞/並立助詞/終助詞
|
||||
#
|
||||
# particle-adnominalizer: The "no" that attaches to nouns and modifies
|
||||
# particle-adnominalizer: The "no" that attaches to nouns and modifies
|
||||
# non-inflectional words.
|
||||
助詞-連体化
|
||||
#
|
||||
# particle-adnominalizer: The "ni" and "to" that appear following nouns and adverbs
|
||||
# particle-adnominalizer: The "ni" and "to" that appear following nouns and adverbs
|
||||
# that are giongo, giseigo, or gitaigo.
|
||||
# e.g. に, と
|
||||
助詞-副詞化
|
||||
#
|
||||
# particle-special: A particle that does not fit into one of the above classifications.
|
||||
# particle-special: A particle that does not fit into one of the above classifications.
|
||||
# This includes particles that are used in Tanka, Haiku, and other poetry.
|
||||
# e.g. かな, けむ, ( しただろう) に, (あんた) にゃ(わからん), (俺) ん (家)
|
||||
助詞-特殊
|
||||
|
@ -357,7 +357,7 @@
|
|||
#
|
||||
#####
|
||||
# interjection: Greetings and other exclamations.
|
||||
# e.g. おはよう, おはようございます, こんにちは, こんばんは, ありがとう, どうもありがとう, ありがとうございます,
|
||||
# e.g. おはよう, おはようございます, こんにちは, こんばんは, ありがとう, どうもありがとう, ありがとうございます,
|
||||
# いただきます, ごちそうさま, さよなら, さようなら, はい, いいえ, ごめん, ごめんなさい
|
||||
#感動詞
|
||||
#
|
||||
|
@ -395,7 +395,7 @@
|
|||
# other: unclassified other
|
||||
#その他
|
||||
#
|
||||
# other-interjection: Words that are hard to classify as noun-suffixes or
|
||||
# other-interjection: Words that are hard to classify as noun-suffixes or
|
||||
# sentence-final particles.
|
||||
# e.g. (だ)ァ
|
||||
その他-間投
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# See http://members.unine.ch/jacques.savoy/clef/index.html.
|
||||
# Also see http://www.opensource.org/licenses/bsd-license.html
|
||||
# Cleaned on October 11, 2009 (not normalized, so use before normalization)
|
||||
# This means that when modifying this list, you might need to add some
|
||||
# This means that when modifying this list, you might need to add some
|
||||
# redundant entries, for example containing forms with both أ and ا
|
||||
من
|
||||
ومن
|
||||
|
|
|
@ -88,7 +88,7 @@ havia
|
|||
he
|
||||
hem
|
||||
heu
|
||||
hi
|
||||
hi
|
||||
ho
|
||||
i
|
||||
igual
|
||||
|
@ -142,7 +142,7 @@ pels
|
|||
per
|
||||
però
|
||||
perquè
|
||||
poc
|
||||
poc
|
||||
poca
|
||||
pocs
|
||||
poques
|
||||
|
@ -151,7 +151,7 @@ propi
|
|||
qual
|
||||
quals
|
||||
quan
|
||||
quant
|
||||
quant
|
||||
que
|
||||
què
|
||||
quelcom
|
||||
|
@ -166,7 +166,7 @@ sa
|
|||
semblant
|
||||
semblants
|
||||
ses
|
||||
seu
|
||||
seu
|
||||
seus
|
||||
seva
|
||||
seva
|
||||
|
@ -177,9 +177,9 @@ sobretot
|
|||
sóc
|
||||
solament
|
||||
sols
|
||||
son
|
||||
son
|
||||
són
|
||||
sons
|
||||
sons
|
||||
sota
|
||||
sou
|
||||
t'ha
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Lucene Greek Stopwords list
|
||||
# Note: by default this file is used after GreekLowerCaseFilter,
|
||||
# so when modifying this file use 'σ' instead of 'ς'
|
||||
# so when modifying this file use 'σ' instead of 'ς'
|
||||
ο
|
||||
η
|
||||
το
|
||||
|
@ -11,7 +11,7 @@
|
|||
των
|
||||
τον
|
||||
την
|
||||
και
|
||||
και
|
||||
κι
|
||||
κ
|
||||
ειμαι
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
| - This notice was added.
|
||||
|
|
||||
| NOTE: To use this file with StopFilterFactory, you must specify format="snowball"
|
||||
|
||||
|
||||
| forms of BE
|
||||
|
||||
olla
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# Also see http://www.opensource.org/licenses/bsd-license.html
|
||||
# See http://members.unine.ch/jacques.savoy/clef/index.html.
|
||||
# This file was created by Jacques Savoy and is distributed under the BSD license.
|
||||
# Note: by default this file also contains forms normalized by HindiNormalizer
|
||||
# for spelling variation (see section below), such that it can be used whether or
|
||||
# Note: by default this file also contains forms normalized by HindiNormalizer
|
||||
# for spelling variation (see section below), such that it can be used whether or
|
||||
# not you enable that feature. When adding additional entries to this list,
|
||||
# please add the normalized form as well.
|
||||
# please add the normalized form as well.
|
||||
अंदर
|
||||
अत
|
||||
अपना
|
||||
|
@ -14,7 +14,7 @@
|
|||
आदि
|
||||
आप
|
||||
इत्यादि
|
||||
इन
|
||||
इन
|
||||
इनका
|
||||
इन्हीं
|
||||
इन्हें
|
||||
|
@ -111,7 +111,7 @@
|
|||
नीचे
|
||||
ने
|
||||
पर
|
||||
पर
|
||||
पर
|
||||
पहले
|
||||
पूरा
|
||||
पे
|
||||
|
@ -133,7 +133,7 @@
|
|||
यहाँ
|
||||
यही
|
||||
या
|
||||
यिह
|
||||
यिह
|
||||
ये
|
||||
रखें
|
||||
रहा
|
||||
|
@ -145,11 +145,11 @@
|
|||
व
|
||||
वर्ग
|
||||
वह
|
||||
वह
|
||||
वह
|
||||
वहाँ
|
||||
वहीं
|
||||
वाले
|
||||
वुह
|
||||
वुह
|
||||
वे
|
||||
वग़ैरह
|
||||
संग
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
| - This notice was added.
|
||||
|
|
||||
| NOTE: To use this file with StopFilterFactory, you must specify format="snowball"
|
||||
|
||||
|
||||
| Hungarian stop word list
|
||||
| prepared by Anna Tordai
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Set of Latvian stopwords from A Stemming Algorithm for Latvian, Karlis Kreslins
|
||||
# the original list of over 800 forms was refined:
|
||||
# the original list of over 800 forms was refined:
|
||||
# pronouns, adverbs, interjections were removed
|
||||
#
|
||||
#
|
||||
# prepositions
|
||||
aiz
|
||||
ap
|
||||
|
@ -101,8 +101,8 @@ tak
|
|||
iekams
|
||||
vien
|
||||
# modal verbs
|
||||
būt
|
||||
biju
|
||||
būt
|
||||
biju
|
||||
biji
|
||||
bija
|
||||
bijām
|
||||
|
@ -110,8 +110,8 @@ bijāt
|
|||
esmu
|
||||
esi
|
||||
esam
|
||||
esat
|
||||
būšu
|
||||
esat
|
||||
būšu
|
||||
būsi
|
||||
būs
|
||||
būsim
|
||||
|
|
|
@ -121,7 +121,7 @@ ieri
|
|||
îl
|
||||
îmi
|
||||
împotriva
|
||||
în
|
||||
în
|
||||
înainte
|
||||
înaintea
|
||||
încât
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
# - Supplemental Punctuation: http://www.unicode.org/charts/PDF/U2E00.pdf
|
||||
# - Alphabetic Presentation Forms: http://www.unicode.org/charts/PDF/UFB00.pdf
|
||||
# - Halfwidth and Fullwidth Forms: http://www.unicode.org/charts/PDF/UFF00.pdf
|
||||
#
|
||||
#
|
||||
# See: http://en.wikipedia.org/wiki/Latin_characters_in_Unicode
|
||||
#
|
||||
# The set of character conversions supported by this map is a superset of
|
||||
|
@ -3785,11 +3785,11 @@
|
|||
#
|
||||
# use warnings;
|
||||
# use strict;
|
||||
#
|
||||
#
|
||||
# my @source_chars = ();
|
||||
# my @source_char_descriptions = ();
|
||||
# my $target = '';
|
||||
#
|
||||
#
|
||||
# while (<>) {
|
||||
# if (/case\s+'(\\u[A-F0-9]+)':\s*\/\/\s*(.*)/i) {
|
||||
# push @source_chars, $1;
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<schema name="example" version="1.3">
|
||||
|
||||
|
||||
<types>
|
||||
<!-- The StrField type is not analyzed, but indexed/stored verbatim. -->
|
||||
<fieldType name="string" class="solr.StrField" sortMissingLast="true" omitNorms="true"/>
|
||||
|
||||
<!-- boolean type: "true" or "false" -->
|
||||
<fieldType name="boolean" class="solr.BoolField" sortMissingLast="true" omitNorms="true"/>
|
||||
|
||||
|
||||
<!--Binary data type. The data should be sent/retrieved in as Base64 encoded Strings -->
|
||||
<fieldtype name="binary" class="solr.BinaryField"/>
|
||||
|
||||
|
||||
<fieldType name="int" class="solr.TrieIntField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/>
|
||||
<fieldType name="float" class="solr.TrieFloatField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/>
|
||||
<fieldType name="long" class="solr.TrieLongField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/>
|
||||
<fieldType name="double" class="solr.TrieDoubleField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/>
|
||||
<fieldType name="double" class="solr.TrieDoubleField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/>
|
||||
<!-- A Trie based int field -->
|
||||
<fieldType name="tint" class="solr.TrieIntField" precisionStep="8" omitNorms="true" positionIncrementGap="0" sortMissingLast="true"/>
|
||||
<fieldType name="date" class="solr.TrieDateField" omitNorms="true" precisionStep="0" positionIncrementGap="0"/>
|
||||
|
@ -22,63 +22,63 @@
|
|||
<fieldType name="tdate" class="solr.TrieDateField" omitNorms="true" precisionStep="6" positionIncrementGap="0"/>
|
||||
|
||||
<fieldType name="random" class="solr.RandomSortField" indexed="true" />
|
||||
|
||||
|
||||
<fieldType name="text" class="solr.TextField" positionIncrementGap="100" autoGeneratePhraseQueries="true">
|
||||
<analyzer type="index">
|
||||
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
||||
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
||||
<filter class="solr.ASCIIFoldingFilterFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/>
|
||||
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1"
|
||||
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1"
|
||||
catenateWords="1" catenateNumbers="1" catenateAll="0"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
<filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/>
|
||||
<filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/>
|
||||
<filter class="solr.SnowballPorterFilterFactory" language="English" protected="protwords.txt"/>
|
||||
</analyzer>
|
||||
<analyzer type="query">
|
||||
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
||||
<filter class="solr.ASCIIFoldingFilterFactory"/>
|
||||
<filter class="solr.ASCIIFoldingFilterFactory"/>
|
||||
<filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/>
|
||||
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1"
|
||||
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1"
|
||||
catenateWords="0" catenateNumbers="0" catenateAll="0"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
<filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/>
|
||||
<filter class="solr.SnowballPorterFilterFactory" language="English" protected="protwords.txt"/>
|
||||
<filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/>
|
||||
<filter class="solr.SnowballPorterFilterFactory" language="English" protected="protwords.txt"/>
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
|
||||
|
||||
<fieldType name="text_unstemmed" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" enablePositionIncrements="true" />
|
||||
|
||||
|
||||
<!-- This field intentionally sets solr.WordDelimiterFilterFactory splitOnCaseChange to 0/false because of issue NIHVIVO-3332 -->
|
||||
<filter class="solr.WordDelimiterFilterFactory"
|
||||
generateWordParts="1" generateNumberParts="1" catenateWords="0"
|
||||
<filter class="solr.WordDelimiterFilterFactory"
|
||||
generateWordParts="1" generateNumberParts="1" catenateWords="0"
|
||||
catenateNumbers="0" catenateAll="0" splitOnCaseChange="0" />
|
||||
<filter class="solr.ASCIIFoldingFilterFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
</analyzer>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- Like text, but without synonyms. Good for autocomplete matching of book/grant titles, etc.,
|
||||
where we want to remove stop words and stem. -->
|
||||
<fieldType name="text_stemmed" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true"
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true"
|
||||
words="stopwords-name.txt" enablePositionIncrements="true" />
|
||||
<filter class="solr.WordDelimiterFilterFactory"
|
||||
generateWordParts="1" generateNumberParts="1" catenateWords="0"
|
||||
<filter class="solr.WordDelimiterFilterFactory"
|
||||
generateWordParts="1" generateNumberParts="1" catenateWords="0"
|
||||
catenateNumbers="0" catenateAll="0" splitOnCaseChange="1" />
|
||||
<filter class="solr.ASCIIFoldingFilterFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
<filter class="solr.SnowballPorterFilterFactory" language="English" protected="protwords.txt"/>
|
||||
<filter class="solr.ASCIIFoldingFilterFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
<filter class="solr.SnowballPorterFilterFactory" language="English" protected="protwords.txt"/>
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- A general unstemmed text field - good if one does not know the language of the field -->
|
||||
<fieldType name="textgen" class="solr.TextField" positionIncrementGap="100">
|
||||
|
@ -99,7 +99,7 @@
|
|||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
|
||||
<fieldtype name="phonetic" stored="false" indexed="true" class="solr.TextField" >
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
|
@ -118,54 +118,54 @@
|
|||
</fieldType>
|
||||
|
||||
<!-- since fields of this type are by default not stored or indexed,
|
||||
any data added to them will be ignored outright. -->
|
||||
any data added to them will be ignored outright. -->
|
||||
<fieldtype name="ignored" stored="false" indexed="false" multiValued="true" class="solr.StrField" />
|
||||
|
||||
|
||||
<fieldtype name="edgengram_untokenized" class="solr.TextField">
|
||||
<analyzer type="index">
|
||||
<tokenizer class="solr.KeywordTokenizerFactory"/>
|
||||
<tokenizer class="solr.KeywordTokenizerFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory" />
|
||||
<filter class="solr.EdgeNGramFilterFactory" minGramSize="2" maxGramSize="25" side="front"/>
|
||||
</analyzer>
|
||||
<analyzer type="query">
|
||||
<tokenizer class="solr.KeywordTokenizerFactory"/>
|
||||
<tokenizer class="solr.KeywordTokenizerFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory" />
|
||||
</analyzer>
|
||||
</analyzer>
|
||||
</fieldtype>
|
||||
|
||||
<fieldtype name="edgengram_stemmed" class="solr.TextField">
|
||||
<analyzer type="index">
|
||||
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
||||
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true"
|
||||
words="stopwords-name.txt" enablePositionIncrements="true" />
|
||||
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1"
|
||||
generateNumberParts="1" catenateWords="0"
|
||||
catenateNumbers="0" catenateAll="0"
|
||||
splitOnCaseChange="1" />
|
||||
words="stopwords-name.txt" enablePositionIncrements="true" />
|
||||
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1"
|
||||
generateNumberParts="1" catenateWords="0"
|
||||
catenateNumbers="0" catenateAll="0"
|
||||
splitOnCaseChange="1" />
|
||||
<filter class="solr.LowerCaseFilterFactory" />
|
||||
<filter class="solr.SnowballPorterFilterFactory" language="English" protected="protwords.txt"/>
|
||||
<filter class="solr.SnowballPorterFilterFactory" language="English" protected="protwords.txt"/>
|
||||
<filter class="solr.EdgeNGramFilterFactory" minGramSize="1" maxGramSize="25" side="front"/>
|
||||
</analyzer>
|
||||
<analyzer type="query">
|
||||
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
||||
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true"
|
||||
words="stopwords-name.txt" enablePositionIncrements="true" />
|
||||
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1"
|
||||
generateNumberParts="1" catenateWords="0"
|
||||
catenateNumbers="0" catenateAll="0"
|
||||
splitOnCaseChange="1" />
|
||||
words="stopwords-name.txt" enablePositionIncrements="true" />
|
||||
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1"
|
||||
generateNumberParts="1" catenateWords="0"
|
||||
catenateNumbers="0" catenateAll="0"
|
||||
splitOnCaseChange="1" />
|
||||
<filter class="solr.LowerCaseFilterFactory" />
|
||||
<filter class="solr.SnowballPorterFilterFactory" language="English" protected="protwords.txt"/>
|
||||
</analyzer>
|
||||
</fieldtype>
|
||||
|
||||
<filter class="solr.SnowballPorterFilterFactory" language="English" protected="protwords.txt"/>
|
||||
</analyzer>
|
||||
</fieldtype>
|
||||
|
||||
</types>
|
||||
|
||||
|
||||
<fields>
|
||||
<!-- Valid attributes for fields:
|
||||
name: mandatory - the name for the field
|
||||
type: mandatory - the name of a previously defined type from the
|
||||
type: mandatory - the name of a previously defined type from the
|
||||
<types> section
|
||||
indexed: true if this field should be indexed (searchable or sortable)
|
||||
stored: true if this field should be retrievable
|
||||
|
@ -178,93 +178,93 @@
|
|||
given field.
|
||||
When using MoreLikeThis, fields used for similarity should be
|
||||
stored for best performance.
|
||||
termPositions: Store position information with the term vector.
|
||||
termPositions: Store position information with the term vector.
|
||||
This will increase storage costs.
|
||||
termOffsets: Store offset information with the term vector. This
|
||||
termOffsets: Store offset information with the term vector. This
|
||||
will increase storage costs.
|
||||
default: a value that should be used if no value is specified
|
||||
when adding a document.
|
||||
-->
|
||||
|
||||
<!-- **************************** Vitro Fields *************************** -->
|
||||
|
||||
<field name="DocId" type="string" indexed="true" stored="true" required="true" omitNorms="true"/>
|
||||
|
||||
|
||||
<field name="DocId" type="string" indexed="true" stored="true" required="true" omitNorms="true"/>
|
||||
|
||||
<field name="type" type="string" indexed="true" stored="true" omitNorms="true" multiValued="true"/>
|
||||
|
||||
|
||||
<field name="classgroup" type="string" indexed="true" stored="true" multiValued="true"/>
|
||||
|
||||
<field name="mostSpecificTypeURIs" type="string" indexed="true" stored="true" omitNorms="true" multiValued="true"/>
|
||||
|
||||
<field name="PROHIBITED_FROM_TEXT_RESULTS" type="string" indexed="true" stored="false" omitNorms="true" multiValued="true"/>
|
||||
<field name="URI" type="string" indexed="true" stored="true" multiValued="false" omitNorms="true"/>
|
||||
|
||||
|
||||
<field name="nameRaw" type="string" indexed="false" stored="true" multiValued="true"/>
|
||||
|
||||
|
||||
<!-- nameText added for NIHVIVO-3701 -->
|
||||
<field name="nameText" type="text" indexed="true" stored="false" multiValued="true"/>
|
||||
|
||||
|
||||
<field name="nameLowercase" type="lowercase" indexed="true" stored="false" multiValued="true"/>
|
||||
<!-- A sortable version of nameLowercase -->
|
||||
<field name="nameLowercaseSingleValued" type="lowercase" indexed="true" stored="false" multiValued="false" omitNorms="true" />
|
||||
<field name="nameLowercaseSingleValued" type="lowercase" indexed="true" stored="false" multiValued="false" omitNorms="true" />
|
||||
<field name="nameUnstemmed" type="text_unstemmed" indexed="true" stored="false" multiValued="true"/>
|
||||
<field name="nameStemmed" type="text_stemmed" indexed="true" stored="false" multiValued="true"/>
|
||||
|
||||
<field name="nameStemmed" type="text_stemmed" indexed="true" stored="false" multiValued="true"/>
|
||||
|
||||
<!-- Autocomplete search fields -->
|
||||
<field name="acNameUntokenized" type="edgengram_untokenized" indexed="true" stored="false" multiValued="true" />
|
||||
<field name="acNameStemmed" type="edgengram_stemmed" indexed="true" stored="false" multiValued="true" />
|
||||
|
||||
|
||||
<field name="indexedTime" type="long" indexed="true" stored="true"/>
|
||||
<field name="NAME_PHONETIC" type ="phonetic" indexed="true" stored="false" multiValued="true"/>
|
||||
|
||||
|
||||
<field name="ALLTEXT" type="text" indexed="true" stored="true" multiValued="true"/>
|
||||
<field name="ALLTEXTUNSTEMMED" type="textgen" indexed="true" stored="false" multiValued="true"/>
|
||||
|
||||
|
||||
<field name="THUMBNAIL" type="string" indexed="true" stored="true"/>
|
||||
|
||||
|
||||
<field name="BETA" type="float" indexed="true" stored="true" multiValued="false"/>
|
||||
|
||||
|
||||
<!-- field for storing locations of thumbnails -->
|
||||
<field name="THUMBNAIL_URL" type="string" indexed="false" stored="true"/>
|
||||
|
||||
|
||||
<!-- field for source institution's url -->
|
||||
<field name="siteURL" type="string" indexed="true" stored="true"/>
|
||||
|
||||
|
||||
<!-- field for source institution's name -->
|
||||
<field name="siteName" type="string" indexed="true" stored="true"/>
|
||||
|
||||
|
||||
<!-- field for preferred title -->
|
||||
<field name="PREFERRED_TITLE" type="string" indexed="true" stored="true" multiValued="true"/>
|
||||
|
||||
<!-- Copy nameRaw into several other fields -->
|
||||
|
||||
<!-- Copy nameRaw into several other fields -->
|
||||
<copyField source="nameRaw" dest="nameStemmed" />
|
||||
<copyField source="nameRaw" dest="nameUnstemmed" />
|
||||
<copyField source="nameRaw" dest="nameLowercase" />
|
||||
<copyField source="nameRaw" dest="NAME_PHONETIC" />
|
||||
<copyField source="nameRaw" dest="acNameUntokenized" />
|
||||
<copyField source="nameRaw" dest="acNameStemmed" />
|
||||
<copyField source="nameRaw" dest="acNameStemmed" />
|
||||
<copyField source="nameRaw" dest="nameText" />
|
||||
<!-- nameLowercaseSingleValued is not copied from nameRaw becasue nameRaw might have multiple values -->
|
||||
|
||||
|
||||
<!-- field for hash signature, used for comparing to versions from external caches -->
|
||||
<field name="etag" type="string" stored="true" indexed="false" multiValued="false" />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- **************************** End Vitro Fields *************************** -->
|
||||
<!-- **************************** Dynamic Fields *************************** -->
|
||||
<dynamicField name="*_string" type="string" indexed="true" stored="true" multiValued="true"/>
|
||||
<dynamicField name="*_text" type="text" indexed="true" stored="true" multiValued="true"/>
|
||||
<dynamicField name="*_tdate" type="tdate" indexed="true" stored="true" multiValued="true"/>
|
||||
<dynamicField name="*_tint" type="tint" indexed="true" stored="true" multiValued="true"/>
|
||||
|
||||
|
||||
<!-- **************************** End Dynamic Fields *************************** -->
|
||||
|
||||
|
||||
<field name="timestamp" type="date" indexed="true" stored="true" default="NOW" multiValued="false"/>
|
||||
|
||||
|
||||
<field name="timestamp" type="date" indexed="true" stored="true" default="NOW" multiValued="false"/>
|
||||
</fields>
|
||||
|
||||
<!-- Field to use to determine and enforce document uniqueness.
|
||||
<!-- Field to use to determine and enforce document uniqueness.
|
||||
Unless this field is marked with required="false", it will be a required field -->
|
||||
<uniqueKey>DocId</uniqueKey>
|
||||
|
||||
|
|
|
@ -16,10 +16,10 @@
|
|||
limitations under the License.
|
||||
-->
|
||||
|
||||
<!--
|
||||
<!--
|
||||
This is the Solr schema file. This file should be named "schema.xml" and
|
||||
should be in the conf directory under the solr home
|
||||
(i.e. ./solr/conf/schema.xml by default)
|
||||
(i.e. ./solr/conf/schema.xml by default)
|
||||
or located where the classloader for the Solr webapp can find it.
|
||||
|
||||
This example schema is the recommended starting point for users.
|
||||
|
@ -47,26 +47,26 @@
|
|||
|
||||
<schema name="example" version="1.5">
|
||||
<!-- attribute "name" is the name of this schema and is only used for display purposes.
|
||||
version="x.y" is Solr's version number for the schema syntax and
|
||||
version="x.y" is Solr's version number for the schema syntax and
|
||||
semantics. It should not normally be changed by applications.
|
||||
|
||||
1.0: multiValued attribute did not exist, all fields are multiValued
|
||||
1.0: multiValued attribute did not exist, all fields are multiValued
|
||||
by nature
|
||||
1.1: multiValued attribute introduced, false by default
|
||||
1.2: omitTermFreqAndPositions attribute introduced, true by default
|
||||
1.1: multiValued attribute introduced, false by default
|
||||
1.2: omitTermFreqAndPositions attribute introduced, true by default
|
||||
except for text fields.
|
||||
1.3: removed optional field compress feature
|
||||
1.4: autoGeneratePhraseQueries attribute introduced to drive QueryParser
|
||||
behavior when a single string produces multiple tokens. Defaults
|
||||
behavior when a single string produces multiple tokens. Defaults
|
||||
to off for version >= 1.4
|
||||
1.5: omitNorms defaults to true for primitive field types
|
||||
1.5: omitNorms defaults to true for primitive field types
|
||||
(int, float, boolean, string...)
|
||||
-->
|
||||
|
||||
<fields>
|
||||
<!-- Valid attributes for fields:
|
||||
name: mandatory - the name for the field
|
||||
type: mandatory - the name of a field type from the
|
||||
type: mandatory - the name of a field type from the
|
||||
<types> fieldType section
|
||||
indexed: true if this field should be indexed (searchable or sortable)
|
||||
stored: true if this field should be retrievable
|
||||
|
@ -89,9 +89,9 @@
|
|||
given field.
|
||||
When using MoreLikeThis, fields used for similarity should be
|
||||
stored for best performance.
|
||||
termPositions: Store position information with the term vector.
|
||||
termPositions: Store position information with the term vector.
|
||||
This will increase storage costs.
|
||||
termOffsets: Store offset information with the term vector. This
|
||||
termOffsets: Store offset information with the term vector. This
|
||||
will increase storage costs.
|
||||
required: The field is required. It will throw an error if the
|
||||
value does not exist
|
||||
|
@ -107,104 +107,104 @@
|
|||
-->
|
||||
|
||||
<!-- Only remove the "id" field if you have a very good reason to. While not strictly
|
||||
required, it is highly recommended. A <uniqueKey> is present in almost all Solr
|
||||
required, it is highly recommended. A <uniqueKey> is present in almost all Solr
|
||||
installations. See the <uniqueKey> declaration below where <uniqueKey> is set to "id".
|
||||
-->
|
||||
<!-- Replaced with VIVO's DocId -->
|
||||
|
||||
-->
|
||||
<!-- Replaced with VIVO's DocId -->
|
||||
|
||||
|
||||
<!-- VITRO:::::::::::::::::::::: Fields from original schema.xml -->
|
||||
<!-- **************************** Vitro Fields *************************** -->
|
||||
|
||||
<field name="DocId" type="string" indexed="true" stored="true" required="true" multiValued="false" omitNorms="true" />
|
||||
|
||||
|
||||
<field name="DocId" type="string" indexed="true" stored="true" required="true" multiValued="false" omitNorms="true" />
|
||||
|
||||
<field name="type" type="string" indexed="true" stored="true" omitNorms="true" multiValued="true"/>
|
||||
|
||||
|
||||
<field name="classgroup" type="string" indexed="true" stored="true" multiValued="true"/>
|
||||
|
||||
<field name="mostSpecificTypeURIs" type="string" indexed="true" stored="true" omitNorms="true" multiValued="true"/>
|
||||
|
||||
<field name="PROHIBITED_FROM_TEXT_RESULTS" type="string" indexed="true" stored="false" omitNorms="true" multiValued="true"/>
|
||||
<field name="URI" type="string" indexed="true" stored="true" multiValued="false" omitNorms="true"/>
|
||||
|
||||
|
||||
<field name="nameRaw" type="string" indexed="true" stored="true" multiValued="true" omitNorms="false"/>
|
||||
|
||||
|
||||
<!-- nameText added for NIHVIVO-3701 -->
|
||||
<field name="nameText" type="text" indexed="true" stored="false" multiValued="true"/>
|
||||
|
||||
|
||||
<field name="nameLowercase" type="lowercase" indexed="true" stored="false" multiValued="true" omitNorms="false"/>
|
||||
<!-- A sortable version of nameLowercase -->
|
||||
<field name="nameLowercaseSingleValued" type="lowercase" indexed="true" stored="false" multiValued="false" omitNorms="true" />
|
||||
<field name="nameLowercaseSingleValued" type="lowercase" indexed="true" stored="false" multiValued="false" omitNorms="true" />
|
||||
<field name="nameUnstemmed" type="text_unstemmed" indexed="true" stored="false" multiValued="true" omitNorms="false"/>
|
||||
<field name="nameStemmed" type="text_stemmed" indexed="true" stored="false" multiValued="true" omitNorms="false"/>
|
||||
|
||||
<field name="nameStemmed" type="text_stemmed" indexed="true" stored="false" multiValued="true" omitNorms="false"/>
|
||||
|
||||
<!-- Autocomplete search fields -->
|
||||
<field name="acNameUntokenized" type="edgengram_untokenized" indexed="true" stored="false" multiValued="true" />
|
||||
<field name="acNameStemmed" type="edgengram_stemmed" indexed="true" stored="false" multiValued="true" />
|
||||
|
||||
|
||||
<field name="indexedTime" type="long" indexed="true" stored="true"/>
|
||||
<field name="NAME_PHONETIC" type ="phonetic" indexed="true" stored="false" multiValued="true"/>
|
||||
|
||||
|
||||
<field name="ALLTEXT" type="text" indexed="true" stored="true" multiValued="true"/>
|
||||
<field name="ALLTEXTUNSTEMMED" type="textgen" indexed="true" stored="false" multiValued="true"/>
|
||||
|
||||
|
||||
<field name="THUMBNAIL" type="string" indexed="true" stored="true"/>
|
||||
|
||||
|
||||
<field name="BETA" type="float" indexed="true" stored="true" multiValued="false"/>
|
||||
|
||||
|
||||
<!-- field for storing locations of thumbnails -->
|
||||
<field name="THUMBNAIL_URL" type="string" indexed="false" stored="true"/>
|
||||
|
||||
|
||||
<!-- field for source institution's url -->
|
||||
<field name="siteURL" type="string" indexed="true" stored="true"/>
|
||||
|
||||
|
||||
<!-- field for source institution's name -->
|
||||
<field name="siteName" type="string" indexed="true" stored="true"/>
|
||||
|
||||
|
||||
<!-- field for preferred title -->
|
||||
<field name="PREFERRED_TITLE" type="string" indexed="true" stored="true" multiValued="true"/>
|
||||
|
||||
<!-- Copy nameRaw into several other fields -->
|
||||
|
||||
<!-- Copy nameRaw into several other fields -->
|
||||
<copyField source="nameRaw" dest="nameStemmed" />
|
||||
<copyField source="nameRaw" dest="nameUnstemmed" />
|
||||
<copyField source="nameRaw" dest="nameLowercase" />
|
||||
<copyField source="nameRaw" dest="NAME_PHONETIC" />
|
||||
<copyField source="nameRaw" dest="acNameUntokenized" />
|
||||
<copyField source="nameRaw" dest="acNameStemmed" />
|
||||
<copyField source="nameRaw" dest="acNameStemmed" />
|
||||
<copyField source="nameRaw" dest="nameText" />
|
||||
<!-- nameLowercaseSingleValued is not copied from nameRaw becasue nameRaw might have multiple values -->
|
||||
|
||||
|
||||
<!-- field for hash signature, used for comparing to versions from external caches -->
|
||||
<field name="etag" type="string" stored="true" indexed="false" multiValued="false" />
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- **************************** End Vitro Fields *************************** -->
|
||||
<!-- **************************** Dynamic Fields *************************** -->
|
||||
<dynamicField name="*_string" type="string" indexed="true" stored="true" multiValued="true"/>
|
||||
<dynamicField name="*_text" type="text" indexed="true" stored="true" multiValued="true"/>
|
||||
<dynamicField name="*_tdate" type="tdate" indexed="true" stored="true" multiValued="true"/>
|
||||
<dynamicField name="*_tint" type="tint" indexed="true" stored="true" multiValued="true"/>
|
||||
|
||||
|
||||
<!-- **************************** End Dynamic Fields *************************** -->
|
||||
|
||||
|
||||
<field name="timestamp" type="date" indexed="true" stored="true" default="NOW" multiValued="false"/>
|
||||
|
||||
|
||||
<field name="timestamp" type="date" indexed="true" stored="true" default="NOW" multiValued="false"/>
|
||||
<!-- VITRO:::::::::::::::::::::: Fields from original schema.xml -->
|
||||
|
||||
|
||||
|
||||
<!-- If you remove this field, you must _also_ disable the update log in solrconfig.xml
|
||||
or Solr won't start. _version_ and update log are required for SolrCloud
|
||||
-->
|
||||
-->
|
||||
<field name="_version_" type="long" indexed="true" stored="true"/>
|
||||
|
||||
|
||||
<!-- points to the root document of a block of nested documents. Required for nested
|
||||
document support, may be removed otherwise
|
||||
-->
|
||||
<field name="_root_" type="string" indexed="true" stored="false"/>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<field name="sku" type="text_en_splitting_tight" indexed="true" stored="true" omitNorms="true"/>
|
||||
<field name="name" type="text_general" indexed="true" stored="true"/>
|
||||
<field name="manu" type="text_general" indexed="true" stored="true" omitNorms="true"/>
|
||||
|
@ -246,7 +246,7 @@
|
|||
using copyField below. This is to save space. Use this field for returning and
|
||||
highlighting document content. Use the "text" field to search the content. -->
|
||||
<!-- field name="content" type="text_general" indexed="false" stored="true" multiValued="true"/-->
|
||||
|
||||
|
||||
|
||||
<!-- catchall field, containing all other searchable text fields (implemented
|
||||
via copyField further on in this schema -->
|
||||
|
@ -271,11 +271,11 @@
|
|||
-->
|
||||
|
||||
<!-- Dynamic field definitions allow using convention over configuration
|
||||
for fields via the specification of patterns to match field names.
|
||||
for fields via the specification of patterns to match field names.
|
||||
EXAMPLE: name="*_i" will match any field ending in _i (like myid_i, z_i)
|
||||
RESTRICTION: the glob-like pattern in the name attribute must have
|
||||
a "*" only at the start or the end. -->
|
||||
|
||||
|
||||
<dynamicField name="*_i" type="int" indexed="true" stored="true"/>
|
||||
<dynamicField name="*_is" type="int" indexed="true" stored="true" multiValued="true"/>
|
||||
<dynamicField name="*_s" type="string" indexed="true" stored="true" />
|
||||
|
@ -313,16 +313,16 @@
|
|||
|
||||
<dynamicField name="random_*" type="random" />
|
||||
|
||||
<!-- uncomment the following to ignore any fields that don't already match an existing
|
||||
field name or dynamic field, rather than reporting them as an error.
|
||||
alternately, change the type="ignored" to some other type e.g. "text" if you want
|
||||
unknown fields indexed and/or stored by default -->
|
||||
<!-- uncomment the following to ignore any fields that don't already match an existing
|
||||
field name or dynamic field, rather than reporting them as an error.
|
||||
alternately, change the type="ignored" to some other type e.g. "text" if you want
|
||||
unknown fields indexed and/or stored by default -->
|
||||
<!--dynamicField name="*" type="ignored" multiValued="true" /-->
|
||||
|
||||
|
||||
</fields>
|
||||
|
||||
|
||||
<!-- Field to use to determine and enforce document uniqueness.
|
||||
<!-- Field to use to determine and enforce document uniqueness.
|
||||
Unless this field is marked with required="false", it will be a required field
|
||||
-->
|
||||
<uniqueKey>DocId</uniqueKey>
|
||||
|
@ -369,17 +369,17 @@
|
|||
|
||||
<!-- Create a string version of author for faceting -->
|
||||
<!-- copyField source="author" dest="author_s"/-->
|
||||
|
||||
<!-- Above, multiple source fields are copied to the [text] field.
|
||||
Another way to map multiple source fields to the same
|
||||
destination field is to use the dynamic field syntax.
|
||||
|
||||
<!-- Above, multiple source fields are copied to the [text] field.
|
||||
Another way to map multiple source fields to the same
|
||||
destination field is to use the dynamic field syntax.
|
||||
copyField also supports a maxChars to copy setting. -->
|
||||
|
||||
|
||||
<!-- <copyField source="*_t" dest="text" maxChars="3000"/> -->
|
||||
|
||||
<!-- copy name to alphaNameSort, a field designed for sorting by name -->
|
||||
<!-- <copyField source="name" dest="alphaNameSort"/> -->
|
||||
|
||||
|
||||
<types>
|
||||
<!-- field type definitions. The "name" attribute is
|
||||
just a label to be used by field definitions. The "class"
|
||||
|
@ -412,7 +412,7 @@
|
|||
- If sortMissingLast="false" and sortMissingFirst="false" (the default),
|
||||
then default lucene sorting will be used which places docs without the
|
||||
field first in an ascending sort and last in a descending sort.
|
||||
-->
|
||||
-->
|
||||
|
||||
<!--
|
||||
Default numeric field types. For faster range queries, consider the tint/tfloat/tlong/tdouble types.
|
||||
|
@ -442,7 +442,7 @@
|
|||
|
||||
<!-- The format for this date field is of the form 1995-12-31T23:59:59Z, and
|
||||
is a more restricted form of the canonical representation of dateTime
|
||||
http://www.w3.org/TR/xmlschema-2/#dateTime
|
||||
http://www.w3.org/TR/xmlschema-2/#dateTime
|
||||
The trailing "Z" designates UTC time and is mandatory.
|
||||
Optional fractional seconds are allowed: 1995-12-31T23:59:59.999Z
|
||||
All other components are mandatory.
|
||||
|
@ -457,7 +457,7 @@
|
|||
NOW/DAY+6MONTHS+3DAYS
|
||||
... 6 months and 3 days in the future from the start of
|
||||
the current day
|
||||
|
||||
|
||||
Consult the DateField javadocs for more information.
|
||||
|
||||
Note: For faster range queries, consider the tdate type
|
||||
|
@ -473,11 +473,11 @@
|
|||
|
||||
<!-- The "RandomSortField" is not used to store or search any
|
||||
data. You can declare fields of this type it in your schema
|
||||
to generate pseudo-random orderings of your docs for sorting
|
||||
to generate pseudo-random orderings of your docs for sorting
|
||||
or function purposes. The ordering is generated based on the field
|
||||
name and the version of the index. As long as the index version
|
||||
remains unchanged, and the same field name is reused,
|
||||
the ordering of the docs will be consistent.
|
||||
the ordering of the docs will be consistent.
|
||||
If you want different psuedo-random orderings of documents,
|
||||
for the same version of the index, use a dynamicField and
|
||||
change the field name in the request.
|
||||
|
@ -506,60 +506,60 @@
|
|||
<!-- Copied from original schema.xml for solr 3/VIVO -->
|
||||
<fieldType name="text" class="solr.TextField" positionIncrementGap="100" autoGeneratePhraseQueries="true">
|
||||
<analyzer type="index">
|
||||
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
||||
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
||||
<filter class="solr.ASCIIFoldingFilterFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/>
|
||||
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1"
|
||||
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1"
|
||||
catenateWords="1" catenateNumbers="1" catenateAll="0"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
<filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/>
|
||||
<filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/>
|
||||
<filter class="solr.SnowballPorterFilterFactory" language="English" protected="protwords.txt"/>
|
||||
</analyzer>
|
||||
<analyzer type="query">
|
||||
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
||||
<filter class="solr.ASCIIFoldingFilterFactory"/>
|
||||
<filter class="solr.ASCIIFoldingFilterFactory"/>
|
||||
<filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt"/>
|
||||
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1"
|
||||
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1"
|
||||
catenateWords="0" catenateNumbers="0" catenateAll="0"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
<filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/>
|
||||
<filter class="solr.SnowballPorterFilterFactory" language="English" protected="protwords.txt"/>
|
||||
<filter class="solr.KeywordMarkerFilterFactory" protected="protwords.txt"/>
|
||||
<filter class="solr.SnowballPorterFilterFactory" language="English" protected="protwords.txt"/>
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
|
||||
|
||||
<fieldType name="text_unstemmed" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true" words="stopwords.txt" enablePositionIncrements="true" />
|
||||
|
||||
|
||||
<!-- This field intentionally sets solr.WordDelimiterFilterFactory splitOnCaseChange to 0/false because of issue NIHVIVO-3332 -->
|
||||
<filter class="solr.WordDelimiterFilterFactory"
|
||||
generateWordParts="1" generateNumberParts="1" catenateWords="0"
|
||||
<filter class="solr.WordDelimiterFilterFactory"
|
||||
generateWordParts="1" generateNumberParts="1" catenateWords="0"
|
||||
catenateNumbers="0" catenateAll="0" splitOnCaseChange="0" />
|
||||
<filter class="solr.ASCIIFoldingFilterFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
</analyzer>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- Like text, but without synonyms. Good for autocomplete matching of book/grant titles, etc.,
|
||||
where we want to remove stop words and stem. -->
|
||||
<fieldType name="text_stemmed" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true"
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true"
|
||||
words="stopwords-name.txt" enablePositionIncrements="true" />
|
||||
<filter class="solr.WordDelimiterFilterFactory"
|
||||
generateWordParts="1" generateNumberParts="1" catenateWords="0"
|
||||
<filter class="solr.WordDelimiterFilterFactory"
|
||||
generateWordParts="1" generateNumberParts="1" catenateWords="0"
|
||||
catenateNumbers="0" catenateAll="0" splitOnCaseChange="1" />
|
||||
<filter class="solr.ASCIIFoldingFilterFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
<filter class="solr.SnowballPorterFilterFactory" language="English" protected="protwords.txt"/>
|
||||
<filter class="solr.ASCIIFoldingFilterFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
<filter class="solr.SnowballPorterFilterFactory" language="English" protected="protwords.txt"/>
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- A general unstemmed text field - good if one does not know the language of the field -->
|
||||
<fieldType name="textgen" class="solr.TextField" positionIncrementGap="100">
|
||||
|
@ -579,7 +579,7 @@
|
|||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
|
||||
<!-- A text field that only splits on whitespace for exact matching of words -->
|
||||
<fieldType name="text_ws" class="solr.TextField" positionIncrementGap="100">
|
||||
|
@ -755,13 +755,13 @@
|
|||
<filter class="solr.TrimFilterFactory" />
|
||||
<!-- The PatternReplaceFilter gives you the flexibility to use
|
||||
Java Regular expression to replace any sequence of characters
|
||||
matching a pattern with an arbitrary replacement string,
|
||||
matching a pattern with an arbitrary replacement string,
|
||||
which may include back references to portions of the original
|
||||
string matched by the pattern.
|
||||
|
||||
|
||||
See the Java Regular Expression documentation for more
|
||||
information on pattern and replacement string syntax.
|
||||
|
||||
|
||||
http://java.sun.com/j2se/1.6.0/docs/api/java/util/regex/package-summary.html
|
||||
-->
|
||||
<filter class="solr.PatternReplaceFilterFactory"
|
||||
|
@ -769,7 +769,7 @@
|
|||
/>
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- This is from the original, unsure if this is what we want or not -->
|
||||
<fieldtype name="phonetic" stored="false" indexed="true" class="solr.TextField" >
|
||||
<analyzer>
|
||||
|
@ -777,7 +777,7 @@
|
|||
<filter class="solr.PhoneticFilterFactory" encoder="Metaphone" inject="false"/>
|
||||
</analyzer>
|
||||
</fieldtype>
|
||||
|
||||
|
||||
<!-- This is from the example schema.xml that I am commenting out for now -->
|
||||
<!-- fieldtype name="phonetic" stored="false" indexed="true" class="solr.TextField" >
|
||||
<analyzer>
|
||||
|
@ -792,7 +792,7 @@
|
|||
<!--
|
||||
The DelimitedPayloadTokenFilter can put payloads on tokens... for example,
|
||||
a token of "foo|1.4" would be indexed as "foo" with a payload of 1.4f
|
||||
Attributes of the DelimitedPayloadTokenFilterFactory :
|
||||
Attributes of the DelimitedPayloadTokenFilterFactory :
|
||||
"delimiter" - a one character delimiter. Default is | (pipe)
|
||||
"encoder" - how to encode the following value into a playload
|
||||
float -> org.apache.lucene.analysis.payloads.FloatEncoder,
|
||||
|
@ -824,7 +824,7 @@
|
|||
</analyzer>
|
||||
</fieldType-->
|
||||
|
||||
<!--
|
||||
<!--
|
||||
Example of using PathHierarchyTokenizerFactory at index time, so
|
||||
queries for paths match documents at that path, or in descendent paths
|
||||
-->
|
||||
|
@ -836,7 +836,7 @@
|
|||
<tokenizer class="solr.KeywordTokenizerFactory" />
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
<!--
|
||||
<!--
|
||||
Example of using PathHierarchyTokenizerFactory at query time, so
|
||||
queries for paths match documents at that path, or in ancestor paths
|
||||
-->
|
||||
|
@ -852,50 +852,50 @@
|
|||
<!-- Next 2 are from the original schema.xml -->
|
||||
<fieldtype name="edgengram_untokenized" class="solr.TextField">
|
||||
<analyzer type="index">
|
||||
<tokenizer class="solr.KeywordTokenizerFactory"/>
|
||||
<tokenizer class="solr.KeywordTokenizerFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory" />
|
||||
<filter class="solr.EdgeNGramFilterFactory" minGramSize="2" maxGramSize="25" side="front"/>
|
||||
</analyzer>
|
||||
<analyzer type="query">
|
||||
<tokenizer class="solr.KeywordTokenizerFactory"/>
|
||||
<tokenizer class="solr.KeywordTokenizerFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory" />
|
||||
</analyzer>
|
||||
</analyzer>
|
||||
</fieldtype>
|
||||
|
||||
<fieldtype name="edgengram_stemmed" class="solr.TextField">
|
||||
<analyzer type="index">
|
||||
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
||||
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true"
|
||||
words="stopwords-name.txt" enablePositionIncrements="true" />
|
||||
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1"
|
||||
generateNumberParts="1" catenateWords="0"
|
||||
catenateNumbers="0" catenateAll="0"
|
||||
splitOnCaseChange="1" />
|
||||
words="stopwords-name.txt" enablePositionIncrements="true" />
|
||||
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1"
|
||||
generateNumberParts="1" catenateWords="0"
|
||||
catenateNumbers="0" catenateAll="0"
|
||||
splitOnCaseChange="1" />
|
||||
<filter class="solr.LowerCaseFilterFactory" />
|
||||
<filter class="solr.SnowballPorterFilterFactory" language="English" protected="protwords.txt"/>
|
||||
<filter class="solr.SnowballPorterFilterFactory" language="English" protected="protwords.txt"/>
|
||||
<filter class="solr.EdgeNGramFilterFactory" minGramSize="1" maxGramSize="25" side="front"/>
|
||||
</analyzer>
|
||||
<analyzer type="query">
|
||||
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
||||
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true"
|
||||
words="stopwords-name.txt" enablePositionIncrements="true" />
|
||||
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1"
|
||||
generateNumberParts="1" catenateWords="0"
|
||||
catenateNumbers="0" catenateAll="0"
|
||||
splitOnCaseChange="1" />
|
||||
words="stopwords-name.txt" enablePositionIncrements="true" />
|
||||
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1"
|
||||
generateNumberParts="1" catenateWords="0"
|
||||
catenateNumbers="0" catenateAll="0"
|
||||
splitOnCaseChange="1" />
|
||||
<filter class="solr.LowerCaseFilterFactory" />
|
||||
<filter class="solr.SnowballPorterFilterFactory" language="English" protected="protwords.txt"/>
|
||||
</analyzer>
|
||||
</fieldtype>
|
||||
<filter class="solr.SnowballPorterFilterFactory" language="English" protected="protwords.txt"/>
|
||||
</analyzer>
|
||||
</fieldtype>
|
||||
|
||||
|
||||
<!-- since fields of this type are by default not stored or indexed,
|
||||
any data added to them will be ignored outright. -->
|
||||
any data added to them will be ignored outright. -->
|
||||
<fieldtype name="ignored" stored="false" indexed="false" multiValued="true" class="solr.StrField" />
|
||||
|
||||
<!-- This point type indexes the coordinates as separate fields (subFields)
|
||||
If subFieldType is defined, it references a type, and a dynamic field
|
||||
definition is created matching *___<typename>. Alternately, if
|
||||
definition is created matching *___<typename>. Alternately, if
|
||||
subFieldSuffix is defined, that is used to create the subFields.
|
||||
Example: if subFieldType="double", then the coordinates would be
|
||||
indexed in fields myloc_0___double,myloc_1___double.
|
||||
|
@ -928,14 +928,14 @@
|
|||
refreshInterval: Number of minutes between each rates fetch (default: 1440, min: 60)
|
||||
-->
|
||||
<fieldType name="currency" class="solr.CurrencyField" precisionStep="8" defaultCurrency="USD" currencyConfig="currency.xml" />
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- some examples for different languages (generally ordered by ISO code) -->
|
||||
|
||||
<!-- Arabic -->
|
||||
<fieldType name="text_ar" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
<!-- for any non-arabic -->
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
|
@ -948,26 +948,26 @@
|
|||
|
||||
<!-- Bulgarian -->
|
||||
<fieldType name="text_bg" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_bg.txt" />
|
||||
<filter class="solr.BulgarianStemFilterFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_bg.txt" />
|
||||
<filter class="solr.BulgarianStemFilterFactory"/>
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- Catalan -->
|
||||
<fieldType name="text_ca" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
<!-- removes l', etc -->
|
||||
<filter class="solr.ElisionFilterFactory" ignoreCase="true" articles="lang/contractions_ca.txt"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_ca.txt" />
|
||||
<filter class="solr.SnowballPorterFilterFactory" language="Catalan"/>
|
||||
<filter class="solr.SnowballPorterFilterFactory" language="Catalan"/>
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- CJK bigram (see text_ja for a Japanese configuration using morphological analysis) -->
|
||||
<fieldType name="text_cjk" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
|
@ -994,27 +994,27 @@
|
|||
|
||||
<!-- Czech -->
|
||||
<fieldType name="text_cz" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_cz.txt" />
|
||||
<filter class="solr.CzechStemFilterFactory"/>
|
||||
<filter class="solr.CzechStemFilterFactory"/>
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- Danish -->
|
||||
<fieldType name="text_da" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_da.txt" format="snowball" />
|
||||
<filter class="solr.SnowballPorterFilterFactory" language="Danish"/>
|
||||
<filter class="solr.SnowballPorterFilterFactory" language="Danish"/>
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- German -->
|
||||
<fieldType name="text_de" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_de.txt" format="snowball" />
|
||||
|
@ -1024,10 +1024,10 @@
|
|||
<!-- more aggressive: <filter class="solr.SnowballPorterFilterFactory" language="German2"/> -->
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- Greek -->
|
||||
<fieldType name="text_el" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
<!-- greek specific lowercase for sigma -->
|
||||
<filter class="solr.GreekLowerCaseFilterFactory"/>
|
||||
|
@ -1035,10 +1035,10 @@
|
|||
<filter class="solr.GreekStemFilterFactory"/>
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- Spanish -->
|
||||
<fieldType name="text_es" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_es.txt" format="snowball" />
|
||||
|
@ -1046,17 +1046,17 @@
|
|||
<!-- more aggressive: <filter class="solr.SnowballPorterFilterFactory" language="Spanish"/> -->
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- Basque -->
|
||||
<fieldType name="text_eu" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_eu.txt" />
|
||||
<filter class="solr.SnowballPorterFilterFactory" language="Basque"/>
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- Persian -->
|
||||
<fieldType name="text_fa" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
|
@ -1069,10 +1069,10 @@
|
|||
<filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_fa.txt" />
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- Finnish -->
|
||||
<fieldType name="text_fi" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_fi.txt" format="snowball" />
|
||||
|
@ -1080,10 +1080,10 @@
|
|||
<!-- less aggressive: <filter class="solr.FinnishLightStemFilterFactory"/> -->
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- French -->
|
||||
<fieldType name="text_fr" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
<!-- removes l', etc -->
|
||||
<filter class="solr.ElisionFilterFactory" ignoreCase="true" articles="lang/contractions_fr.txt"/>
|
||||
|
@ -1094,10 +1094,10 @@
|
|||
<!-- more aggressive: <filter class="solr.SnowballPorterFilterFactory" language="French"/> -->
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- Irish -->
|
||||
<fieldType name="text_ga" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
<!-- removes d', etc -->
|
||||
<filter class="solr.ElisionFilterFactory" ignoreCase="true" articles="lang/contractions_ga.txt"/>
|
||||
|
@ -1108,10 +1108,10 @@
|
|||
<filter class="solr.SnowballPorterFilterFactory" language="Irish"/>
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- Galician -->
|
||||
<fieldType name="text_gl" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_gl.txt" />
|
||||
|
@ -1119,10 +1119,10 @@
|
|||
<!-- less aggressive: <filter class="solr.GalicianMinimalStemFilterFactory"/> -->
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- Hindi -->
|
||||
<fieldType name="text_hi" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
<!-- normalizes unicode representation -->
|
||||
|
@ -1133,31 +1133,31 @@
|
|||
<filter class="solr.HindiStemFilterFactory"/>
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- Hungarian -->
|
||||
<fieldType name="text_hu" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_hu.txt" format="snowball" />
|
||||
<filter class="solr.SnowballPorterFilterFactory" language="Hungarian"/>
|
||||
<!-- less aggressive: <filter class="solr.HungarianLightStemFilterFactory"/> -->
|
||||
<!-- less aggressive: <filter class="solr.HungarianLightStemFilterFactory"/> -->
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- Armenian -->
|
||||
<fieldType name="text_hy" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_hy.txt" />
|
||||
<filter class="solr.SnowballPorterFilterFactory" language="Armenian"/>
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- Indonesian -->
|
||||
<fieldType name="text_id" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_id.txt" />
|
||||
|
@ -1165,10 +1165,10 @@
|
|||
<filter class="solr.IndonesianStemFilterFactory" stemDerivational="true"/>
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- Italian -->
|
||||
<fieldType name="text_it" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
<!-- removes l', etc -->
|
||||
<filter class="solr.ElisionFilterFactory" ignoreCase="true" articles="lang/contractions_it.txt"/>
|
||||
|
@ -1178,11 +1178,11 @@
|
|||
<!-- more aggressive: <filter class="solr.SnowballPorterFilterFactory" language="Italian"/> -->
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- Japanese using morphological analysis (see text_cjk for a configuration using bigramming)
|
||||
|
||||
NOTE: If you want to optimize search for precision, use default operator AND in your query
|
||||
parser config with <solrQueryParser defaultOperator="AND"/> further down in this file. Use
|
||||
parser config with <solrQueryParser defaultOperator="AND"/> further down in this file. Use
|
||||
OR if you would like to optimize for recall (default).
|
||||
-->
|
||||
<fieldType name="text_ja" class="solr.TextField" positionIncrementGap="100" autoGeneratePhraseQueries="false">
|
||||
|
@ -1231,20 +1231,20 @@
|
|||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- Latvian -->
|
||||
<fieldType name="text_lv" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_lv.txt" />
|
||||
<filter class="solr.LatvianStemFilterFactory"/>
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- Dutch -->
|
||||
<fieldType name="text_nl" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_nl.txt" format="snowball" />
|
||||
|
@ -1252,10 +1252,10 @@
|
|||
<filter class="solr.SnowballPorterFilterFactory" language="Dutch"/>
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- Norwegian -->
|
||||
<fieldType name="text_no" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_no.txt" format="snowball" />
|
||||
|
@ -1265,10 +1265,10 @@
|
|||
<!-- The "light" and "minimal" stemmers support variants: nb=Bokmål, nn=Nynorsk, no=Both -->
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- Portuguese -->
|
||||
<fieldType name="text_pt" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_pt.txt" format="snowball" />
|
||||
|
@ -1278,20 +1278,20 @@
|
|||
<!-- most aggressive: <filter class="solr.PortugueseStemFilterFactory"/> -->
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- Romanian -->
|
||||
<fieldType name="text_ro" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_ro.txt" />
|
||||
<filter class="solr.SnowballPorterFilterFactory" language="Romanian"/>
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- Russian -->
|
||||
<fieldType name="text_ru" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_ru.txt" format="snowball" />
|
||||
|
@ -1299,10 +1299,10 @@
|
|||
<!-- less aggressive: <filter class="solr.RussianLightStemFilterFactory"/> -->
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- Swedish -->
|
||||
<fieldType name="text_sv" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
<filter class="solr.LowerCaseFilterFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="true" words="lang/stopwords_sv.txt" format="snowball" />
|
||||
|
@ -1310,10 +1310,10 @@
|
|||
<!-- less aggressive: <filter class="solr.SwedishLightStemFilterFactory"/> -->
|
||||
</analyzer>
|
||||
</fieldType>
|
||||
|
||||
|
||||
<!-- Turkish -->
|
||||
<fieldType name="text_tr" class="solr.TextField" positionIncrementGap="100">
|
||||
<analyzer>
|
||||
<analyzer>
|
||||
<tokenizer class="solr.StandardTokenizerFactory"/>
|
||||
<filter class="solr.TurkishLowerCaseFilterFactory"/>
|
||||
<filter class="solr.StopFilterFactory" ignoreCase="false" words="lang/stopwords_tr.txt" />
|
||||
|
@ -1322,10 +1322,10 @@
|
|||
</fieldType>
|
||||
|
||||
</types>
|
||||
|
||||
|
||||
<!-- Similarity is the scoring routine for each document vs. a query.
|
||||
A custom Similarity or SimilarityFactory may be specified here, but
|
||||
the default is fine for most applications.
|
||||
A custom Similarity or SimilarityFactory may be specified here, but
|
||||
the default is fine for most applications.
|
||||
For more info: http://wiki.apache.org/solr/SchemaXml#Similarity
|
||||
-->
|
||||
<!--
|
||||
|
|
|
@ -16,9 +16,9 @@
|
|||
limitations under the License.
|
||||
-->
|
||||
|
||||
<!--
|
||||
<!--
|
||||
For more details about configurations options that may appear in
|
||||
this file, see http://wiki.apache.org/solr/SolrConfigXml.
|
||||
this file, see http://wiki.apache.org/solr/SolrConfigXml.
|
||||
-->
|
||||
<config>
|
||||
<!-- In all configuration below, a prefix of "solr." for class names
|
||||
|
@ -40,7 +40,7 @@
|
|||
-Dsolr.abortOnConfigurationError=false
|
||||
-->
|
||||
<abortOnConfigurationError>${solr.abortOnConfigurationError:true}</abortOnConfigurationError>
|
||||
|
||||
|
||||
<!-- Controls what version of Lucene various components of Solr
|
||||
adhere to. Generally, you want to use the latest version to
|
||||
get all bug fixes and improvements. It is highly recommended
|
||||
|
@ -60,7 +60,7 @@
|
|||
If a "./lib" directory exists in your instanceDir, all files
|
||||
found in it are included as if you had used the following
|
||||
syntax...
|
||||
|
||||
|
||||
<lib dir="./lib" />
|
||||
-->
|
||||
<!-- A dir option by itself adds any files found in the directory to
|
||||
|
@ -80,14 +80,14 @@
|
|||
is found that matches, it will be ignored
|
||||
-->
|
||||
<lib dir="../../contrib/clustering/lib/" />
|
||||
<lib dir="/total/crap/dir/ignored" />
|
||||
<lib dir="/total/crap/dir/ignored" />
|
||||
<!-- an exact path can be used to specify a specific file. This
|
||||
will cause a serious error to be logged if it can't be loaded.
|
||||
-->
|
||||
<!--
|
||||
<lib path="../a-jar-that-does-not-exist.jar" />
|
||||
<lib path="../a-jar-that-does-not-exist.jar" />
|
||||
-->
|
||||
|
||||
|
||||
<!-- Data Directory
|
||||
|
||||
Used to specify an alternate directory to hold all index data
|
||||
|
@ -99,12 +99,12 @@
|
|||
|
||||
|
||||
<!-- The DirectoryFactory to use for indexes.
|
||||
|
||||
|
||||
solr.StandardDirectoryFactory, the default, is filesystem
|
||||
based. solr.RAMDirectoryFactory is memory based, not
|
||||
persistent, and doesn't work with replication.
|
||||
-->
|
||||
<directoryFactory name="DirectoryFactory"
|
||||
<directoryFactory name="DirectoryFactory"
|
||||
class="${solr.directoryFactory:solr.StandardDirectoryFactory}"/>
|
||||
|
||||
|
||||
|
@ -126,7 +126,7 @@
|
|||
flushed to the Directory. -->
|
||||
<ramBufferSizeMB>32</ramBufferSizeMB>
|
||||
<!-- If both ramBufferSizeMB and maxBufferedDocs is set, then
|
||||
Lucene will flush based on whichever limit is hit first.
|
||||
Lucene will flush based on whichever limit is hit first.
|
||||
-->
|
||||
<!-- <maxBufferedDocs>1000</maxBufferedDocs> -->
|
||||
|
||||
|
@ -134,16 +134,16 @@
|
|||
<writeLockTimeout>1000</writeLockTimeout>
|
||||
<commitLockTimeout>10000</commitLockTimeout>
|
||||
|
||||
<!-- Expert: Merge Policy
|
||||
<!-- Expert: Merge Policy
|
||||
|
||||
The Merge Policy in Lucene controls how merging is handled by
|
||||
Lucene. The default in 2.3 is the LogByteSizeMergePolicy,
|
||||
previous versions used LogDocMergePolicy.
|
||||
|
||||
|
||||
LogByteSizeMergePolicy chooses segments to merge based on
|
||||
their size. The Lucene 2.2 default, LogDocMergePolicy chose
|
||||
when to merge based on number of documents
|
||||
|
||||
|
||||
Other implementations of MergePolicy must have a no-argument
|
||||
constructor
|
||||
-->
|
||||
|
@ -158,15 +158,15 @@
|
|||
can perform merges in the background using separate threads.
|
||||
The SerialMergeScheduler (Lucene 2.2 default) does not.
|
||||
-->
|
||||
<!--
|
||||
<!--
|
||||
<mergeScheduler class="org.apache.lucene.index.ConcurrentMergeScheduler"/>
|
||||
-->
|
||||
|
||||
<!-- LockFactory
|
||||
|
||||
<!-- LockFactory
|
||||
|
||||
This option specifies which Lucene LockFactory implementation
|
||||
to use.
|
||||
|
||||
|
||||
single = SingleInstanceLockFactory - suggested for a
|
||||
read-only index or when there is no possibility of
|
||||
another process trying to modify the index.
|
||||
|
@ -210,7 +210,7 @@
|
|||
This is not needed if lock type is 'none' or 'single'
|
||||
-->
|
||||
<unlockOnStartup>false</unlockOnStartup>
|
||||
|
||||
|
||||
<!-- If true, IndexReaders will be reopened (often more efficient)
|
||||
instead of closed and then opened.
|
||||
-->
|
||||
|
@ -226,7 +226,7 @@
|
|||
The standard Solr IndexDeletionPolicy implementation supports
|
||||
deleting index commit points on number of commits, age of
|
||||
commit point and optimized status.
|
||||
|
||||
|
||||
The latest commit point should always be preserved regardless
|
||||
of the criteria.
|
||||
-->
|
||||
|
@ -246,19 +246,19 @@
|
|||
</deletionPolicy>
|
||||
|
||||
<!-- Lucene Infostream
|
||||
|
||||
|
||||
To aid in advanced debugging, Lucene provides an "InfoStream"
|
||||
of detailed information when indexing.
|
||||
|
||||
Setting The value to true will instruct the underlying Lucene
|
||||
IndexWriter to write it's debugging info the specified file
|
||||
-->
|
||||
<infoStream file="INFOSTREAM.txt">false</infoStream>
|
||||
<infoStream file="INFOSTREAM.txt">false</infoStream>
|
||||
|
||||
</mainIndex>
|
||||
|
||||
<!-- JMX
|
||||
|
||||
|
||||
This example enables JMX if and only if an existing MBeanServer
|
||||
is found, use this if you want to configure JMX through JVM
|
||||
parameters. Remove this to disable exposing Solr configuration
|
||||
|
@ -268,7 +268,7 @@
|
|||
-->
|
||||
<jmx />
|
||||
<!-- If you want to connect to a particular server, specify the
|
||||
agentId
|
||||
agentId
|
||||
-->
|
||||
<!-- <jmx agentId="myAgent" /> -->
|
||||
<!-- If you want to start a new MBeanServer, specify the serviceUrl -->
|
||||
|
@ -282,7 +282,7 @@
|
|||
|
||||
Perform a <commit/> automatically under certain conditions.
|
||||
Instead of enabling autoCommit, consider using "commitWithin"
|
||||
when adding documents.
|
||||
when adding documents.
|
||||
|
||||
http://wiki.apache.org/solr/UpdateXmlMessages
|
||||
|
||||
|
@ -291,17 +291,17 @@
|
|||
|
||||
maxTime - Maximum amount of time that is allowed to pass
|
||||
since a document was added before automaticly
|
||||
triggering a new commit.
|
||||
triggering a new commit.
|
||||
-->
|
||||
<!--
|
||||
<autoCommit>
|
||||
<autoCommit>
|
||||
<maxDocs>10000</maxDocs>
|
||||
<maxTime>1000</maxTime>
|
||||
<maxTime>1000</maxTime>
|
||||
</autoCommit>
|
||||
-->
|
||||
|
||||
<!-- Update Related Event Listeners
|
||||
|
||||
|
||||
Various IndexWriter realted events can trigger Listeners to
|
||||
take actions.
|
||||
|
||||
|
@ -310,10 +310,10 @@
|
|||
-->
|
||||
<!-- The RunExecutableListener executes an external command from a
|
||||
hook such as postCommit or postOptimize.
|
||||
|
||||
|
||||
exe - the name of the executable to run
|
||||
dir - dir to use as the current working directory. (default=".")
|
||||
wait - the calling thread waits until the executable returns.
|
||||
wait - the calling thread waits until the executable returns.
|
||||
(default="true")
|
||||
args - the arguments to pass to the program. (default is none)
|
||||
env - environment variables to set. (default is none)
|
||||
|
@ -332,7 +332,7 @@
|
|||
</listener>
|
||||
-->
|
||||
</updateHandler>
|
||||
|
||||
|
||||
<!-- IndexReaderFactory
|
||||
|
||||
Use the following format to specify a custom IndexReaderFactory,
|
||||
|
@ -364,7 +364,7 @@
|
|||
be specified.
|
||||
-->
|
||||
<!--
|
||||
<indexReaderFactory name="IndexReaderFactory"
|
||||
<indexReaderFactory name="IndexReaderFactory"
|
||||
class="solr.StandardIndexReaderFactory">
|
||||
<int name="setTermIndexDivisor">12</int>
|
||||
</indexReaderFactory >
|
||||
|
@ -378,15 +378,15 @@
|
|||
is thrown if exceeded.
|
||||
|
||||
** WARNING **
|
||||
|
||||
|
||||
This option actually modifies a global Lucene property that
|
||||
will affect all SolrCores. If multiple solrconfig.xml files
|
||||
disagree on this property, the value at any given moment will
|
||||
be based on the last SolrCore to be initialized.
|
||||
|
||||
|
||||
-->
|
||||
-->
|
||||
<!-- Increasing to handle large wildcard queries used in IndividualListController.
|
||||
<!-- Increasing to handle large wildcard queries used in IndividualListController.
|
||||
See VIVO-384. -->
|
||||
<maxBooleanClauses>50000</maxBooleanClauses>
|
||||
|
||||
|
@ -395,7 +395,7 @@
|
|||
|
||||
There are two implementations of cache available for Solr,
|
||||
LRUCache, based on a synchronized LinkedHashMap, and
|
||||
FastLRUCache, based on a ConcurrentHashMap.
|
||||
FastLRUCache, based on a ConcurrentHashMap.
|
||||
|
||||
FastLRUCache has faster gets and slower puts in single
|
||||
threaded operation and thus is generally faster than LRUCache
|
||||
|
@ -420,7 +420,7 @@
|
|||
initialSize - the initial capacity (number of entries) of
|
||||
the cache. (see java.util.HashMap)
|
||||
autowarmCount - the number of entries to prepopulate from
|
||||
and old cache.
|
||||
and old cache.
|
||||
-->
|
||||
<filterCache class="solr.FastLRUCache"
|
||||
size="512"
|
||||
|
@ -428,28 +428,28 @@
|
|||
autowarmCount="0"/>
|
||||
|
||||
<!-- Query Result Cache
|
||||
|
||||
|
||||
Caches results of searches - ordered lists of document ids
|
||||
(DocList) based on a query, a sort, and the range of documents requested.
|
||||
(DocList) based on a query, a sort, and the range of documents requested.
|
||||
-->
|
||||
<queryResultCache class="solr.LRUCache"
|
||||
size="512"
|
||||
initialSize="512"
|
||||
autowarmCount="0"/>
|
||||
|
||||
|
||||
<!-- Document Cache
|
||||
|
||||
Caches Lucene Document objects (the stored fields for each
|
||||
document). Since Lucene internal document ids are transient,
|
||||
this cache will not be autowarmed.
|
||||
this cache will not be autowarmed.
|
||||
-->
|
||||
<documentCache class="solr.LRUCache"
|
||||
size="512"
|
||||
initialSize="512"
|
||||
autowarmCount="0"/>
|
||||
|
||||
|
||||
<!-- Field Value Cache
|
||||
|
||||
|
||||
Cache used to hold field values that are quickly accessible
|
||||
by document id. The fieldValueCache is created by default
|
||||
even if not configured here.
|
||||
|
@ -467,8 +467,8 @@
|
|||
name through SolrIndexSearcher.getCache(),cacheLookup(), and
|
||||
cacheInsert(). The purpose is to enable easy caching of
|
||||
user/application level data. The regenerator argument should
|
||||
be specified as an implementation of solr.CacheRegenerator
|
||||
if autowarming is desired.
|
||||
be specified as an implementation of solr.CacheRegenerator
|
||||
if autowarming is desired.
|
||||
-->
|
||||
<!--
|
||||
<cache name="myUserCache"
|
||||
|
@ -515,12 +515,12 @@
|
|||
are collected. For example, if a search for a particular query
|
||||
requests matching documents 10 through 19, and queryWindowSize is 50,
|
||||
then documents 0 through 49 will be collected and cached. Any further
|
||||
requests in that range can be satisfied via the cache.
|
||||
requests in that range can be satisfied via the cache.
|
||||
-->
|
||||
<queryResultWindowSize>20</queryResultWindowSize>
|
||||
|
||||
<!-- Maximum number of documents to cache for any entry in the
|
||||
queryResultCache.
|
||||
queryResultCache.
|
||||
-->
|
||||
<queryResultMaxDocsCached>200</queryResultMaxDocsCached>
|
||||
|
||||
|
@ -538,10 +538,10 @@
|
|||
prepared but there is no current registered searcher to handle
|
||||
requests or to gain autowarming data from.
|
||||
|
||||
|
||||
|
||||
-->
|
||||
<!-- QuerySenderListener takes an array of NamedList and executes a
|
||||
local query request for each NamedList in sequence.
|
||||
local query request for each NamedList in sequence.
|
||||
-->
|
||||
<listener event="newSearcher" class="solr.QuerySenderListener">
|
||||
<arr name="queries">
|
||||
|
@ -569,7 +569,7 @@
|
|||
<useColdSearcher>false</useColdSearcher>
|
||||
|
||||
<!-- Max Warming Searchers
|
||||
|
||||
|
||||
Maximum number of searchers that may be warming in the
|
||||
background concurrently. An error is returned if this limit
|
||||
is exceeded.
|
||||
|
@ -609,14 +609,14 @@
|
|||
|
||||
multipartUploadLimitInKB - specifies the max size of
|
||||
Multipart File Uploads that Solr will alow in a Request.
|
||||
|
||||
|
||||
*** WARNING ***
|
||||
The settings below authorize Solr to fetch remote files, You
|
||||
should make sure your system has some authentication before
|
||||
using enableRemoteStreaming="true"
|
||||
|
||||
-->
|
||||
<requestParsers enableRemoteStreaming="true"
|
||||
-->
|
||||
<requestParsers enableRemoteStreaming="true"
|
||||
multipartUploadLimitInKB="2048000" />
|
||||
|
||||
<!-- HTTP Caching
|
||||
|
@ -630,21 +630,21 @@
|
|||
<!-- If you include a <cacheControl> directive, it will be used to
|
||||
generate a Cache-Control header (as well as an Expires header
|
||||
if the value contains "max-age=")
|
||||
|
||||
|
||||
By default, no Cache-Control header is generated.
|
||||
|
||||
|
||||
You can use the <cacheControl> option even if you have set
|
||||
never304="true"
|
||||
-->
|
||||
<!--
|
||||
<httpCaching never304="true" >
|
||||
<cacheControl>max-age=30, public</cacheControl>
|
||||
<cacheControl>max-age=30, public</cacheControl>
|
||||
</httpCaching>
|
||||
-->
|
||||
<!-- To enable Solr to responde with automaticly generated HTTP
|
||||
Caching headers, and to response to Cache Validation requests
|
||||
correctly, set the value of never304="false"
|
||||
|
||||
|
||||
This will cause Solr to generate Last-Modified and ETag
|
||||
headers based on the properties of the Index.
|
||||
|
||||
|
@ -669,12 +669,12 @@
|
|||
<!--
|
||||
<httpCaching lastModifiedFrom="openTime"
|
||||
etagSeed="Solr">
|
||||
<cacheControl>max-age=30, public</cacheControl>
|
||||
<cacheControl>max-age=30, public</cacheControl>
|
||||
</httpCaching>
|
||||
-->
|
||||
</requestDispatcher>
|
||||
|
||||
<!-- Request Handlers
|
||||
<!-- Request Handlers
|
||||
|
||||
http://wiki.apache.org/solr/SolrRequestHandler
|
||||
|
||||
|
@ -688,7 +688,7 @@
|
|||
If a /select request is processed with out a qt param
|
||||
specified, the requestHandler that declares default="true" will
|
||||
be used.
|
||||
|
||||
|
||||
If a Request Handler is declared with startup="lazy", then it will
|
||||
not be initialized until the first request that uses it.
|
||||
|
||||
|
@ -796,7 +796,7 @@
|
|||
<str name="title">Solritas</str>
|
||||
|
||||
<!-- <str name="defType">edismax</str> -->
|
||||
|
||||
|
||||
<str name="q.alt">*:*</str>
|
||||
<str name="rows">10</str>
|
||||
<str name="fl">*,score</str>
|
||||
|
@ -806,11 +806,11 @@
|
|||
</str>
|
||||
<str name="mlt.fl">text,features,name,sku,id,manu,cat</str>
|
||||
<int name="mlt.count">3</int>
|
||||
|
||||
|
||||
<str name="qf">
|
||||
text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4
|
||||
</str>
|
||||
|
||||
|
||||
<str name="facet">on</str>
|
||||
<str name="facet.field">cat</str>
|
||||
<str name="facet.field">manu_exact</str>
|
||||
|
@ -845,8 +845,8 @@
|
|||
-->
|
||||
</requestHandler>
|
||||
|
||||
<!-- XML Update Request Handler.
|
||||
|
||||
<!-- XML Update Request Handler.
|
||||
|
||||
http://wiki.apache.org/solr/UpdateXmlMessages
|
||||
|
||||
The canonical Request Handler for Modifying the Index through
|
||||
|
@ -863,33 +863,33 @@
|
|||
<str name="update.chain">etag</str>
|
||||
</lst>
|
||||
</requestHandler>
|
||||
|
||||
|
||||
<!-- Binary Update Request Handler
|
||||
http://wiki.apache.org/solr/javabin
|
||||
-->
|
||||
<requestHandler name="/update/javabin"
|
||||
<requestHandler name="/update/javabin"
|
||||
class="solr.BinaryUpdateRequestHandler" />
|
||||
|
||||
<!-- CSV Update Request Handler
|
||||
http://wiki.apache.org/solr/UpdateCSV
|
||||
-->
|
||||
<requestHandler name="/update/csv"
|
||||
class="solr.CSVRequestHandler"
|
||||
<requestHandler name="/update/csv"
|
||||
class="solr.CSVRequestHandler"
|
||||
startup="lazy" />
|
||||
|
||||
<!-- JSON Update Request Handler
|
||||
http://wiki.apache.org/solr/UpdateJSON
|
||||
-->
|
||||
<requestHandler name="/update/json"
|
||||
class="solr.JsonUpdateRequestHandler"
|
||||
<requestHandler name="/update/json"
|
||||
class="solr.JsonUpdateRequestHandler"
|
||||
startup="lazy" />
|
||||
|
||||
<!-- Solr Cell Update Request Handler
|
||||
|
||||
http://wiki.apache.org/solr/ExtractingRequestHandler
|
||||
http://wiki.apache.org/solr/ExtractingRequestHandler
|
||||
|
||||
-->
|
||||
<requestHandler name="/update/extract"
|
||||
<requestHandler name="/update/extract"
|
||||
startup="lazy"
|
||||
class="solr.extraction.ExtractingRequestHandler" >
|
||||
<lst name="defaults">
|
||||
|
@ -924,7 +924,7 @@
|
|||
field value analysis will be marked as "matched" for every
|
||||
token that is produces by the query analysis
|
||||
-->
|
||||
<requestHandler name="/analysis/field"
|
||||
<requestHandler name="/analysis/field"
|
||||
startup="lazy"
|
||||
class="solr.FieldAnalysisRequestHandler" />
|
||||
|
||||
|
@ -957,18 +957,18 @@
|
|||
request paraemter that holds the query text to be analyized. It
|
||||
also supports the "analysis.showmatch" parameter which when set to
|
||||
true, all field tokens that match the query tokens will be marked
|
||||
as a "match".
|
||||
as a "match".
|
||||
-->
|
||||
<requestHandler name="/analysis/document"
|
||||
class="solr.DocumentAnalysisRequestHandler"
|
||||
<requestHandler name="/analysis/document"
|
||||
class="solr.DocumentAnalysisRequestHandler"
|
||||
startup="lazy" />
|
||||
|
||||
<!-- Admin Handlers
|
||||
|
||||
Admin Handlers - This will register all the standard admin
|
||||
RequestHandlers.
|
||||
RequestHandlers.
|
||||
-->
|
||||
<requestHandler name="/admin/"
|
||||
<requestHandler name="/admin/"
|
||||
class="solr.admin.AdminHandlers" />
|
||||
<!-- This single handler is equivilent to the following... -->
|
||||
<!--
|
||||
|
@ -980,14 +980,14 @@
|
|||
<requestHandler name="/admin/file" class="solr.admin.ShowFileRequestHandler" >
|
||||
-->
|
||||
<!-- If you wish to hide files under ${solr.home}/conf, explicitly
|
||||
register the ShowFileRequestHandler using:
|
||||
register the ShowFileRequestHandler using:
|
||||
-->
|
||||
<!--
|
||||
<requestHandler name="/admin/file"
|
||||
<requestHandler name="/admin/file"
|
||||
class="solr.admin.ShowFileRequestHandler" >
|
||||
<lst name="invariants">
|
||||
<str name="hidden">synonyms.txt</str>
|
||||
<str name="hidden">anotherfile.txt</str>
|
||||
<str name="hidden">synonyms.txt</str>
|
||||
<str name="hidden">anotherfile.txt</str>
|
||||
</lst>
|
||||
</requestHandler>
|
||||
-->
|
||||
|
@ -1004,17 +1004,17 @@
|
|||
<!-- Echo the request contents back to the client -->
|
||||
<requestHandler name="/debug/dump" class="solr.DumpRequestHandler" >
|
||||
<lst name="defaults">
|
||||
<str name="echoParams">explicit</str>
|
||||
<str name="echoParams">explicit</str>
|
||||
<str name="echoHandler">true</str>
|
||||
</lst>
|
||||
</requestHandler>
|
||||
|
||||
|
||||
<!-- Solr Replication
|
||||
|
||||
The SolrReplicationHandler supports replicating indexes from a
|
||||
"master" used for indexing and "salves" used for queries.
|
||||
|
||||
http://wiki.apache.org/solr/SolrReplication
|
||||
http://wiki.apache.org/solr/SolrReplication
|
||||
|
||||
In the example below, remove the <lst name="master"> section if
|
||||
this is just a slave and remove the <lst name="slave"> section
|
||||
|
@ -1036,18 +1036,18 @@
|
|||
|
||||
<!-- Search Components
|
||||
|
||||
Search components are registered to SolrCore and used by
|
||||
Search components are registered to SolrCore and used by
|
||||
instances of SearchHandler (which can access them by name)
|
||||
|
||||
|
||||
By default, the following components are avaliable:
|
||||
|
||||
|
||||
<searchComponent name="query" class="solr.QueryComponent" />
|
||||
<searchComponent name="facet" class="solr.FacetComponent" />
|
||||
<searchComponent name="mlt" class="solr.MoreLikeThisComponent" />
|
||||
<searchComponent name="highlight" class="solr.HighlightComponent" />
|
||||
<searchComponent name="stats" class="solr.StatsComponent" />
|
||||
<searchComponent name="debug" class="solr.DebugComponent" />
|
||||
|
||||
|
||||
Default configuration in a requestHandler would look like:
|
||||
|
||||
<arr name="components">
|
||||
|
@ -1059,28 +1059,28 @@
|
|||
<str>debug</str>
|
||||
</arr>
|
||||
|
||||
If you register a searchComponent to one of the standard names,
|
||||
If you register a searchComponent to one of the standard names,
|
||||
that will be used instead of the default.
|
||||
|
||||
To insert components before or after the 'standard' components, use:
|
||||
|
||||
|
||||
<arr name="first-components">
|
||||
<str>myFirstComponentName</str>
|
||||
</arr>
|
||||
|
||||
|
||||
<arr name="last-components">
|
||||
<str>myLastComponentName</str>
|
||||
</arr>
|
||||
|
||||
NOTE: The component registered with the name "debug" will
|
||||
always be executed after the "last-components"
|
||||
|
||||
always be executed after the "last-components"
|
||||
|
||||
-->
|
||||
|
||||
<!-- Spell Check
|
||||
|
||||
The spell check component can return a list of alternative spelling
|
||||
suggestions.
|
||||
suggestions.
|
||||
|
||||
http://wiki.apache.org/solr/SpellCheckComponent
|
||||
-->
|
||||
|
@ -1113,7 +1113,7 @@
|
|||
</lst>
|
||||
-->
|
||||
|
||||
<!-- a spellchecker that use an alternate comparator
|
||||
<!-- a spellchecker that use an alternate comparator
|
||||
|
||||
comparatorClass be one of:
|
||||
1. score (default)
|
||||
|
@ -1141,7 +1141,7 @@
|
|||
-->
|
||||
</searchComponent>
|
||||
|
||||
<!-- A request handler for demonstrating the spellcheck component.
|
||||
<!-- A request handler for demonstrating the spellcheck component.
|
||||
|
||||
NOTE: This is purely as an example. The whole purpose of the
|
||||
SpellCheckComponent is to hook it into the request handler that
|
||||
|
@ -1150,7 +1150,7 @@
|
|||
|
||||
IN OTHER WORDS, THERE IS REALLY GOOD CHANCE THE SETUP BELOW IS
|
||||
NOT WHAT YOU WANT FOR YOUR PRODUCTION SYSTEM!
|
||||
|
||||
|
||||
See http://wiki.apache.org/solr/SpellCheckComponent for details
|
||||
on the request parameters.
|
||||
-->
|
||||
|
@ -1175,8 +1175,8 @@
|
|||
|
||||
This is purely as an example.
|
||||
|
||||
In reality you will likely want to add the component to your
|
||||
already specified request handlers.
|
||||
In reality you will likely want to add the component to your
|
||||
already specified request handlers.
|
||||
-->
|
||||
<requestHandler name="tvrh" class="solr.SearchHandler" startup="lazy">
|
||||
<lst name="defaults">
|
||||
|
@ -1198,20 +1198,20 @@
|
|||
|
||||
java -Dsolr.clustering.enabled=true -jar start.jar
|
||||
-->
|
||||
<searchComponent name="clustering"
|
||||
<searchComponent name="clustering"
|
||||
enable="${solr.clustering.enabled:false}"
|
||||
class="solr.clustering.ClusteringComponent" >
|
||||
<!-- Declare an engine -->
|
||||
<lst name="engine">
|
||||
<!-- The name, only one can be named "default" -->
|
||||
<str name="name">default</str>
|
||||
<!-- Class name of Carrot2 clustering algorithm.
|
||||
|
||||
<!-- Class name of Carrot2 clustering algorithm.
|
||||
|
||||
Currently available algorithms are:
|
||||
|
||||
|
||||
* org.carrot2.clustering.lingo.LingoClusteringAlgorithm
|
||||
* org.carrot2.clustering.stc.STCClusteringAlgorithm
|
||||
|
||||
|
||||
See http://project.carrot2.org/algorithms.html for the
|
||||
algorithm's characteristics.
|
||||
-->
|
||||
|
@ -1226,9 +1226,9 @@
|
|||
name and attribute value as parameter value.
|
||||
-->
|
||||
<str name="LingoClusteringAlgorithm.desiredClusterCountBase">20</str>
|
||||
|
||||
|
||||
<!-- The language to assume for the documents.
|
||||
|
||||
|
||||
For a list of allowed values, see:
|
||||
http://download.carrot2.org/stable/manual/#section.attribute.lingo.MultilingualClustering.defaultLanguage
|
||||
-->
|
||||
|
@ -1244,8 +1244,8 @@
|
|||
|
||||
This is purely as an example.
|
||||
|
||||
In reality you will likely want to add the component to your
|
||||
already specified request handlers.
|
||||
In reality you will likely want to add the component to your
|
||||
already specified request handlers.
|
||||
-->
|
||||
<requestHandler name="/clustering"
|
||||
startup="lazy"
|
||||
|
@ -1266,7 +1266,7 @@
|
|||
<!--<int name="carrot.numDescriptions">5</int>-->
|
||||
<!-- produce sub clusters -->
|
||||
<bool name="carrot.outputSubClusters">false</bool>
|
||||
|
||||
|
||||
<str name="defType">edismax</str>
|
||||
<str name="qf">
|
||||
text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4
|
||||
|
@ -1274,12 +1274,12 @@
|
|||
<str name="q.alt">*:*</str>
|
||||
<str name="rows">10</str>
|
||||
<str name="fl">*,score</str>
|
||||
</lst>
|
||||
</lst>
|
||||
<arr name="last-components">
|
||||
<str>clustering</str>
|
||||
</arr>
|
||||
</requestHandler>
|
||||
|
||||
|
||||
<!-- Terms Component
|
||||
|
||||
http://wiki.apache.org/solr/TermsComponent
|
||||
|
@ -1293,7 +1293,7 @@
|
|||
<requestHandler name="/terms" class="solr.SearchHandler" startup="lazy">
|
||||
<lst name="defaults">
|
||||
<bool name="terms">true</bool>
|
||||
</lst>
|
||||
</lst>
|
||||
<arr name="components">
|
||||
<str>terms</str>
|
||||
</arr>
|
||||
|
@ -1332,7 +1332,7 @@
|
|||
<highlighting>
|
||||
<!-- Configure the standard fragmenter -->
|
||||
<!-- This could most likely be commented out in the "default" case -->
|
||||
<fragmenter name="gap"
|
||||
<fragmenter name="gap"
|
||||
default="true"
|
||||
class="solr.highlight.GapFragmenter">
|
||||
<lst name="defaults">
|
||||
|
@ -1340,10 +1340,10 @@
|
|||
</lst>
|
||||
</fragmenter>
|
||||
|
||||
<!-- A regular-expression-based fragmenter
|
||||
(for sentence extraction)
|
||||
<!-- A regular-expression-based fragmenter
|
||||
(for sentence extraction)
|
||||
-->
|
||||
<fragmenter name="regex"
|
||||
<fragmenter name="regex"
|
||||
class="solr.highlight.RegexFragmenter">
|
||||
<lst name="defaults">
|
||||
<!-- slightly smaller fragsizes work better because of slop -->
|
||||
|
@ -1356,7 +1356,7 @@
|
|||
</fragmenter>
|
||||
|
||||
<!-- Configure the standard formatter -->
|
||||
<formatter name="html"
|
||||
<formatter name="html"
|
||||
default="true"
|
||||
class="solr.highlight.HtmlFormatter">
|
||||
<lst name="defaults">
|
||||
|
@ -1366,24 +1366,24 @@
|
|||
</formatter>
|
||||
|
||||
<!-- Configure the standard encoder -->
|
||||
<encoder name="html"
|
||||
<encoder name="html"
|
||||
default="true"
|
||||
class="solr.highlight.HtmlEncoder" />
|
||||
|
||||
<!-- Configure the standard fragListBuilder -->
|
||||
<fragListBuilder name="simple"
|
||||
<fragListBuilder name="simple"
|
||||
default="true"
|
||||
class="solr.highlight.SimpleFragListBuilder"/>
|
||||
|
||||
<!-- Configure the single fragListBuilder -->
|
||||
<fragListBuilder name="single"
|
||||
<fragListBuilder name="single"
|
||||
class="solr.highlight.SingleFragListBuilder"/>
|
||||
|
||||
<!-- default tag FragmentsBuilder -->
|
||||
<fragmentsBuilder name="default"
|
||||
<fragmentsBuilder name="default"
|
||||
default="true"
|
||||
class="solr.highlight.ScoreOrderFragmentsBuilder">
|
||||
<!--
|
||||
<!--
|
||||
<lst name="defaults">
|
||||
<str name="hl.multiValuedSeparatorChar">/</str>
|
||||
</lst>
|
||||
|
@ -1391,7 +1391,7 @@
|
|||
</fragmentsBuilder>
|
||||
|
||||
<!-- multi-colored tag FragmentsBuilder -->
|
||||
<fragmentsBuilder name="colored"
|
||||
<fragmentsBuilder name="colored"
|
||||
class="solr.highlight.ScoreOrderFragmentsBuilder">
|
||||
<lst name="defaults">
|
||||
<str name="hl.tag.pre"><![CDATA[
|
||||
|
@ -1413,14 +1413,14 @@
|
|||
<str name="classname">org.apache.solr.spelling.suggest.Suggester</str>
|
||||
<str name="lookupImpl">org.apache.solr.spelling.suggest.tst.TSTLookup</str>
|
||||
-->
|
||||
<!-- Alternatives to lookupImpl:
|
||||
<!-- Alternatives to lookupImpl:
|
||||
org.apache.solr.spelling.suggest.fst.FSTLookup [finite state automaton]
|
||||
org.apache.solr.spelling.suggest.jaspell.JaspellLookup [default, jaspell-based]
|
||||
org.apache.solr.spelling.suggest.tst.TSTLookup [ternary trees]
|
||||
-->
|
||||
<!-- the indexed field to derive suggestions from -->
|
||||
<!--
|
||||
<str name="field">nameLowercase</str>
|
||||
<str name="field">nameLowercase</str>
|
||||
<float name="threshold">0.005</float>
|
||||
<str name="buildOnCommit">false</str>
|
||||
<str name="storeDir">suggest</str>
|
||||
|
@ -1452,15 +1452,15 @@
|
|||
|
||||
http://wiki.apache.org/solr/UpdateRequestProcessor
|
||||
|
||||
-->
|
||||
-->
|
||||
<!-- Deduplication
|
||||
|
||||
An example dedup update processor that creates the "id" field
|
||||
on the fly based on the hash code of some other fields. This
|
||||
example has overwriteDupes set to false since we are using the
|
||||
id field as the signatureField and Solr will maintain
|
||||
uniqueness based on that anyway.
|
||||
|
||||
uniqueness based on that anyway.
|
||||
|
||||
-->
|
||||
<!--
|
||||
<updateRequestProcessorChain name="dedupe">
|
||||
|
@ -1479,8 +1479,8 @@
|
|||
<!-- ETag generation
|
||||
|
||||
Creates the "etag" field on the fly based on a hash of all other
|
||||
fields.
|
||||
|
||||
fields.
|
||||
|
||||
-->
|
||||
<updateRequestProcessorChain name="etag">
|
||||
<processor class="solr.processor.SignatureUpdateProcessorFactory">
|
||||
|
@ -1508,7 +1508,7 @@
|
|||
overridden...
|
||||
-->
|
||||
<!--
|
||||
<queryResponseWriter name="xml"
|
||||
<queryResponseWriter name="xml"
|
||||
default="true"
|
||||
class="solr.XMLResponseWriter" />
|
||||
<queryResponseWriter name="json" class="solr.JSONResponseWriter"/>
|
||||
|
@ -1528,7 +1528,7 @@
|
|||
|
||||
<!-- XSLT response writer transforms the XML output by any xslt file found
|
||||
in Solr's conf/xslt directory. Changes to xslt files are checked for
|
||||
every xsltCacheLifetimeSeconds.
|
||||
every xsltCacheLifetimeSeconds.
|
||||
-->
|
||||
<queryResponseWriter name="xslt" class="solr.XSLTResponseWriter">
|
||||
<int name="xsltCacheLifetimeSeconds">5</int>
|
||||
|
@ -1556,7 +1556,7 @@
|
|||
-->
|
||||
<!-- example of registering a custom function parser -->
|
||||
<!--
|
||||
<valueSourceParser name="myfunc"
|
||||
<valueSourceParser name="myfunc"
|
||||
class="com.mycompany.MyValueSourceParser" />
|
||||
-->
|
||||
|
||||
|
@ -1565,7 +1565,7 @@
|
|||
<defaultQuery>*:*</defaultQuery>
|
||||
|
||||
<!-- configure a healthcheck file for servers behind a
|
||||
loadbalancer
|
||||
loadbalancer
|
||||
-->
|
||||
<!--
|
||||
<healthcheck type="file">server-enabled</healthcheck>
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -35,4 +35,4 @@ this
|
|||
to
|
||||
was
|
||||
will
|
||||
with
|
||||
with
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
|
||||
#macro(debug)#if($request.params.get('debugQuery'))&debugQuery=true#end#end
|
||||
|
||||
#macro(boostPrice)#if($request.params.get('bf') == 'price')&bf=price#end#end
|
||||
#macro(boostPrice)#if($request.params.get('bf') == 'price')&bf=price#end#end
|
||||
|
||||
#macro(annotate)#if($request.params.get('annotateBrowse'))&annotateBrowse=true#end#end
|
||||
|
||||
|
@ -35,7 +35,7 @@
|
|||
|
||||
#macro(lensNoQ)?#if($request.params.getParams('fq') and $list.size($request.params.getParams('fq')) > 0)&#fqs($request.params.getParams('fq'))#end#sort($request.params.getParams('sort'))#debug#boostPrice#annotate#spatial#qOpts#group#end
|
||||
#macro(lens)#lensNoQ#q#end
|
||||
|
||||
|
||||
|
||||
#macro(url_for_lens)#{url_for_home}#lens#end
|
||||
|
||||
|
@ -91,7 +91,7 @@
|
|||
#end
|
||||
#end
|
||||
</ul>
|
||||
#end
|
||||
#end
|
||||
#end
|
||||
|
||||
|
||||
|
@ -150,7 +150,7 @@ $pad$v##
|
|||
$v##
|
||||
#end
|
||||
#end
|
||||
#end
|
||||
#end
|
||||
|
||||
#macro(utc_date $theDate)
|
||||
$date.format("yyyy-MM-dd'T'HH:mm:ss'Z'",$theDate,$date.getLocale(),$date.getTimeZone().getTimeZone("UTC"))##
|
||||
|
|
|
@ -19,15 +19,15 @@
|
|||
padding: 2px 5px;
|
||||
cursor: default;
|
||||
display: block;
|
||||
/*
|
||||
if width will be 100% horizontal scrollbar will apear
|
||||
/*
|
||||
if width will be 100% horizontal scrollbar will apear
|
||||
when scroll mode will be used
|
||||
*/
|
||||
/*width: 100%;*/
|
||||
font: menu;
|
||||
font-size: 12px;
|
||||
/*
|
||||
it is very important, if line-height not setted or setted
|
||||
/*
|
||||
it is very important, if line-height not setted or setted
|
||||
in relative units scroll will be broken in firefox
|
||||
*/
|
||||
line-height: 16px;
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
*/
|
||||
|
||||
;(function($) {
|
||||
|
||||
|
||||
$.fn.extend({
|
||||
autocomplete: function(urlOrData, options) {
|
||||
var isUrl = typeof urlOrData == "string";
|
||||
|
@ -22,13 +22,13 @@ $.fn.extend({
|
|||
delay: isUrl ? $.Autocompleter.defaults.delay : 10,
|
||||
max: options && !options.scroll ? 10 : 150
|
||||
}, options);
|
||||
|
||||
|
||||
// if highlight is set to false, replace it with a do-nothing function
|
||||
options.highlight = options.highlight || function(value) { return value; };
|
||||
|
||||
|
||||
// if the formatMatch option is not specified, then use formatItem for backwards compatibility
|
||||
options.formatMatch = options.formatMatch || options.formatItem;
|
||||
|
||||
|
||||
return this.each(function() {
|
||||
new $.Autocompleter(this, options);
|
||||
});
|
||||
|
@ -77,9 +77,9 @@ $.Autocompleter = function(input, options) {
|
|||
mouseDownOnSelect: false
|
||||
};
|
||||
var select = $.Autocompleter.Select(options, input, selectCurrent, config);
|
||||
|
||||
|
||||
var blockSubmit;
|
||||
|
||||
|
||||
// prevent form submit in opera when selecting with return key
|
||||
$.browser.opera && $(input.form).bind("submit.autocomplete", function() {
|
||||
if (blockSubmit) {
|
||||
|
@ -87,13 +87,13 @@ $.Autocompleter = function(input, options) {
|
|||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
// only opera doesn't trigger keydown multiple times while pressed, others don't work with keypress at all
|
||||
$input.bind(($.browser.opera ? "keypress" : "keydown") + ".autocomplete", function(event) {
|
||||
// track last key pressed
|
||||
lastKeyPressCode = event.keyCode;
|
||||
switch(event.keyCode) {
|
||||
|
||||
|
||||
case KEY.UP:
|
||||
event.preventDefault();
|
||||
if ( select.visible() ) {
|
||||
|
@ -102,7 +102,7 @@ $.Autocompleter = function(input, options) {
|
|||
onChange(0, true);
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
case KEY.DOWN:
|
||||
event.preventDefault();
|
||||
if ( select.visible() ) {
|
||||
|
@ -111,7 +111,7 @@ $.Autocompleter = function(input, options) {
|
|||
onChange(0, true);
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
case KEY.PAGEUP:
|
||||
event.preventDefault();
|
||||
if ( select.visible() ) {
|
||||
|
@ -120,7 +120,7 @@ $.Autocompleter = function(input, options) {
|
|||
onChange(0, true);
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
case KEY.PAGEDOWN:
|
||||
event.preventDefault();
|
||||
if ( select.visible() ) {
|
||||
|
@ -129,7 +129,7 @@ $.Autocompleter = function(input, options) {
|
|||
onChange(0, true);
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
// matches also semicolon
|
||||
case options.multiple && $.trim(options.multipleSeparator) == "," && KEY.COMMA:
|
||||
case KEY.TAB:
|
||||
|
@ -141,11 +141,11 @@ $.Autocompleter = function(input, options) {
|
|||
return false;
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
case KEY.ESC:
|
||||
select.hide();
|
||||
break;
|
||||
|
||||
|
||||
default:
|
||||
clearTimeout(timeout);
|
||||
timeout = setTimeout(onChange, options.delay);
|
||||
|
@ -196,16 +196,16 @@ $.Autocompleter = function(input, options) {
|
|||
$input.unbind();
|
||||
$(input.form).unbind(".autocomplete");
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
function selectCurrent() {
|
||||
var selected = select.selected();
|
||||
if( !selected )
|
||||
return false;
|
||||
|
||||
|
||||
var v = selected.result;
|
||||
previousValue = v;
|
||||
|
||||
|
||||
if ( options.multiple ) {
|
||||
var words = trimWords($input.val());
|
||||
if ( words.length > 1 ) {
|
||||
|
@ -213,26 +213,26 @@ $.Autocompleter = function(input, options) {
|
|||
}
|
||||
v += options.multipleSeparator;
|
||||
}
|
||||
|
||||
|
||||
$input.val(v);
|
||||
hideResultsNow();
|
||||
$input.trigger("result", [selected.data, selected.value]);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
function onChange(crap, skipPrevCheck) {
|
||||
if( lastKeyPressCode == KEY.DEL ) {
|
||||
select.hide();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
var currentValue = $input.val();
|
||||
|
||||
|
||||
if ( !skipPrevCheck && currentValue == previousValue )
|
||||
return;
|
||||
|
||||
|
||||
previousValue = currentValue;
|
||||
|
||||
|
||||
currentValue = lastWord(currentValue);
|
||||
if ( currentValue.length >= options.minChars) {
|
||||
$input.addClass(options.loadingClass);
|
||||
|
@ -244,7 +244,7 @@ $.Autocompleter = function(input, options) {
|
|||
select.hide();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
function trimWords(value) {
|
||||
if ( !value ) {
|
||||
return [""];
|
||||
|
@ -257,14 +257,14 @@ $.Autocompleter = function(input, options) {
|
|||
});
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
function lastWord(value) {
|
||||
if ( !options.multiple )
|
||||
return value;
|
||||
var words = trimWords(value);
|
||||
return words[words.length - 1];
|
||||
}
|
||||
|
||||
|
||||
// fills in the input box w/the first match (assumed to be the best match)
|
||||
// q: the term entered
|
||||
// sValue: the first matching result
|
||||
|
@ -325,20 +325,20 @@ $.Autocompleter = function(input, options) {
|
|||
if (!options.matchCase)
|
||||
term = term.toLowerCase();
|
||||
var data = cache.load(term);
|
||||
data = null; // Avoid buggy cache and go to Solr every time
|
||||
data = null; // Avoid buggy cache and go to Solr every time
|
||||
// recieve the cached data
|
||||
if (data && data.length) {
|
||||
success(term, data);
|
||||
// if an AJAX url has been supplied, try loading the data now
|
||||
} else if( (typeof options.url == "string") && (options.url.length > 0) ){
|
||||
|
||||
|
||||
var extraParams = {
|
||||
timestamp: +new Date()
|
||||
};
|
||||
$.each(options.extraParams, function(key, param) {
|
||||
extraParams[key] = typeof param == "function" ? param() : param;
|
||||
});
|
||||
|
||||
|
||||
$.ajax({
|
||||
// try to leverage ajaxQueue plugin to abort previous requests
|
||||
mode: "abort",
|
||||
|
@ -362,7 +362,7 @@ $.Autocompleter = function(input, options) {
|
|||
failure(term);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
function parse(data) {
|
||||
var parsed = [];
|
||||
var rows = data.split("\n");
|
||||
|
@ -417,9 +417,9 @@ $.Autocompleter.Cache = function(options) {
|
|||
|
||||
var data = {};
|
||||
var length = 0;
|
||||
|
||||
|
||||
function matchSubset(s, sub) {
|
||||
if (!options.matchCase)
|
||||
if (!options.matchCase)
|
||||
s = s.toLowerCase();
|
||||
var i = s.indexOf(sub);
|
||||
if (options.matchContains == "word"){
|
||||
|
@ -428,17 +428,17 @@ $.Autocompleter.Cache = function(options) {
|
|||
if (i == -1) return false;
|
||||
return i == 0 || options.matchContains;
|
||||
};
|
||||
|
||||
|
||||
function add(q, value) {
|
||||
if (length > options.cacheLength){
|
||||
flush();
|
||||
}
|
||||
if (!data[q]){
|
||||
if (!data[q]){
|
||||
length++;
|
||||
}
|
||||
data[q] = value;
|
||||
}
|
||||
|
||||
|
||||
function populate(){
|
||||
if( !options.data ) return false;
|
||||
// track the matches
|
||||
|
@ -447,23 +447,23 @@ $.Autocompleter.Cache = function(options) {
|
|||
|
||||
// no url was specified, we need to adjust the cache length to make sure it fits the local data store
|
||||
if( !options.url ) options.cacheLength = 1;
|
||||
|
||||
|
||||
// track all options for minChars = 0
|
||||
stMatchSets[""] = [];
|
||||
|
||||
|
||||
// loop through the array and create a lookup structure
|
||||
for ( var i = 0, ol = options.data.length; i < ol; i++ ) {
|
||||
var rawValue = options.data[i];
|
||||
// if rawValue is a string, make an array otherwise just reference the array
|
||||
rawValue = (typeof rawValue == "string") ? [rawValue] : rawValue;
|
||||
|
||||
|
||||
var value = options.formatMatch(rawValue, i+1, options.data.length);
|
||||
if ( value === false )
|
||||
continue;
|
||||
|
||||
|
||||
var firstChar = value.charAt(0).toLowerCase();
|
||||
// if no lookup array for this character exists, look it up now
|
||||
if( !stMatchSets[firstChar] )
|
||||
if( !stMatchSets[firstChar] )
|
||||
stMatchSets[firstChar] = [];
|
||||
|
||||
// if the match is a string
|
||||
|
@ -472,7 +472,7 @@ $.Autocompleter.Cache = function(options) {
|
|||
data: rawValue,
|
||||
result: options.formatResult && options.formatResult(rawValue) || value
|
||||
};
|
||||
|
||||
|
||||
// push the current match into the set list
|
||||
stMatchSets[firstChar].push(row);
|
||||
|
||||
|
@ -490,15 +490,15 @@ $.Autocompleter.Cache = function(options) {
|
|||
add(i, value);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// populate any existing data
|
||||
setTimeout(populate, 25);
|
||||
|
||||
|
||||
function flush(){
|
||||
data = {};
|
||||
length = 0;
|
||||
}
|
||||
|
||||
|
||||
return {
|
||||
flush: flush,
|
||||
add: add,
|
||||
|
@ -506,7 +506,7 @@ $.Autocompleter.Cache = function(options) {
|
|||
load: function(q) {
|
||||
if (!options.cacheLength || !length)
|
||||
return null;
|
||||
/*
|
||||
/*
|
||||
* if dealing w/local data and matchContains than we must make sure
|
||||
* to loop through all the data collections looking for matches
|
||||
*/
|
||||
|
@ -526,9 +526,9 @@ $.Autocompleter.Cache = function(options) {
|
|||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
return csub;
|
||||
} else
|
||||
} else
|
||||
// if the exact item exists, use it
|
||||
if (data[q]){
|
||||
return data[q];
|
||||
|
@ -556,7 +556,7 @@ $.Autocompleter.Select = function (options, input, select, config) {
|
|||
var CLASSES = {
|
||||
ACTIVE: "ac_over"
|
||||
};
|
||||
|
||||
|
||||
var listItems,
|
||||
active = -1,
|
||||
data,
|
||||
|
@ -564,7 +564,7 @@ $.Autocompleter.Select = function (options, input, select, config) {
|
|||
needsInit = true,
|
||||
element,
|
||||
list;
|
||||
|
||||
|
||||
// Create results
|
||||
function init() {
|
||||
if (!needsInit)
|
||||
|
@ -574,11 +574,11 @@ $.Autocompleter.Select = function (options, input, select, config) {
|
|||
.addClass(options.resultsClass)
|
||||
.css("position", "absolute")
|
||||
.appendTo(document.body);
|
||||
|
||||
|
||||
list = $("<ul/>").appendTo(element).mouseover( function(event) {
|
||||
if(target(event).nodeName && target(event).nodeName.toUpperCase() == 'LI') {
|
||||
active = $("li", list).removeClass(CLASSES.ACTIVE).index(target(event));
|
||||
$(target(event)).addClass(CLASSES.ACTIVE);
|
||||
$(target(event)).addClass(CLASSES.ACTIVE);
|
||||
}
|
||||
}).click(function(event) {
|
||||
$(target(event)).addClass(CLASSES.ACTIVE);
|
||||
|
@ -591,13 +591,13 @@ $.Autocompleter.Select = function (options, input, select, config) {
|
|||
}).mouseup(function() {
|
||||
config.mouseDownOnSelect = false;
|
||||
});
|
||||
|
||||
|
||||
if( options.width > 0 )
|
||||
element.css("width", options.width);
|
||||
|
||||
|
||||
needsInit = false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function target(event) {
|
||||
var element = event.target;
|
||||
while(element && element.tagName != "LI")
|
||||
|
@ -624,7 +624,7 @@ $.Autocompleter.Select = function (options, input, select, config) {
|
|||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
function movePosition(step) {
|
||||
active += step;
|
||||
if (active < 0) {
|
||||
|
@ -633,13 +633,13 @@ $.Autocompleter.Select = function (options, input, select, config) {
|
|||
active = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
function limitNumberOfItems(available) {
|
||||
return options.max && options.max < available
|
||||
? options.max
|
||||
: available;
|
||||
}
|
||||
|
||||
|
||||
function fillList() {
|
||||
list.empty();
|
||||
var max = limitNumberOfItems(data.length);
|
||||
|
@ -661,7 +661,7 @@ $.Autocompleter.Select = function (options, input, select, config) {
|
|||
if ( $.fn.bgiframe )
|
||||
list.bgiframe();
|
||||
}
|
||||
|
||||
|
||||
return {
|
||||
display: function(d, q) {
|
||||
init();
|
||||
|
@ -713,7 +713,7 @@ $.Autocompleter.Select = function (options, input, select, config) {
|
|||
maxHeight: options.scrollHeight,
|
||||
overflow: 'auto'
|
||||
});
|
||||
|
||||
|
||||
if($.browser.msie && typeof document.body.style.maxHeight === "undefined") {
|
||||
var listHeight = 0;
|
||||
listItems.each(function() {
|
||||
|
@ -726,7 +726,7 @@ $.Autocompleter.Select = function (options, input, select, config) {
|
|||
listItems.width( list.width() - parseInt(listItems.css("padding-left")) - parseInt(listItems.css("padding-right")) );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
},
|
||||
selected: function() {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#admin{
|
||||
text-align: right;
|
||||
vertical-align: top;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
#head{
|
||||
|
@ -46,7 +46,7 @@ a {
|
|||
width: 185px;
|
||||
padding: 5px;
|
||||
top: -20px;
|
||||
position: relative;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.tabs-bar {
|
||||
|
@ -142,11 +142,11 @@ a {
|
|||
}
|
||||
|
||||
.query-box {
|
||||
|
||||
|
||||
}
|
||||
|
||||
.query-boost {
|
||||
|
||||
|
||||
top: 10px;
|
||||
left: 50px;
|
||||
position: relative;
|
||||
|
@ -156,7 +156,7 @@ a {
|
|||
.query-box .inputs{
|
||||
left: 180px;
|
||||
position: relative;
|
||||
|
||||
|
||||
}
|
||||
|
||||
#logo {
|
||||
|
@ -194,13 +194,13 @@ a {
|
|||
}
|
||||
|
||||
.mlt{
|
||||
|
||||
|
||||
}
|
||||
|
||||
.map{
|
||||
float: right;
|
||||
position: relative;
|
||||
top: -25px;
|
||||
top: -25px;
|
||||
}
|
||||
|
||||
.result-document:nth-child(2n+1) {
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
</option>
|
||||
|
||||
</select>
|
||||
</label>
|
||||
</label>
|
||||
|
||||
<input type="hidden" name="group" value="true"/>
|
||||
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
|
||||
<input type="hidden" name="sfield" value="store"/>
|
||||
<input type="hidden" id="spatialFQ" name="fq" value=""/>
|
||||
<input type="hidden" name="queryOpts" value="spatial"/>
|
||||
<input type="hidden" name="queryOpts" value="spatial"/>
|
||||
|
||||
</div>
|
||||
|
||||
|
|
|
@ -77,7 +77,7 @@
|
|||
## Resource Name
|
||||
<div>
|
||||
#if($doc.getFieldValue('resourcename'))
|
||||
Resource name: $filename
|
||||
Resource name: $filename
|
||||
#elseif($url)
|
||||
URL: $url
|
||||
#end
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?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.
|
||||
|
@ -17,17 +17,17 @@
|
|||
* limitations under the License.
|
||||
-->
|
||||
|
||||
<!--
|
||||
<!--
|
||||
Simple transform of Solr query results to HTML
|
||||
-->
|
||||
<xsl:stylesheet version='1.0'
|
||||
xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
|
||||
>
|
||||
|
||||
<xsl:output media-type="text/html" encoding="UTF-8"/>
|
||||
|
||||
<xsl:output media-type="text/html" encoding="UTF-8"/>
|
||||
|
||||
<xsl:variable name="title" select="concat('Solr search results (',response/result/@numFound,' documents)')"/>
|
||||
|
||||
|
||||
<xsl:template match='/'>
|
||||
<html>
|
||||
<head>
|
||||
|
@ -44,7 +44,7 @@
|
|||
</body>
|
||||
</html>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<xsl:template match="doc">
|
||||
<xsl:variable name="pos" select="position()"/>
|
||||
<div class="doc">
|
||||
|
@ -110,7 +110,7 @@
|
|||
</xsl:template>
|
||||
|
||||
<xsl:template match="*"/>
|
||||
|
||||
|
||||
<xsl:template name="css">
|
||||
<script>
|
||||
function toggle(id) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?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.
|
||||
|
@ -17,7 +17,7 @@
|
|||
* limitations under the License.
|
||||
-->
|
||||
|
||||
<!--
|
||||
<!--
|
||||
Simple transform of Solr query results to Atom
|
||||
-->
|
||||
|
||||
|
@ -42,7 +42,7 @@
|
|||
<name>Apache Solr</name>
|
||||
<email>solr-user@lucene.apache.org</email>
|
||||
</author>
|
||||
<link rel="self" type="application/atom+xml"
|
||||
<link rel="self" type="application/atom+xml"
|
||||
href="http://localhost:8983/solr/q={$query}&wt=xslt&tr=atom.xsl"/>
|
||||
<updated>
|
||||
<xsl:value-of select="response/result/doc[position()=1]/date[@name='timestamp']"/>
|
||||
|
@ -51,7 +51,7 @@
|
|||
<xsl:apply-templates select="response/result/doc"/>
|
||||
</feed>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<!-- search results xslt -->
|
||||
<xsl:template match="doc">
|
||||
<xsl:variable name="id" select="str[@name='id']"/>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?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.
|
||||
|
@ -17,7 +17,7 @@
|
|||
* limitations under the License.
|
||||
-->
|
||||
|
||||
<!--
|
||||
<!--
|
||||
Simple transform of Solr query results to RSS
|
||||
-->
|
||||
|
||||
|
@ -44,7 +44,7 @@
|
|||
</channel>
|
||||
</rss>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<!-- search results xslt -->
|
||||
<xsl:template match="doc">
|
||||
<xsl:variable name="id" select="str[@name='id']"/>
|
||||
|
|
|
@ -6,9 +6,9 @@
|
|||
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.
|
||||
|
@ -17,7 +17,7 @@
|
|||
-->
|
||||
|
||||
|
||||
<!--
|
||||
<!--
|
||||
Display the luke request handler with graphs
|
||||
-->
|
||||
<xsl:stylesheet
|
||||
|
@ -190,7 +190,7 @@
|
|||
<div class="histogram">
|
||||
<xsl:attribute name="style">background-color: <xsl:value-of select="$fill"/>; width: <xsl:value-of select="$bar_width"/>px; height: <xsl:value-of select="($iheight*number(.)) div $max"/>px;</xsl:attribute>
|
||||
</div>
|
||||
</td>
|
||||
</td>
|
||||
</xsl:for-each>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<!--
|
||||
<!--
|
||||
* 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.
|
||||
|
@ -30,7 +30,7 @@
|
|||
<xsl:apply-templates select="response/result/doc"/>
|
||||
</add>
|
||||
</xsl:template>
|
||||
|
||||
|
||||
<!-- Ignore score (makes no sense to index) -->
|
||||
<xsl:template match="doc/*[@name='score']" priority="100">
|
||||
</xsl:template>
|
||||
|
@ -47,7 +47,7 @@
|
|||
<!-- Flatten arrays to duplicate field lines -->
|
||||
<xsl:template match="doc/arr" priority="100">
|
||||
<xsl:variable name="fn" select="@name"/>
|
||||
|
||||
|
||||
<xsl:for-each select="*">
|
||||
<xsl:element name="field">
|
||||
<xsl:attribute name="name"><xsl:value-of select="$fn"/></xsl:attribute>
|
||||
|
|
|
@ -18,14 +18,14 @@
|
|||
|
||||
<!--
|
||||
All (relative) paths are relative to the installation path
|
||||
|
||||
|
||||
persistent: Save changes made via the API to this file
|
||||
sharedLib: path to a lib directory that will be shared across all cores
|
||||
-->
|
||||
<solr persistent="false">
|
||||
|
||||
<!--
|
||||
adminPath: RequestHandler path to manage cores.
|
||||
adminPath: RequestHandler path to manage cores.
|
||||
If 'null' (or absent), cores will not be manageable via request handler
|
||||
-->
|
||||
<cores adminPath="/admin/cores" defaultCoreName="collection1">
|
||||
|
|
|
@ -17,11 +17,11 @@
|
|||
-->
|
||||
|
||||
<!--
|
||||
This is an example of a simple "solr.xml" file for configuring one or
|
||||
more Solr Cores, as well as allowing Cores to be added, removed, and
|
||||
This is an example of a simple "solr.xml" file for configuring one or
|
||||
more Solr Cores, as well as allowing Cores to be added, removed, and
|
||||
reloaded via HTTP requests.
|
||||
|
||||
More information about options available in this configuration file,
|
||||
More information about options available in this configuration file,
|
||||
and Solr Core administration can be found online:
|
||||
http://wiki.apache.org/solr/CoreAdmin
|
||||
-->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue