You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Julian Reschke (Jira)" <ji...@apache.org> on 2021/04/29 12:57:00 UTC

[jira] [Resolved] (JCR-4210) Synonym Provider with MemoryFileSystem

     [ https://issues.apache.org/jira/browse/JCR-4210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Reschke resolved JCR-4210.
---------------------------------
    Resolution: Not A Bug

> 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
>            Priority: Major
>
> 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
(v8.3.4#803005)