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

Minto van der Sluis updated STANBOL-938:
----------------------------------------

    Attachment: Prevent duplicate cache entries on bundle activation.patch

This patch only uses appropriate triples ( _ _ Symbols.Recipe) to build the 
internal on bundle activation.

This patch also contains the changes for STANBOL-937
                
> Bundle activation creates recipe id cache with duplicates
> ---------------------------------------------------------
>
>                 Key: STANBOL-938
>                 URL: https://issues.apache.org/jira/browse/STANBOL-938
>             Project: Stanbol
>          Issue Type: Bug
>          Components: Rules
>            Reporter: Minto van der Sluis
>         Attachments: Prevent duplicate cache entries on bundle 
> activation.patch
>
>
> On bundle activation every triple in the recipe index is used to populate the 
> in-memory recipe id cache (recipes). This cache initialization does not take 
> the actual index structure into account.The index contains not only recipe 
> id's but also recipe descriptions. As a result the cache will contain 
> duplicate entries after initialization.
> Description related triples in the index should not be used for cache 
> construction. Or even better only Symbols.Recipe (Object) triples should be 
> used.

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

Reply via email to