[
https://issues.apache.org/jira/browse/STANBOL-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Amindri Udugala updated STANBOL-1412:
-------------------------------------
Attachment:
Fixing_the_final_entity_id_when_using_the_default_namespace_prefix.patch
> While indexing final entity Id drops the first character when using the
> default namespace
> -----------------------------------------------------------------------------------------
>
> Key: STANBOL-1412
> URL: https://issues.apache.org/jira/browse/STANBOL-1412
> Project: Stanbol
> Issue Type: Bug
> Components: Entityhub
> Reporter: Amindri Udugala
> Priority: Minor
> Labels: indexing
> Attachments:
> Fixing_the_final_entity_id_when_using_the_default_namespace_prefix.patch
>
>
> LineBasedEntityIterator.parseEntityFromLine(String) drops the frist character
> of the entity when creating the whole entity id(including the namespace) ,
> when using the the default namespace.
> The entity id is extracted from the incoming links.txt
> Debug log would be as follows...
> 09:31:01,945 [Indexing: Entity Source Reader Deamon] DEBUG
> source.LineBasedEntityIterator - > line = 1834 m.0p79gt5
> 09:31:01,945 [Indexing: Entity Source Reader Deamon] DEBUG
> source.LineBasedEntityIterator - - id = m.0p79gt5
> 09:31:01,945 [Indexing: Entity Source Reader Deamon] DEBUG
> source.LineBasedEntityIterator - - entity =
> http://rdf.freebase.com/ns/.0p79gt5
> 09:31:01,945 [Indexing: Entity Source Reader Deamon] DEBUG
> source.LineBasedEntityIterator - - score =
> 09:31:01,945 [Indexing: Entity Source Reader Deamon] DEBUG
> jenatdb.RdfIndexingSource - No Statements found for id
> http://rdf.freebase.com/ns/.0p79gt5 (Node:
> http://rdf.freebase.com/ns/.0p79gt5)!
> 09:31:01,945 [Indexing: Entity Source Reader Deamon] DEBUG
> impl.EntityIdBasedIndexingDaemon - unable to get Data for Entity
> http://rdf.freebase.com/ns/.0p79gt5 (score=norm:0.4768925|orig:1834.0)
> 09:31:01,945 [Indexing: Entity Source Reader Deamon] DEBUG
> source.LineBasedEntityIterator - > line = 1834 m.01xs04m
> 09:31:01,945 [Indexing: Entity Source Reader Deamon] DEBUG
> source.LineBasedEntityIterator - - id = m.01xs04m
> 09:31:01,945 [Indexing: Entity Source Reader Deamon] DEBUG
> source.LineBasedEntityIterator - - entity =
> http://rdf.freebase.com/ns/.01xs04m
> 09:31:01,945 [Indexing: Entity Source Reader Deamon] DEBUG
> source.LineBasedEntityIterator - - score =
> 09:31:01,945 [Indexing: Entity Source Reader Deamon] DEBUG
> jenatdb.RdfIndexingSource - No Statements found for id
> http://rdf.freebase.com/ns/.01xs04m (Node:
> http://rdf.freebase.com/ns/.01xs04m)!
> 09:31:01,946 [Indexing: Entity Source Reader Deamon] DEBUG
> impl.EntityIdBasedIndexingDaemon - unable to get Data for Entity
> http://rdf.freebase.com/ns/.01xs04m (score=norm:0.4768925|orig:1834.0)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)