jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davide Faroldi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (JCR-4210) Synonym Provider with MemoryFileSystem
Date Wed, 08 Nov 2017 13:52:00 GMT
Davide Faroldi created JCR-4210:
-----------------------------------

             Summary: Synonym Provider with MemoryFileSystem
                 Key: JCR-4210
                 URL: https://issues.apache.org/jira/browse/JCR-4210
             Project: Jackrabbit Content Repository
          Issue Type: Bug
    Affects Versions: 2.15.4
            Reporter: Davide Faroldi


I don't know if it's a bug, but I have to use synonym provider. The problem is that in development
mode, we use MemoryFileSystem and I don't know how/where I have to put my "synonym.properties"
file.

This is a part of my configuration:

{code:xml}
    <SearchIndex class="org.apache.jackrabbit.core.query.lucene.SearchIndex">
      ............
      <param name="synonymProviderClass" value="org.apache.jackrabbit.core.query.lucene.PropertiesSynonymProvider"
/>
      <param name="synonymProviderConfigPath" value="synonyms.properties" />
      <FileSystem class="org.apache.jackrabbit.core.fs.mem.MemoryFileSystem">
      </FileSystem>
{code}

Documentation says:
_"synonymProviderConfigPath: The path to the synonym provider configuration file. This path
interpreted relative to the path parameter. If there is a FileSystem element inside the SearchIndex
element, then this path is interpreted relative to the root path of the FileSystem. Whether
this parameter is mandatory depends on the synonym provider implementation. The default value
is null which means no class set."_

Best,
Davide



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message