Erik
I tried your solution.. but it still not open the files in solr results, I
am pasting my files.. take a look is somthing can be corrected :
data-config.xml:
<dataConfig>
<dataSource type="BinFileDataSource" name="bin"/>
<document>
<entity name="f" processor="FileListEntityProcessor"
recursive="true"
rootEntity="false"
dataSource="null" baseDir="C:\solr-home\conf"
fileName=".*\.(DOC)|(PDF)|(XML)|(xml)|(JPEG)|(jpeg)|(JPG)|(jpg)|(TXT)|(txt)|(ZIP)|(zip)|(pdf)|(doc)"
onError="skip">
<entity name="tika-test" processor="TikaEntityProcessor"
url="${f.fileAbsolutePath}" format="text" dataSource="bin" onError="skip">
<field column="Author" name="author" meta="true"/>
<field column="title" name="title" meta="true"/>
<field column="text" name="text"/>
<field column="file" name="fileName"/>
<field column="artist" name="artist"
meta="true"/>
<field column="image_description"
name="image_description" meta="true"/>
</entity>
<field column="file" name="name"/>
<field column="file" name="fileName"/>
<field column="fileAbsolutePath" name="links"/>
</entity>
</document>
</dataConfig>
Solrconfig.xml:
<requestHandler name="/admin/file"
class="solr.admin.ShowFileRequestHandler" >
<lst name="invariants">
<str name="hidden">synonyms.txt</str>
<str name="hidden">anotherfile.txt</str>
</lst>
</requestHandler>
Please suggest.
thanks
Jagdish
--
View this message in context:
http://lucene.472066.n3.nabble.com/Solritas-issue-in-opening-files-tp3300836p3361588.html
Sent from the Solr - User mailing list archive at Nabble.com.