You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Alexandre Rafalovitch (Jira)" <ji...@apache.org> on 2019/11/04 21:43:00 UTC

[jira] [Resolved] (SOLR-13889) How to index from zip file( .gz ) by using

     [ https://issues.apache.org/jira/browse/SOLR-13889?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexandre Rafalovitch resolved SOLR-13889.
------------------------------------------
    Resolution: Invalid

This is not a valid place to ask this question. It should be asked on the Solr Users mailing list.

Jira is for bugs and new features.

Also, DIH is not being developed further. There are other solutions or even SolrJ directly.

> 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
>            Priority: Major
>
> 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: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org