Hello,

I am using the following code to read text files

<dataSource type="FileDataSource" />
  
  <document>
    <entity name="f" processor="FileListEntityProcessor"
baseDir="F:\Work\Lucene\Solr\Solr Arabic Book" fileName=".txt"
recursive="true" rootEntity="false">
      <entity name="x" processor="LineEntityProcessor"
url="${f.fileAbsolutePath}">
        <field column="rawLine" name="category_name" />
        <field column="???" name="id" />
      </entity>
    </entity>
  </document>

it is working perfect except the id value, how can I use file name (or any
value) as value for uniqeuID field



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Provide-value-to-uniqueID-tp4140712.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to