You can write a custom bit of update code that lives on the Solr server that would essentially copy the filename field to title if title wasn't present.
You could write a SolrJ program that does the Tika processing and add it before you sent the doc, see: http://searchhub.org/2012/02/14/indexing-with-solrj/ Best, Erick On Mon, Oct 28, 2013 at 12:12 PM, Bayu Widyasanyata <bwidyasany...@gmail.com > wrote: > Hi, > > I just found that some of PDFs files crawled has no (empty) 'title' > metadata. > How to define or fetch the filename, and use it (filename) replacing empty > 'title' field? > > I didn't found "filename" field on schema.xml, and don't know how to make > conditional for above conditions (if title is empty then ....). > > Thanks in advance. > > -- > wassalam, > [bayu] >