I found the answer from source code.
Using a Collection as value.
Thanks any way
2011/4/1 kun xiong
> Stefan,
>
> Thanks very much for your quick reply.
>
> Actually I have to write a CustomDataImporter class to full-import data and
> index them all.
>
> So it should be done in java code and s
Stefan,
Thanks very much for your quick reply.
Actually I have to write a CustomDataImporter class to full-import data and
index them all.
So it should be done in java code and schema.xml.
When I write a CustomDataImporter, I have to implement a nextRow() method,
which return a map. And also s
Kun,
it should be enough to use the same field second time, like this:
value2
Regards
Stefan
On Thu, Mar 31, 2011 at 11:39 AM, kun xiong wrote:
> Since the interface of DataImporter return a Map, I can't put multi value
> for a same field, right?
>
> Example:
>
> I write a class extending Data
Since the interface of DataImporter return a Map, I can't put multi value
for a same field, right?
Example:
I write a class extending DataImporter, and want to index {"value1",
"value2"} for field "name".
How should I do?
Many thanks.
Kun