Error in fcrepo-message-consumer, when trying to index binary resources

55 views
Skip to first unread message

jgu...@gmail.com

unread,
Feb 17, 2015, 9:15:54 AM2/17/15
to fedor...@googlegroups.com
Hi,

I keep getting an error in fcrepo-message-consumer, when trying to index binary resources.

What I did:

1. Went to web-Interface http://localhost:8080/rest
2. On the right side created a new binary child resource (Identifier "Testfile")
3. Updated the resource by pasting following sparql in the Update Properties input-field:



PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX indexing: <http://fedora.info/definitions/v4/indexing#>
INSERT { <>
indexing:hasIndexingTransformation "default";
rdf:type indexing:Indexable;
dc:title "Some title"
}
WHERE {}



4. Clicked "Update"

Now I get these messages from fcrepo-message-consumer:

DEBUG 07:40:41.228 (IndexerGroup) Retrieving named fields for: http://localhost:8080/rest/Testfile, (may be cached) to index to org.fcrepo.indexer.solr.SolrIndexer@55517531...
DEBUG 07:40:41.228 (NamedFieldsRetriever) Retrieving RDF representation for: http://localhost:8080/rest/Testfile
INFO 07:40:41.228 (NamedFieldsRetriever) Found no property locating LDPath transform for: http://localhost:8080/rest/Testfile, will not retrieve transformed content.
ERROR 07:40:41.228 (IndexerGroup) Failed to retrieve indexable content:could not find transform property!
ERROR 07:40:41.228 (IndexerGroup) Received update for: http://localhost:8080/rest/Testfile but was unable to retrieve content for update to indexer:org.fcrepo.indexer.solr.SolrIndexer@55517531!

Nothing is updated in Solr.

Same SPARQL works fine for containers.

This also works fine:

curl "http://localhost:8080/rest/Testfile/fcr:transform/default"

Configuration:
Fedora 4.1.0.; Message-Consumer 4.1.0; Solr 4.10.3

I did a fresh install.

Any help is greatly appreciated.

Jens


Andrew Woods

unread,
Feb 18, 2015, 2:16:11 PM2/18/15
to fedor...@googlegroups.com
Hello Jens,
Indeed, this appears to be a bug in the fcrepo-message-consumer logic that looks for the transform property on Binary Resources.
The issue is being tracked in JIRA:
Thanks,
Andrew

--
You received this message because you are subscribed to the Google Groups "Fedora Tech" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fedora-tech...@googlegroups.com.
To post to this group, send email to fedor...@googlegroups.com.
Visit this group at http://groups.google.com/group/fedora-tech.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages