Jon Scharff created SOLR-7445:
---------------------------------

             Summary: field default values
                 Key: SOLR-7445
                 URL: https://issues.apache.org/jira/browse/SOLR-7445
             Project: Solr
          Issue Type: New Feature
          Components: contrib - Solr Cell (Tika extraction)
            Reporter: Jon Scharff
            Priority: Minor


It appears that in previous versions, literal.<fieldname> was used as a default 
value, and a parsed value overrode it. I understand why one might want to be 
able to override tika-parsed values, but I believe there are equally valid use 
cases for providing default values. Defaults could be provided with a 
default.<fieldname> parameter.

For example, in office documents and pdfs, a modified field is provided. 
However, this is not included in all such files. It would be useful to be able 
to provide the modified date from the file system to be used only in cases 
where the date is not in the metadata of the file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to