Map tika attribute to be the id in Solr Cell

2009-05-28 Thread Eric Pugh
Hi all, I want to use the Tika attribute stream_name as my unique key, which I can do if I specify uniqueKeystream_name/uniqueKey/ and run curl: curl http://localhost:8983/solr/karaoke/update/extract?ext.def.fl=text \ext.capture=stream_name\ext.map.stream_name=stream_name -F

Re: Map tika attribute to be the id in Solr Cell

2009-05-28 Thread Grant Ingersoll
On May 28, 2009, at 8:47 PM, Eric Pugh wrote: Grant, you are quite right! I was too far down in the weeds, and didn't need to be doing all that crazyness. And I don't actually see the metadata fields. I would expect to however! What revision are you running? The following was added

Re: Map tika attribute to be the id in Solr Cell

2009-05-28 Thread Eric Pugh
Grant, I went back and tried to recreate my bug using the example app. And indexing example/site/tutorial.pdf I get the error with this command: budapest:site epugh$ curl http://localhost:8983/solr/update/extract?ext.def.fl=text \ext.metadata.prefix=metadata_\ext.map.stream_name=id -F

Re: Map tika attribute to be the id in Solr Cell

2009-05-28 Thread Eric Pugh
Updating to latest and greatest added that data, thank you for the pointer. Too many copies of Solr 1.4 trunk, and I'd neglected to update. However, the issue with the mapping not working with the ext.metadata.prefix seems to remain: budapest:site epugh$ curl