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

Alexandre Rafalovitch resolved SOLR-994.
----------------------------------------
    Resolution: Won't Fix

> EnumeratedEntityTransformer
> ---------------------------
>
>                 Key: SOLR-994
>                 URL: https://issues.apache.org/jira/browse/SOLR-994
>             Project: Solr
>          Issue Type: New Feature
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.4
>            Reporter: Jared Flatow
>            Priority: Minor
>             Fix For: 6.0, 4.9
>
>         Attachments: SOLR-994.patch
>
>
> An EnumeratedEntityTransformer gives the Nth entity an accessible 
> ${<entity>.n} == N. In addition, the entity may specify a chunkSize 
> attribute, which will cause the chunkSize'th entity to gain the attribute 
> $hasMore=true. A template for a nextUrl may also be specified on the entity, 
> that is different from the url template.
> Consider an API:
> http://host:port/path/to/resource?maximum_number_returned=50&return_start_index=0
> an entity could specify:
> <entity name="myEntity" processor="XPathEntityProcessor" 
> transformer="EnumeratedEntityTransformer" 
> url="http://host:port/path/to/resource?maximum_number_returned=50&return_start_index=${myEntity.n}";
>  chunkSize=50>...</entity>
> This allows for fetching entities in chunks until there are < chunkSize 
> returned.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to