Solution found:

I was using the SimplePostTool utility to crawl and post documents to Solr
on the default example settings (except for having added a few file types to
be indexed).

Instead of finding a field that exactly passed the name of the document, I
used the resourcename text field that was already being parsed.

In my javascript in the AJAX interface I then cut the resourcename down into
simply a file name (and linked it to the corresponding file) with:

var fullFileName = doc.resourcename;
var output = '<div>
' + fullFileName.substring(afterLastBackslash)  + ' < + >  
';

Thank you for the help!



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Getting-Solr-4-to-index-the-simple-names-of-files-tp4144318p4151227.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to