Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • org.apache.oodt.cas.filemgr.catalog.solr.productIdGenerator=org.apache.oodt.cas.filemgr.catalog.solr.UUIDProductIdGenerator
    • Optional: controls the algorithm for generating the product unique identifier when it is first stored in the catalog.
    • Default: UUIDProductIdGenerator: this class generates a new UUID every time a product is indexed.
    • Alternative out of the box implementation: NameProductIdGenerator: this class will assign the product an identifier equal to the product name.
    • Alternatively: provide any custom implementation of the ProductIdGenerator interface.
  • org.apache.oodt.cas.filemgr.catalog.solr.productSerializer=org.apache.oodt.cas.filemgr.catalog.solr.DefaultProductSerializer
    • Optional: controls the format of the documents ingested into Solr, i.e. how a CAS product object is transformed into one (or more) Solr records; and vice-versa how CAS products are queried back from the Solr index
    • Default: DefaultProductSerializer: creates one Solr record for each incoming CAS product:
      • the product core attributes (id, name, type) are converted to Solr fields starting with "CAS." ("CAS.ProductId", "CAS.ProductName", ....)
      • the product identifier is used again to assign the Solr record identifier (i.e. "id" and "CAS.ProductId" have the same value)
      • the product references are converted into Solr fields starting with ("CAS.Reference..." or "CAS.RootReference...")
      • the product metadata attributes are converted into Solr fields with the same name and number of valuvalues
    • Alternative: any custom implementation of the ProductSerializer interface can be used.

...