Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-4210

Synonym Provider with MemoryFileSystem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Bug
    • 2.15.4
    • None
    • None
    • None

    Description

      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:

          <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>
      

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            davide_faroldi Davide Faroldi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: