Suman Pal created SOLR-13889:
--------------------------------

             Summary: How to index from zip file( .gz ) by using 
<requestHandler name="/dataimport" class="solr.DataImportHandler">
                 Key: SOLR-13889
                 URL: https://issues.apache.org/jira/browse/SOLR-13889
             Project: Solr
          Issue Type: Wish
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Suman Pal


How to index from zip file( .gz ) by using <requestHandler name="/dataimport" 
class="solr.DataImportHandler">

at present I able to index like below code:

<?xml version="1.0" encoding="utf-8"?>
<dataConfig>
 <dataSource type="BinFileDataSource" name="ds1" />
 <dataSource type="FileDataSource" encoding="UTF-8" name="fds" />
 <document>
 <entity name="e1" processor="XPathEntityProcessor" stream="true" 
forEach="/reel/image" url="C:\Users\test\xm.xml" rootEntity="true" 
dataSource="fds">
 <field column="filename" xpath="/reel/image/filename" name="filename" />

</entity>
 </document>
</dataConfig>

 

and my xml.xml as follows:

<reel>
 <image>
 <filename>silver_city_review_usa_iowa_silver_city_18960227_english_1</filename>

 </image>

</reel>

 

----------------------------------------------

My requirement is there any way    xml.xml file will present in compressed file 
and solr able to index from compressed file

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to