lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <>
Subject [jira] Commented: (SOLR-994) EnumeratedEntityTransformer
Date Sat, 02 May 2009 19:00:30 GMT


Shalin Shekhar Mangar commented on SOLR-994:

bq. one extra addition which I can think of is put an implicit variable 'rowsFetchedCount
' into the variableresolver so that it can be directly used .

With SOLR-989 Context exposes the statistics map so rowCount is already available. Should
we close this issue?

> EnumeratedEntityTransformer
> ---------------------------
>                 Key: SOLR-994
>                 URL:
>             Project: Solr
>          Issue Type: New Feature
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.4
>            Reporter: Jared Flatow
>            Assignee: Shalin Shekhar Mangar
>            Priority: Minor
>             Fix For: 1.4
>         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"
> This allows for fetching entities in chunks until there are < chunkSize returned.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message