lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jrusnak <>
Subject Getting Solr 4 to index the simple names of files
Date Thu, 26 Jun 2014 21:02:37 GMT
I am building an enterprise search Engine with Solr 4.8.1 (and the AJAX solr
interface, not relevant to this question though) - in doing so, I am
attempting to display the file names of each indexed document in my GUI
search results.

In my gui, I can successfully display any field that is in Solr's Schema.xml
file (title, author, id, resourcename last_modified etc.). I cannot,
however, find a field in the schema.xml that holds the name of the file
(such as for the file Test.pdf the name "Test" or for Example.docx the word

The closest field I can find is "resourcename" which displays the entire
file path in my system (ex.
when all I want to display is filename.docx)

(1) How do I tell solr to index the name of a file? or (2) Is there a field
that cover the file name that I am just missing?

Sincerest thanks!

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message