oodt-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Cinquini (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OODT-533) Allow SolrIndexer to delete products by name
Date Tue, 06 Nov 2012 21:10:12 GMT

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

Luca Cinquini resolved OODT-533.
--------------------------------

    Resolution: Fixed

Now the SolrIndexer has anew method, indexProductByName(), which will retrieve a product by
name from the FM Catalog and send it to Solr. Optionally, the product can be first deleted,
by name, from the Solr catalog.

For this feature to work, the configuration file indexer.properties must include a mapping
for the standard CAS field "CAS.ProductName":

# Must map this field to enable deletion of Solr records by name
map.CAS.ProductName=ProductName


                
> Allow SolrIndexer to delete products by name
> --------------------------------------------
>
>                 Key: OODT-533
>                 URL: https://issues.apache.org/jira/browse/OODT-533
>             Project: OODT
>          Issue Type: Improvement
>          Components: file manager
>    Affects Versions: 0.4
>            Reporter: Luca Cinquini
>            Assignee: Luca Cinquini
>             Fix For: 0.5
>
>
> Let's consider a scenario where metadata is transferred from the File Manager catalog
to a Solr Index via the SolrIndexer tool.
> If a product is deleted from the File Manager and then re-ingested, it will end up as
a new product with a different id in the FM catalog. Upon re-ingestion of the product into
Solr, the old Solr record must be searched for and deleted by product name, as the original
id value is lost.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message