Uploaded image for project: 'Rya'
  1. Rya
  2. RYA-265

Confusion: geospatial indexing, need to use GeoRyaSailFactory NOT RyaSailFactory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • sail
    • None
    • Configuration

    Description

      A user reported that his Rya installation was not creating geoindexing index files. They had turned on the Maven profile "-P geoindexing", and enabled sc.use_geo in the configuration but nothing worked.

      Activate geofunctions by doing the following:
      maven profile enabled: "mvn ... -P geoindexing"
      Configure enable:
      conf.set(ConfigUtils.USE_GEO, "true");
      OR
      — config.xml
      ... <property>
      <name>sc.use_geo</name>
      <value>true</value>
      </property> ...

      The cause: using RyaSailFactory.

      The Fix:
      Replace: RyaSailFactory
      With: GeoRyaSailFactory

      • Perhaps we can check for the Geo index config option being TRUE but the non-geo factory is used and throw an Error or Warning.
      • Maybe the documentation needs improvement.
      • Place a comment where Geo indexing is turned on. In the pom.xml and possibly in the configuration examples.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dlotts David Lotts
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: